"ASCII" stands for "American Standard Code for Information Interchange". The ASCII standard is a seven-bit code published by the United States of America Standards Institute (USASI) in 1968. The ASCII encoding forms the first half of ISO-8859-1 (Latin1) which in turn forms the first page of ISO 10646 (Unicode).
The Scheme 48 procedures
char->ascii
and
ascii->char
give access to the ASCII encoding.
n10 | n16 | Unicode name | n10 | n16 | Unicode name | ||
0 | 0 | NUL | null | 64 | 40 | @ | commercial at |
1 | 1 | SOH | start of heading | 65 | 41 | A | latin capital letter a |
2 | 2 | STX | start of text | 66 | 42 | B | latin capital letter b |
3 | 3 | ETX | end of text | 67 | 43 | C | latin capital letter c |
4 | 4 | EOT | end of transmission | 68 | 44 | D | latin capital letter d |
5 | 5 | ENQ | enquiry | 69 | 45 | E | latin capital letter e |
6 | 6 | ACK | acknowledge | 70 | 46 | F | latin capital letter f |
7 | 7 | BEL | bell | 71 | 47 | G | latin capital letter g |
8 | 8 | BS | backspace | 72 | 48 | H | latin capital letter h |
9 | 9 | HT | horizontal tabulation | 73 | 49 | I | latin capital letter i |
10 | A | LF | line feed | 74 | 4A | J | latin capital letter j |
11 | B | VT | vertical tabulation | 75 | 4B | K | latin capital letter k |
12 | C | FF | form feed | 76 | 4C | L | latin capital letter l |
13 | D | CR | carriage return | 77 | 4D | M | latin capital letter m |
14 | E | SO | shift out | 78 | 4E | N | latin capital letter n |
15 | F | SI | shift in | 79 | 4F | O | latin capital letter o |
16 | 10 | DLE | data link escape | 80 | 50 | P | latin capital letter p |
17 | 11 | DC1 | device control one | 81 | 51 | Q | latin capital letter q |
18 | 12 | DC2 | device control two | 82 | 52 | R | latin capital letter r |
19 | 13 | DC3 | device control three | 83 | 53 | S | latin capital letter s |
20 | 14 | DC4 | device control four | 84 | 54 | T | latin capital letter t |
21 | 15 | NAK | negative acknowledge | 85 | 55 | U | latin capital letter u |
22 | 16 | SYN | synchronous idle | 86 | 56 | V | latin capital letter v |
23 | 17 | ETB | end of transmission block | 87 | 57 | W | latin capital letter w |
24 | 18 | CAN | cancel | 88 | 58 | X | latin capital letter x |
25 | 19 | EM | end of medium | 89 | 59 | Y | latin capital letter y |
26 | 1A | SUB | substitute | 90 | 5A | Z | latin capital letter z |
27 | 1B | ESC | escape | 91 | 5B | [ | left square bracket |
28 | 1C | FS | file separator | 92 | 5C | \ | reverse solidus |
29 | 1D | GS | group separator | 93 | 5D | ] | right square bracket |
30 | 1E | RS | record separator | 94 | 5E | ^ | circumflex accent |
31 | 1F | US | unit separator | 95 | 5F | _ | low line |
32 | 20 | SPACE | space | 96 | 60 | ` | grave accent |
33 | 21 | ! | exclamation mark | 97 | 61 | a | latin small letter a |
34 | 22 | " | quotation mark | 98 | 62 | b | latin small letter b |
35 | 23 | # | number sign | 99 | 63 | c | latin small letter c |
36 | 24 | $ | dollar sign | 100 | 64 | d | latin small letter d |
37 | 25 | % | percent sign | 101 | 65 | e | latin small letter e |
38 | 26 | & | ampersand | 102 | 66 | f | latin small letter f |
39 | 27 | ' | apostrophe | 103 | 67 | g | latin small letter g |
40 | 28 | ( | left parenthesis | 104 | 68 | h | latin small letter h |
41 | 29 | ) | right parenthesis | 105 | 69 | i | latin small letter i |
42 | 2A | * | asterisk | 106 | 6A | j | latin small letter j |
43 | 2B | + | plus sign | 107 | 6B | k | latin small letter k |
44 | 2C | , | comma | 108 | 6C | l | latin small letter l |
45 | 2D | - | hyphen-minus | 109 | 6D | m | latin small letter m |
46 | 2E | . | full stop | 110 | 6E | n | latin small letter n |
47 | 2F | / | solidus | 111 | 6F | o | latin small letter o |
48 | 30 | 0 | digit zero | 112 | 70 | p | latin small letter p |
49 | 31 | 1 | digit one | 113 | 71 | q | latin small letter q |
50 | 32 | 2 | digit two | 114 | 72 | r | latin small letter r |
51 | 33 | 3 | digit three | 115 | 73 | s | latin small letter s |
52 | 34 | 4 | digit four | 116 | 74 | t | latin small letter t |
53 | 35 | 5 | digit five | 117 | 75 | u | latin small letter u |
54 | 36 | 6 | digit six | 118 | 76 | v | latin small letter v |
55 | 37 | 7 | digit seven | 119 | 77 | w | latin small letter w |
56 | 38 | 8 | digit eight | 120 | 78 | x | latin small letter x |
57 | 39 | 9 | digit nine | 121 | 79 | y | latin small letter y |
58 | 3A | : | colon | 122 | 7A | z | latin small letter z |
59 | 3B | ; | semicolon | 123 | 7B | { | left curly bracket |
60 | 3C | < | less-than sign | 124 | 7C | | | vertical line |
61 | 3D | = | equals sign | 125 | 7D | } | right curly bracket |
62 | 3E | > | greater-than sign | 126 | 7E | ~ | tilde |
63 | 3F | ? | question mark | 127 | 7F | DEL | delete |
Previous: C to Scheme correspondence | Next: References