X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,49bfa7f591bfacaf,start X-Google-Attributes: gidf996b,public From: dski@cameonet.cameo.com.tw Subject: One-screen ASCII Chart Date: 1997/02/09 Message-ID: <5dkd7s$g1c@reader.seed.net.tw>#1/1 X-Deja-AN: 217726254 organization: Cameo Communications, Inc. newsgroups: alt.ascii-art originator: dski@ The following ASCII chart contains ALL the ASCII values, each with the control function or printable character assigned to it. Some so-called ASCII charts for IBM-type microcomputer systems show printable characters (smiling faces, musical notes, etc.) for values in the control range, and some show characters for values above 128. To be blunt, such charts are simply wrong. The ONLY true ASCII characters are those listed next to the SAME values on charts for ALL computer systems, from an Apple II to a Cray, and those are the characters shown below. Standard U.S. descriptions of ASCII use two- and three-letter names for the control codes; ISO uses only two-letter names. The letters that ISO omits are given in lowercase here (see note below chart). I have put the hexadecimal column and row labels in the form of a cross, rather than at the extreme top and left, for easier reference. This chart fits quite nicely on a DOS/Un*x text screen, and you can write a simple batch file or script that will display it any time you need to look up a character or control code. Dan Strychalski dski@cameonet.cameo.com.tw ASCII Codes in Decimal Notation, with Hexadecimal Look-up Grid .------Control----------Punct/Num---.- - -.--Uppercase------Lowercase----. |^@ NUl 0 |^P DLe 16 |SPC 32 | 0 48 | 0 | @ 64 | P 80 | ` 96 | p 112 | |^A SoH 1 |^Q Dc1 17 | ! 33 | 1 49 | 1 | A 65 | Q 81 | a 97 | q 113 | |^B StX 2 |^R Dc2 18 | " 34 | 2 50 | 2 | B 66 | R 82 | b 98 | r 114 | |^C EtX 3 |^S Dc3 19 | # 35 | 3 51 | 3 | C 67 | S 83 | c 99 | s 115 | |^D EoT 4 |^T Dc4 20 | $ 36 | 4 52 | 4 | D 68 | T 84 | d 100 | t 116 | |^E EnQ 5 |^U NaK 21 | % 37 | 5 53 | 5 | E 69 | U 85 | e 101 | u 117 | |^F AcK 6 |^V SYn 22 | & 38 | 6 54 | 6 | F 70 | V 86 | f 102 | v 118 | |^G BeL 7 |^W EB 23 | ' 39 | 7 55 | 7 | G 71 | W 87 | g 103 | w 119 | :---------:----------:-------:------' : `------:------:-------:--------: : 0nh : 1nh : 2nh : 3nh n 4nh : 5nh : 6nh : 7nh : :---------:----------:-------:------. : .------:------:-------:--------: |^H BS 8 |^X CaN 24 | ( 40 | 8 56 | 8 | H 72 | X 88 | h 104 | x 120 | |^I HT 9 |^Y EM 25 | ) 41 | 9 57 | 9 | I 73 | Y 89 | i 105 | y 121 | |^J LF 10 |^Z SuB 26 | * 42 | : 58 | A | J 74 | Z 90 | j 106 | z 122 | |^K VT 11 |^[ EsC 27 | + 43 | ; 59 | B | K 75 | [ 91 | k 107 | { 123 | |^L FF 12 |^\ FS 28 | , 44 | < 60 | C | L 76 | \ 92 | l 108 | | 124 | |^M CR 13 |^] GS 29 | - 45 | = 61 | D | M 77 | ] 93 | m 109 | } 125 | |^N SO 14 |^^ RS 30 | . 46 | > 62 | E | N 78 | ^ 94 | n 110 | ~ 126 | |^O SI 15 |^_ US 31 | / 47 | ? 63 | F | O 79 | _ 95 | o 111 |DEl 127 | `-Bits: 4----------5--------------6- - - - ----------------------------7-' Lowercase characters in names of control codes are optional (e.g., NU=NUL)