Function code-char

Syntax:

code-char code char-p

Arguments and Values:

code—a character code.

char-p—a character or nil.

Description:

13.3.0 6Returns 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

13.3.0 7 Removed per suggestion of Barmar -- used old-style bits/fonts.

Affected By:

The implementation's character encoding.

Exceptional Situations:

None.

See Also:

char-code

Notes: