例えば、"A"のASCIIコードは10進数で65、16進数で$41。
Char Code Char Code Char Code Char Code
NUL 0 DLE 16 SPACE 32 0 48 (^@) $00 (^P) $10 $20 $30 SOH 1 DC1 17 ! 33 1 49 (^A) $01 (^Q) $11 $21 $31 STX 2 DC2 18 " 34 2 50 (^B) $02 (^R) $12 $22 $32 ETX 3 DC3 19 # 35 3 51 (^C) $03 (^S) $13 $23 $33 EOT 4 DC4 20 $ 36 4 52 (^D) $04 (^T) $14 $24 $34 ENQ 5 NAK 21 % 37 5 53 (^E) $05 (^U) $15 $25 $35 ACK 6 SYN 22 & 38 6 54 (^F) $06 (^V) $16 $26 $36 BEL 7 ETB 23 ' 39 7 55 (^G) $07 (^W) $17 $27 $37 BS 8 CAN 24 ( 40 8 56 (^H) $08 (^X) $18 $28 $38 HT 9 EM 25 ) 41 9 57 (^I) $09 (^Y) $19 $29 $39 LF 10 SUB 26 * 42 : 58 (^J) $0A (^Z) $1A $2A $3A VT 11 ESC 27 + 43 ; 59 (^K) $0B (^[) $1B $2B $3B FF 12 FS 28 , 44 < 60 (^L) $0C (^) $1C $2C $3C CR 13 GS 29 - 45 = 61 (^M) $0D (^]) $1D $2D $3D SO 14 RS 30 . 46 > 62 (^N) $0E (^^) $1E $2E $3E SI 15 US 31 / 47 ? 63 (^O) $0F (^_) $1F $2F $3F Char Code Char Code Char Code Char Code
@ 64 P 80 ` 96 p 112 $40 $50 $60 $70 A 65 Q 81 a 97 q 113 $41 $51 $61 $71 B 66 R 82 b 98 r 114 $42 $52 $62 $72 C 67 S 83 c 99 s 115 $43 $53 $63 $73 D 68 T 84 d 100 t 116 $44 $54 $64 $74 E 69 U 85 e 101 u 117 $45 $55 $65 $75 F 70 V 86 f 102 v 118 $46 $56 $66 $76 G 71 W 87 g 103 w 119 $47 $57 $67 $77 H 72 X 88 h 104 x 120 $48 $58 $68 $78 I 73 Y 89 i 105 y 121 $49 $59 $69 $79 J 74 Z 90 j 106 z 122 $4A $5A $6A $7A K 75 [ 91 k 107 { 123 $4B $5B $6B $7B L 76 \ 92 l 108 | 124 $4C $5C $6C $7C M 77 ] 93 m 109 } 125 $4D $5D $6D $7D N 78 ^ 94 n 110 ~ 126 $4E $5E $6E $7E O 79 - 95 o 111 DEL 127 $4F $5F $6F $7F