Chapter 13. Characters [CLHS-13]

Table of Contents

13.1. Character Scripts [CLHS-13.1.2.1]
13.2. Character Attributes [CLHS-13.1.3]
13.2.1. Input Characters
13.3. Graphic Characters [CLHS-13.1.4.1]
13.4. Alphabetic Characters [CLHS-13.1.4.2]
13.5. Characters With Case [CLHS-13.1.4.3]
13.5.1. Function EXT:CHAR-INVERTCASE
13.5.2. Case of Implementation-Defined Characters [CLHS-13.1.4.3.4]
13.6. Numeric Characters [CLHS-13.1.4.4]
13.7. Ordering of Characters [CLHS-13.1.6]
13.8. Treatment of Newline during Input and Output [CLHS-13.1.8]
13.9. Character Encodings [CLHS-13.1.9]
13.10. Documentation of Implementation-Defined Scripts [CLHS-13.1.10]
13.11. The Characters Dictionary [CLHS-13.2]
13.11.1. Function CHAR-CODE
13.11.2. Type BASE-CHAR
13.11.3. Function EXT:CHAR-WIDTH
13.12. Platform-Dependent Characters
13.13. Obsolete Constants

The characters are ordered according to a superset of the ASCII character set.

Platform Dependent: Only in CLISP built with compile-time flag UNICODE
More precisely, CLISP uses the 21-bit UNICODE 3.2 character set (ISO 10646, also known as UCS-4).
Platform Dependent: UNIX (except NeXTstep), Win32 platforms only, and only in CLISP built without compile-time flag UNICODE.

More precisely, CLISP uses the ISO Latin-1 (ISO 8859-1) character set:

 #x0#x1#x2#x3#x4#x5#x6#x7#x8#x9#xA#xB#xC#xD#xE#xF
#x00********************************
#x10********************************
#x20 !"#$%&'()*+,-./
#x300123456789:;<=>?
#x40@ABCDEFGHIJKLMNO
#x50PQRSTUVWXYZ[\]^_
#x60`abcdefghijklmno
#x70pqrstuvwxyz{|}~ 
#x80                
#x90                
#xA0 ¡¢£¤¥¦§¨©ª«¬­®¯
#xB0°±²³´µ·¸¹º»¼½¾¿
#xC0ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ
#xD0ÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞß
#xE0àáâãäåæçèéêëìíîï
#xF0ðñòóôõö÷øùúûüýþÿ

Here ** are control characters, not graphic characters. (The characters left blank here cannot be represented in this character set).

Platform Dependent: NeXTstep platforms only, and only in CLISP built without compile-time flag UNICODE.

More precisely, CLISP uses the NeXTstep character set:

 #x0#x1#x2#x3#x4#x5#x6#x7#x8#x9#xA#xB#xC#xD#xE#xF
#x00********************************
#x10********************************
#x20 !"#$%&'()*+,-./
#x300123456789:;<=>?
#x40@ABCDEFGHIJKLMNO
#x50PQRSTUVWXYZ[\]^_
#x60`abcdefghijklmno
#x70pqrstuvwxyz{|}~ 
#x80 ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏ
#x90ÐÑÒÓÔÕÖÙÚÛÜÝÞµ×÷
#xA0©¡¢£¥ƒ§¤«
#xB0®·¦»¬¿
#xC0¹ˋ´ˆ˜¯˘˙¨²˚¸³˝˛ˇ
#xD0±¼½¾àáâãäåçèéêë
#xE0ìÆíªîïðñŁØŒºòóôõ
#xF0öæùúûıüýłøœßþÿ  

Here ** are control characters, not graphic characters. (The characters left blank here cannot be represented in this character set).

Table 13.1. Standard characters

charactercode
#\Space#x20
#\Newline#x0A

Table 13.2. Semi-standard characters

charactercode
#\Backspace#x08
#\Tab#x09
#\Linefeed#x0A
#\Page#x0C
#\Return#x0D

#\Newline is the line terminator.

Table 13.3. Additional Named Characters

charactercode
#\Null#x00
#\Bell#x07
#\Escape#x1B

Table 13.4. Additional syntax for characters with code from #x00 to #x1F:

charactercode
#\^@#x00
#\^A#\^Z#x01#x1A
#\^[#x1B
#\^\#x1C
#\^]#x1D
#\^^#x1E
#\^_#x1F

See also Section 2.6.1, “Sharpsign Backslash [CLHS-2.4.8.1]”.


These notes document CLISP version 2.41Last modified: 2006-10-13