ASCII碼
稱為美國標準資訊交換碼,為7位元(7 bit)長度,通常以16進制方式表示。
共有 27=23 * 24 = 8*16 = 128個標準字符。
根據ASCII字碼表知:
字 | 符 | = | ASCII | 碼 |
A | | 41 | H | |
a | | 61 | H | |
0 | | 30 | H |
依據此3個値,可推算其餘的 大寫、小寫、阿拉伯數字 的ASCII值。
A | B | C | D | E | F | G | H | I | J | K | L | M | | |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | | |
41 | 42 | | | | | | | 49 | | | | | | H |
| | | | | | | | | | | | | | |
N | O | P | Q | R | S | T | U | V | W | X | Y | Z | | |
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | | |
| | 50 | | | | | | | | | | | | H |
| | | | | | | | | | | | | | |
a | b | c | d | e | f | g | h | i | j | k | l | m | | |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | | |
61 | | | | | | | | | | | | | | H |
n | o | p | q | r | s | t | u | v | w | x | y | z | | |
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | | |
| | 70 | | | | | | | | | | | | H |
| | | | | | | | | | | | | | |
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | | | | | |
30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | | | | | H |