Next: Strings, Previous: Variables, Up: Dictionary [Contents][Index]
Remember that CMUCL’s characters are only 16-bits long but Unicode codepoints are up to 21 bits long. Hence there are codepoints that cannot be represented via Lisp characters. Operating on individual characters is not recommended. Operations on strings are better. (This would be true even if CMUCL’s characters could hold a full Unicode codepoint.)
For the comparison, the characters are converted to lowercase and
the corresponding char-code
are compared.
Returns non-nil
if the Unicode category is a letter category.
Returns non-nil
if the Unicode category is a letter category or an ASCII
digit.
&optional
radix ¶Only recognizes ASCII digits (and ASCII letters if the radix is larger than 10).
Returns non-nil
if the Unicode category is a graphic category.
Returns non-nil
if the Unicode category is an uppercase
(lowercase) character.
Returns non-nil
if the Unicode category is a titlecase character.
Returns non-nil
if the Unicode category is an uppercase,
lowercase, or titlecase character.
The Unicode uppercase (lowercase) letter is returned.
The Unicode titlecase letter is returned.
If possible the name of the character char is returned. If
there is a Unicode name, the Unicode name is returned, except
spaces are converted to underscores and the string is capitalized
via string-capitalize
. If there is no Unicode name, the
form #\U+xxxx
is returned where “xxxx” is the
char-code
of the character, in hexadecimal.
The inverse to char-name
. If no character has the name
name, then nil
is returned. Unicode names are not
case-sensitive, and spaces and underscores are optional.
Next: Strings, Previous: Variables, Up: Dictionary [Contents][Index]