1217123, 334 PM ‘ASCII Table
ASCII Table
Introducton adapted this information from a web site and I have made it available locally.
ASCII stands for American Standard Code for Information Interchange. Below is the
ASCII character table, including descriptions of the first 32 characters. ASCII was
originally designed for use with teletypes, and so the descriptions are somewhat
obscure and their use is frequently not as intended,
Java actually uses Unicode, which includes ASCII and other characters from
languages around the world.
ASCII Table
Dec = Decimal Value
Char = Character
"5" has the int value 53
if we write '5'-'@' it evaluates to 53-48, or the int 5
if we write char c = 'B's32; then c stores 'b’
bec char Dec Char Dec Char Dec Char
NUL (null) 32 SPACE 64
® ®
1 SOH (start of heading) 33 Ot 65 A 7 a
2. SIX (start of text) 3a 6s 8 38 b
3. ETX (end of text) 35 8 67 ¢ 9 ¢
4 EOT (end of transmission) 36 $ 68 D 100 d
5 ENQ (enquiry) 37 x 69 101 e
6 ACK (acknowledge) 38k 70 OF 102 F
7 BEL (bell) 39° n¢ 10 g
8 BS (backspace) 40 ( 72 04H 104 hb
9 TAB (horizontal tab) 41) 73001 ies i
10 LF (ML line feed, new line) 42 * 74 3 406 j
11 VT (vertical tab) 43+ 75 K 107 k
12 FF (NP form feed, new page) 44 76. 108 1
33 CR (carriage return) 45 7M 109
14 sO (shift out) 46. 78 ON 110 on
45 SI_ (shift in) a7} 79 0 111 0
16 DLE (data link escape) 48 @ 80 P 112 p
17 DC (device control 1) 49 1 81 Q 13 q
48 C2 (device control 2) 50 2 82.8 iar
19 DC3 (device control 3) 51 3 83S 115s
20 DCA (device control 4) 52 4 a4 T iis t
21 =NAK (negative acknowledge) 53S 85 U 17ou
22 SYN (synchronous idle) 54 6 86 OV 18 v
23. ETB (end of trans. block) 55 7 87 W 119 w
24 CAN (cancel) 56 8 88 Xx 120 x
25 EM (end of medium) 57 9 89 Y ay
26 SUB (substitute) 58: 90 z 1222
27 ESC (escape) 59 5 91 123 {
28 FS (file separator) 6 < 92 \ va |
29 GS (group separator) 61 3] 125 }
30 RS (record separator) 62 > oa + 1s ~
31 US (unit separator) 63? 85 427 DEL
hitpstvww.cs. mu edupatis/15-1XXicommonthandouts/asci nim!