Contents
- Index
- Previous
- Next
ASCII Character Set
The ASCII character set defines 128 characters (0 to 127 decimal). This character set is a subset of many other character sets with 256 characters, including the ANSI character set of MS Windows and the IBM PC Extended Character Set of DOS, and the ISO Latin-1 character set used by Web browsers.
The Control Characters
The first 32 values are non-printing control characters, such as Return and Line feed. You can generate these characters on the keyboard by holding down the Control key while you strike another key. As they are generally of use only to programmers, they are not listed here.
Printing Characters
The ASCII characters you can see on screen and paper are listed below. Their numerical values are given in decimal and in hexadecimal: the latter is useful to identify a character using the File Viewer in hex mode.
Char Dec Hex Description
SP 32 20 Space
! 33 21 Exclamation mark
" 34 22 Quotation mark (" in HTML)
# 35 23 Cross hatch (number sign)
$ 36 24 Dollar sign
% 37 25 Percent sign
& 38 26 Ampersand
' 39 27 Closing single quote (apostrophe)
( 40 28 Opening parentheses
) 41 29 Closing parentheses
* 42 2a Asterisk (star, multiply)
+ 43 2b Plus
, 44 2c Comma
- 45 2d Hypen, dash, minus
. 46 2e Period
/ 47 2f Slant (forward slash, divide)
0 48 30 Zero
1 49 31 One
2 50 32 Two
3 51 33 Three
4 52 34 Four
5 53 35 Five
6 54 36 Six
7 55 37 Seven
8 56 38 Eight
9 57 39 Nine
: 58 3a Colon
; 59 3b Semicolon
< 60 3c Less than sign (< in HTML)
= 61 3d Equals sign
> 62 3e Greater than sign (> in HTML)
? 63 3f Question mark
@ 64 40 At-sign
A 65 41 Uppercase A
B 66 42 Uppercase B
C 67 43 Uppercase C
D 68 44 Uppercase D
E 69 45 Uppercase E
F 70 46 Uppercase F
G 71 47 Uppercase G
H 72 48 Uppercase H
I 73 49 Uppercase I
J 74 4a Uppercase J
K 75 4b Uppercase K
L 76 4c Uppercase L
M 77 4d Uppercase M
N 78 4e Uppercase N
O 79 4f Uppercase O
P 80 50 Uppercase P
Q 81 51 Uppercase Q
R 82 52 Uppercase R
S 83 53 Uppercase S
T 84 54 Uppercase T
U 85 55 Uppercase U
V 86 56 Uppercase V
W 87 57 Uppercase W
X 88 58 Uppercase X
Y 89 59 Uppercase Y
Z 90 5a Uppercase Z
[ 91 5b Opening square bracket
\ 92 5c Reverse slant (Backslash)
] 93 5d Closing square bracket
^ 94 5e Caret (Circumflex)
_ 95 5f Underscore
` 96 60 Opening single quote
a 97 61 Lowercase a
b 98 62 Lowercase b
c 99 63 Lowercase c
d 100 64 Lowercase d
e 101 65 Lowercase e
f 102 66 Lowercase f
g 103 67 Lowercase g
h 104 68 Lowercase h
i 105 69 Lowercase i
j 106 6a Lowercase j
k 107 6b Lowercase k
l 108 6c Lowercase l
m 109 6d Lowercase m
n 110 6e Lowercase n
o 111 6f Lowercase o
p 112 70 Lowercase p
q 113 71 Lowercase q
r 114 72 Lowercase r
s 115 73 Lowercase s
t 116 74 Lowercase t
u 117 75 Lowercase u
v 118 76 Lowercase v
w 119 77 Lowercase w
x 120 78 Lowercase x
y 121 79 Lowercase y
z 122 7a Lowercase z
{ 123 7b Opening curly brace
| 124 7c Vertical line
} 125 7d Closing curly brace
~ 126 7e Tilde (approximate)
DEL 127 7f Delete (rubout), cross-hatch box
______________________________________________________________________________