3.1.4 Changes to Common Lisp character operations
The functionchar-bit
char-bits
char-bits-limit
char-control-bit
char-font
char-font-limit
char-hyper-bit
char-meta-bit
char-mouse-bit
char-super-bit
int-char
make-char
set-char-bit
string-char-p
char-code
returns the non-negative integer that encodes its character argument. It ignores bits and font attributes. The function code-char
takes an optional bits argument in addition to its code argument followed by an optional font argument.
The function char-int
returns the non-negative integer that encodes its character argument. If the bits and font attributes of a character are 0, the results ofchar-int
andchar-code
are the same.
The optional font argument to the function digit-char
has been retained as an extension to Common Lisp.
Characters within a particular character set are compared by using their character external code according to the ordering given by Figure 3.1 on page 18.
Character comparison operations treat bits and font attributes as follows:
char=
,char/=
,char<
,char>
,char<=
, andchar>=
compare bits and font attributes. If characters agree in their bits and font attributes, they are compared according to their code attributes.char-equal
,char-not-equal
,char-lessp
,char-greaterp
,char-not-greaterp
, andchar-not-lessp
ignore differences in bits and font attributes.Generated with Harlequin WebMaker