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-characterrepresents single-byte characters.
extended-characterrepresents double-byte characters.
characterwas similar to the new data type
base-character. Now, the data type
characteris a union of the types
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