3.1.4 Changes to Common Lisp character operations

3.1.4.1 Changes to support double-byte characters

The Common Lisp function file-length, applied to a DBCS stream, returns the number of bytes, rather than the number of characters, in the file.

Each of the following predicates returnsnil when applied to an object that is of typeextended-character.

alpha-char-p
alphanumeric-p
both-case-p
digit-char-p
lower-case-p
upper-case-p 

The value of the constant char-code-limit is now 65,536 instead of 256.

The predicatecharacterp now takes an optional argument that specifies a character repertoire. See the reference page for characterp for more information.

The predicate graphic-char-p considers all extended characters to be graphic characters.


International Character Sets - 9 SEP 1996

Generated with Harlequin WebMaker