3 Using Characters and Strings
In this release of Liquid Common Lisp, a character object can contain up to two bytes of character data. The larger size allows you to use characters from multiple coded character sets that contain more elements than could previously be represented.
In this release of Liquid Common Lisp, as in previous ones, bits and font attributes of characters have been retained as an extension to Common Lisp. Each character object has three attributes. The code attribute is the numerical encoding of the character, the bits attribute associates extra flags with the character, and the font attribute specifies the style of a character's glyph.
To accommodate the change in character formats, the character data type structure has changed as follows:
base-character
represents single-byte characters.extended-character
represents double-byte characters.character
was similar to the new data typebase-character
. Now, the data type character
is a union of the typesbase-character
andextended-character
.The following sections provide more information about the new character types, how to use them, and their effect on character operations.
Generated with Harlequin WebMaker