CLCS
Function

code-char

code-char codechar-p

Arguments and Values

codea character code.
char-pa character or nil.

Description

Returns a character with the code attribute given by code. If no such character exists and one cannot be created, nil is returned.

Examples

(code-char 65.) ⇒  #\A  ;in an implementation using ASCII codes
(code-char (char-code #\Space)) ⇒  #\Space  ;in any implementation

Affected By

The implementation’s character encoding.

See Also

char-code

Notes