A PICTURE OF GARRY Garry Garrett's Homepage



ISO-Latin-1 ASCII chart
Character Dec Hex Oct Binary Sun HTML Description
NUL 0 00 000 0000 0000 CTRL-@, Null character
SOH 1 01 001 0000 0001 CTRL-A, Start of Header
STX 2 02 002 0000 0010 CTRL-B, Start of Text
ETX 3 03 003 0000 0011 CTRL-C, End of Text
EOT 4 04 004 0000 0100 CTRL-D, End of transmission
ENQ 5 05 005 0000 0101 CTRL-E, Enquiry
ACK 6 06 006 0000 0110 CTRL-F, Acknowledge
BEL 7 07 007 0000 0111 CTRL-G, Ring the Bell, \a
BS 8 08 010 0000 1000 CTRL-H, Backspace, \b
HT 9 09 011 0000 1001 CTRL-I, Horizontal Tab, \t
LF 10 0a 012 0000 1010 CTRL-J, Linefeed, \n
VT 11 0b 013 0000 1011 CTRL-K, Vertical Tab, \v
FF 12 0c 014 0000 1100 CTRL-L, Formfeed, \f
CR 13 0d 015 0000 1101 CTRL-M, Carriage Return, \r
SO 14 0e 016 0000 1110 CTRL-N, Shift Out
SI 15 0f 017 0000 1111 CTRL-O, Shift In
DLE 16 10 020 0001 0000 CTRL-P, Data Link Escape
DC1 17 11 021 0001 0001 CTRL-Q, Device Control 1, XON
DC2 18 12 022 0001 0010 CTRL-R, Device Control 2
DC3 19 13 023 0001 0011 CTRL-S, Device Control 3, XOFF
DC4 20 14 024 0001 0100 CTRL-T, Device Control 4
NAK 21 15 025 0001 0101 CTRL-U, Negative Acknowledge
SYN 22 16 026 0001 0110 CTRL-V, Synchronous Idle
ETB 23 17 027 0001 0111 CTRL-W, End of Transmission Block
CAN 24 18 030 0001 1000 CTRL-X, Cancel
EM 25 19 031 0001 1001 CTRL-Y, End of Medium
SUB 26 1a 032 0001 1010 CTRL-Z, Substitute
ESC 27 1b 033 0001 1011 CTRL-[, Escape
FS 28 1c 034 0001 1100 CTRL-\, File Separator
GS 29 1d 035 0001 1101 CTRL-], Group Separator
RS 30 1e 036 0001 1110 CTRL-^, Record Separator
US 31 1f 037 0001 1111 CTRL-_, Unit Separator
space 32 20 040 0010 0000 Space
! 33 21 041 0010 0001 Exclamation point
" 34 22 042 0010 0010 " Double Quote
# 35 23 043 0010 0011 pound sign
$ 36 24 044 0010 0100 dollar sign
% 37 25 045 0010 0101 percent sign
& 38 26 046 0010 0110 & Ampersand
' 39 27 047 0010 0111 single quote / apostrophe
( 40 28 050 0010 1000 left parenth
) 41 29 051 0010 1001 right parenth
* 42 2a 052 0010 1010 asterisk (a.k.a. star or splat)
+ 43 2b 053 0010 1011 plus sign
, 44 2c 054 0010 1100 coma
- 45 2d 055 0010 1101 minus sign
. 46 2e 056 0010 1110 period
/ 47 2f 057 0010 1111 (forward) slash
0 48 30 060 0011 0000 zero
1 49 31 061 0011 0001 one
2 50 32 062 0011 0010 two
3 51 33 063 0011 0011 three
4 52 34 064 0011 0100 four
5 53 35 065 0011 0101 five
6 54 36 066 0011 0110 six
7 55 37 067 0011 0111 seven
8 56 38 070 0011 1000 eight
9 57 39 071 0011 1001 nine
: 58 3a 072 0011 1010 colon
; 59 3b 073 0011 1011 semi-colon
< 60 3c 074 0011 1100 &LT; Less Than
= 61 3d 075 0011 1101 equal sign
> 62 3e 076 0011 1110 &GT; Greater Than
? 63 3f 077 0011 1111 question mark
@ 64 40 100 0100 0000 at sign
A 65 41 101 0100 0001 upper case A
B 66 42 102 0100 0010 upper case B
C 67 43 103 0100 0011 upper case C
D 68 44 104 0100 0100 upper case D
E 69 45 105 0100 0101 upper case E
F 70 46 106 0100 0110 upper case F
G 71 47 107 0100 0111 upper case G
H 72 48 110 0100 1000 upper case H
I 73 49 111 0100 1001 upper case I
J 74 4a 112 0100 1010 upper case J
K 75 4b 113 0100 1011 upper case K
L 76 4c 114 0100 1100 upper case L
M 77 4d 115 0100 1101 upper case M
N 78 4e 116 0100 1110 upper case N
O 79 4f 117 0100 1111 upper case O
P 80 50 120 0101 0000 upper case P
Q 81 51 121 0101 0001 upper case Q
R 82 52 122 0101 0010 upper case R
S 83 53 123 0101 0011 upper case S
T 84 54 124 0101 0100 upper case T
U 85 55 125 0101 0101 upper case U
V 86 56 126 0101 0110 upper case V
W 87 57 127 0101 0111 upper case W
X 88 58 130 0101 1000 upper case X
Y 89 59 131 0101 1001 upper case Y
Z 90 5a 132 0101 1010 upper case Z
[ 91 5b 133 0101 1011 left bracket
\ 92 5c 134 0101 1100 backslash
] 93 5d 135 0101 1101 right bracket
^ 94 5e 136 0101 1110 caret (a.k.a. circumflex)
_ 95 5f 137 0101 1111 underscore
` 96 60 140 0110 0000 backquote
a 97 61 141 0110 0001 lower case a
b 98 62 142 0110 0010 lower case b
c 99 63 143 0110 0011 lower case c
d 100 64 144 0110 0100 lower case d
e 101 65 145 0110 0101 lower case e
f 102 66 146 0110 0110 lower case f
g 103 67 147 0110 0111 lower case g
h 104 68 150 0110 1000 lower case h
i 105 69 151 0110 1001 lower case i
j 106 6a 152 0110 1010 lower case j
k 107 6b 153 0110 1011 lower case k
l 108 6c 154 0110 1100 lower case l
m 109 6d 155 0110 1101 lower case m
n 110 6e 156 0110 1110 lower case n
o 111 6f 157 0110 1111 lower case o
p 112 70 160 0111 0000 lower case p
q 113 71 161 0111 0001 lower case q
r 114 72 162 0111 0010 lower case r
s 115 73 163 0111 0011 lower case s
t 116 74 164 0111 0100 lower case t
u 117 75 165 0111 0101 lower case u
v 118 76 166 0111 0110 lower case v
w 119 77 167 0111 0111 lower case w
x 120 78 170 0111 1000 lower case x
y 121 79 171 0111 1001 lower case y
z 122 7a 172 0111 1010 lower case z
{ 123 7b 173 0111 1011 left brace (a.k.a. left curly bracket)
| 124 7c 174 0111 1100 vertical bar
} 125 7d 175 0111 1101 right brace (a.k.a. right curly bracket)
~ 126 7e 176 0111 1110 tilde
DEL 127 7f 177 0111 1111 Delete
RES1 128 80 200 1000 0000 CTRL-�, Reserved for future standardizaton
RES2 129 81 201 1000 0001 CTRL-�, Reserved for future standardizaton
RES3 130 82 202 1000 0010 CTRL-�, Reserved for future standardizaton
RES4 131 83 203 1000 0011 CTRL-�, Reserved for future standardizaton
IND 132 84 204 1000 0100 CTRL-�, Index
NEL 133 85 205 1000 0101 CTRL-�, Next Line
SSA 134 86 206 1000 0110 CTRL-�, Start of selected area
ESA 135 87 207 1000 0111 CTRL-�, End of selected area
HTS 136 88 210 1000 1000 CTRL-�, Horizontal tabulation set
HTJ 137 89 211 1000 1001 CTRL-�, Horizontal tab with justify
VTS 138 8a 212 1000 1010 CTRL-�, Vertical tabulation set
PLD 139 8b 213 1000 1011 CTRL-�, Partial line down
PLU 140 8c 214 1000 1100 CTRL-�, Partial line up
RI 141 8d 215 1000 1101 CTRL-�, Reverse index
SS2 142 8e 216 1000 1110 CTRL-�, Single shift 2
SS3 143 8f 217 1000 1111 CTRL-�, Single shift 3
DCS 144 90 220 1001 0000 CTRL-�, Device control string
PU1 145 91 221 1001 0001 CTRL-�, Private use 1
PU2 146 92 222 1001 0010 CTRL-�, Private use 2
STS 147 93 223 1001 0011 CTRL-�, Set transmission state
CCH 148 94 224 1001 0100 CTRL-�, Cancel character
MW 149 95 225 1001 0101 CTRL-�, Message waiting
SPA 150 96 226 1001 0110 CTRL-�, Start of protected area
EPA 151 97 227 1001 0111 CTRL-�, End of protected area
RES5 152 98 230 1001 1000 CTRL-�, Reserved for future standardization
RES6 153 99 231 1001 1001 CTRL-�, Reserved for future standardization
RES7 154 9a 232 1001 1010 CTRL-�, Reserved for future standardization
CSI 155 9b 233 1001 1011 CTRL-�, Control sequence introducer
ST 156 9c 234 1001 1100 CTRL-�, String terminator
OSC 157 9d 235 1001 1101 CTRL-�, Operating system command
PM 158 9e 236 1001 1110 CTRL-�, privacy message
APC 159 9f 237 1001 1111 CTRL-�, application program command
160 a0 240 1010 0000 2 spaces &nbsp; non breaking space
161 a1 241 1010 0001 !! &iexcl; inverted exclamation point
162 a2 242 1010 0010 C/
c/
&cent; cent sign
163 a3 243 1010 0011 L-
l-
&pound; pound (sterling) sign
164 a4 244 1010 0100 OX
ox
0X
0x
&curren; generic currency
165 a5 245 1010 0101 Y-
y-
&yen; yen
166 a6 246 1010 0110 || &brvbar; broken vertical bar
167 a7 247 1010 0111 SO
so
&sect; section sign
168 a8 250 1010 1000 "" &uml; umlaut
169 a9 251 1010 1001 CO
co
&copy; copyright
170 aa 252 1010 1010 -A
-a
&ordf; feminine ordinal
171 ab 253 1010 1011 << &laquo; left angle quote
172 ac 254 1010 1100 -|
-,
&not; logical not
173 ad 255 1010 1101 -- &shy; soft hyphen
174 ae 256 1010 1110 RO
ro
&reg; registered trademark
175 af 257 1010 1111 ^- &macr; macron accent
176 b0 260 1011 0000 ^*
^0
&deg; degree sign
177 b1 261 1011 0001 +- &plusmn; plus or minus
178 b2 262 1011 0010 ^2 &sup2; superscript 2
179 b3 263 1011 0011 ^3 &sup3; superscript 3
180 b4 264 1011 0100 \\ &acute; acute accent
181 b5 265 1011 0101 /u &micro; micro (Greek mu)
182 b6 266 1011 0110 P!
p!
&para; paragraph sign
183 b7 267 1011 0111 ^. &middot; middle dot
184 b8 270 1011 1000 ,, &cedil; cedilla
185 b9 271 1011 1001 ^1 &sup1; superscript 1
186 ba 272 1011 1010 _O
_o
&ordm; masculine ordinal
187 bb 273 1011 1011 >> &raquo; right angle quotes
188 bc 274 1011 1100 14 &frac14; one-fourth
189 bd 275 1011 1101 12 &frac12; one-half
190 be 276 1011 1110 34 &frac34; three-fourths
191 bf 277 1011 1111 ?? &iquest; inverted question mark
192 c0 300 1100 0000 A` &Agrave; upper case A with grave accent
193 c1 301 1100 0001 A' &Aacute; upper case A with acute accent
194 c2 302 1100 0010 A^ &Acirc; upper case A with circumflex accent
195 c3 303 1100 0011 A~ &Atilde; upper case A with tilde
196 c4 304 1100 0100 A" &Auml; upper case A with umlaut
197 c5 305 1100 0101 A* &Aring; upper case A with ring (a.k.a. Angstrom)
198 c6 306 1100 0110 AE &AElig; upper case AE ligature
199 c7 307 1100 0111 C, &Ccedil; upper case C cedilla
200 c8 310 1100 1000 E` &Egrave; upper case E with grave accent
201 c9 311 1100 1001 E' &Eacute; upper case E with acute accent
202 ca 312 1100 1010 E^ &Ecirc; upper case E with circumflex
203 cb 313 1100 1011 E" &Euml; upper case E with umlaut
204 cc 314 1100 1100 I` &Igrave; upper case I with grave accent
205 cd 315 1100 1101 I' &Iacute; upper case I with acute accent
206 ce 316 1100 1110 I^ &Icirc; upper case I with circumflex accent
207 cf 317 1100 1111 I" &Iuml; upper case I with umlaut
208 d0 320 1101 0000 D- &ETH; upper case Icelandic eth
209 d1 321 1101 0001 N~ &Ntilde; upper case N with tilde
210 d2 322 1101 0010 O` &Ograve; upper case O with grave accent
211 d3 323 1101 0011 O' &Oacute; upper case O with acute accent
212 d4 324 1101 0100 O^ &Ocirc; upper case O with circumflex accent
213 d5 325 1101 0101 O~ &Otilde; upper case O with tilde
214 d6 326 1101 0110 O" &Ouml; upper case O with umlaut
215 d7 327 1101 0111 xx &times; multiplication sign
216 d8 330 1101 1000 O/ &Oslash; upper case O with slash
217 d9 331 1101 1001 U` &Ugrave; upper case U with grave accent
218 da 332 1101 1010 U' &Uacute; upper case U wih acute accent
219 db 333 1101 1011 U^ &Ucirc; upper case U with circumflex accent
220 dc 334 1101 1100 U" &Uuml; upper case U with umlaut
221 dd 335 1101 1101 Y' &Yacute; upper case Y with acute accent
222 de 336 1101 1110 P|
TH
&THORN; upper case Icelandic Thorn
223 df 337 1101 1111 ss &szlig; lower case sz (ss) ligature
224 e0 340 1110 0000 a` &agrave; lower case a with grave accent
225 e1 341 1110 0001 a' &aacute; lower case a with acute accent
226 e2 342 1110 0010 a^ &acirc; lower case a with circumflex accent
227 e3 343 1110 0011 a~ &atilde; lower case a with tilde
228 e4 344 1110 0100 a" &auml; lower case a with umlaut
229 e5 345 1110 0101 a* &aring; lower case a with ring (a.k.a. angstrom)
230 e6 346 1110 0110 ae &aelig; lower case ae ligature
231 e7 347 1110 0111 c, &ccedil; lower case c with cedilla
232 e8 350 1110 1000 e` &egrave; lower case e with grave accent
233 e9 351 1110 1001 e' &eacute; lower case e with acute accent
234 ea 352 1110 1010 e^ &ecirc; lower case e with circumflex accent
235 eb 353 1110 1011 e" &euml; lower case e with umlaut
236 ec 354 1110 1100 i` &igrave; lower case i with grave accent
237 ed 355 1110 1101 i' &iacute; lower case i with acute accent
238 ee 356 1110 1110 i^ &icirc; lower case i with circumflex
239 ef 357 1110 1111 i" &iuml; lower case i with umlaut
240 f0 360 1111 0000 d- &eth; lower case Icelandic eth
241 f1 361 1111 0001 n~ &ntilde; lower case n with tilde
242 f2 362 1111 0010 o` &ograve; lower case o with grave accent
243 f3 363 1111 0011 o' &oacute; lower case o with acute accent
244 f4 364 1111 0100 o^ &ocirc; lower case o with circumflex accent
245 f5 365 1111 0101 o~ &otilde; lower case o with tilde
246 f6 366 1111 0110 o" &ouml; lower case o with umlaut
247 f7 367 1111 0111 -: &divide; division sign
248 f8 370 1111 1000 o/ &oslash; lower case o with slash
249 f9 371 1111 1001 u` &ugrave; lower case u with grave accent
250 fa 372 1111 1010 u' &uacute; lower case u with acute accent
251 fb 373 1111 1011 u^ &ucirc; lower case u with circumflex
252 fc 374 1111 1100 u" &uuml; lower case u with umlaut
253 fd 375 1111 1101 y' &yacute; lower case y with acute accent
254 fe 376 1111 1110 p|
th
&thorn; lower case Icelandic thorn
255 ff 377 1111 1111 y" &yuml; lower case y with umlaut
Character:
Where the character is a printable character, the character is shown here. When the character is non-printable, some representation is shown in italics (usually a 2-3 letter abbreviation).
Dec:
The decimal (base 10) representation of the character's ASCII code. This is widely used, and in HTML it can be used in a &#999 sequence (where 999 is the decimal value) to pull a given character out of "thin air". This is useful for special characters.
Hex:
The hexadecimal (base 16) representation of the character's ASCII code. This is also widely used. In HTML, you can use %99 (where 99 is the hexadecimal value) in a URL to represent a character (commonly used when that character has a reserved meaning in a the URL syntax).
Oct:
The Octal (base 8) representation of the character's ASCII code. This is commonly used in C programming to pull a given character out of thin air. In your source code you can use \777 (where 777 is an octal value) to represent a character.
Binary:
The binary (base 2) representation of the character's ASCII code. Binary is not commonly used, unless you get into assembly language programming, but I list it here anyway.
Sun:
On Sun keyboards, you can use the "Compose" key to enter a character that does not exist on your keyboard. This is done by hitting the Compose key (lower right hand side of the QWERTY part of the keyboard, next to the right Meta key) and then hitting 2 characters. This column lists the 2 character sequence that you need to enter the character in question. If there is more than one combination, then multiple 2 character sequences are listed on multiple lines. Most of the sequences are pretty intuitive (an A and a " make a �; a C and an O make a �, etc.). This works on most X-Windows programs (shelltool, textedit, mailtool, etc.) but a notable exception is xterm.


On PCs you can hold down on the ALT key, and enter in the ASCII code (in decimal) on the numeric keypad, and when you let go of the ALT key, the corresponding character would be inserted. If you use OEM ASCII or ISO-Latin-1 kind of depends. Most Windows fonts use ISO-Latin-1, but some applications (like Notepad) still display everything in OEM ASCII. At any rate, this is (or was) the Windows equivalent of Sun's Compose key. Here's a page on how to Type Accents and Special Characters (Covers Mac, PCs, etc.). Here's another one for Typing Foreign Language Characters on your Mac or PC. Note: you must use the keypad and not the number keys that sit over the qwerty keyboard. My laptop doesn't have a numeric keypad, it does, however, have a "function" key, and when I hold down on the function key, some of the keys on the qwerty keyboard change their function. 7890UIOPJKL;M,./ all operate as the keypad, so I must hold down both "Fn" and "Alt" to use this method. If your PC lacks a numeric keypad, you may have to do something similar.


For Mac OS X, the conventional wisdom is to fire up a program called "Keycaps". You can learn the key sequences with the meta keys by typing in the keycaps program, which shows you as you hit the various keys (Alt, Meta [open apple], etc.) what symbols will result. Generally speaking, the order tends to be opposite from Sun's Compose key (i.e. you would hit the umlaut key seqence, and then the "A"). You can use Keycaps to teach you the key sequences, but most people's needs are only occasional, so they simply type whatever it is they want to in Keycaps and cut and paste from there into whatever application they want.
HTML:
HTML allows you to put in special sequences of characters that tell the browser to render (if it can) special characters. In addition to the named special characters listed here, any random ASCII character can be generated by &#999; where 999 is the Decimal value of the ASCII code. In URLs, special characters can be represented by %99 where 99 is the Hexadecimal value of the ASCII code of the desired character (helps to avoid reserved symbols).
Description:
A brief description of the character.

ASCII is the American Standard Code for Interface Interchange (the two I's are not a roman numeral 2, many people incorrectly assume that). ASCII was invented for Teletype machines. Originally, only the first 128 characters (0-127) were defined because the high order bit (if you look in the binary column, you'll notice that the first 128 characters have a "0" in as the first digit) was used for a form of error checking called parity. This is commonly refered to as "7 bit ASCII" as it used only 7 of the eight bits.

In today's modern world of communications, this form of error checking is no longer required as it is generally performed at the hardware level or in a communication protocol. This suddenly "freed up" the high order bit allowing 128 "extra" characters. Every hardware vendor came up with their own set of "extended" characters, using them to add characters for non-english languages, characters to draw lines, symbols that 7 bit ASCII didn't include (like cent sign). This became problematic. The International Standards Organization stepped in and decided to come up with a standard 8 bit ASCII. Like a true committee, they didn't come up with a standard, they came up with a collection of standards. Fortunately, one of the many standards that they produced has gained wide acceptance as the defacto standard ASCII. The ISO-8859-1 standard, commonly called, ISO-Latin-1 (it is the first of a couple of standards for Latin based languages - it's character set provides characters for most European based langauages) has become the standard ASCII of the internet. It is the standard character set of the web. Most computer vendors use it as their standard character set for their ASCII based computers. Althought PCs were originally produced with their own non-standard ASCII called CodePage 437 (or simply "OEM ASCII") most Windows (3.x, 95, 98, NT) fonts are ISO-Latin-1.

On a related note, I have a PostScript file that prints out an ASCII chart (of sorts) of all of the standard Level 1 fonts in both their "standard" and "ISO-Latin-1" encodings. You can view it as PDF file or in the orignal PostScript format.

Some IBM computers ( mainframes, AS/400's, etc., and clones thereof ) use a different character set called EBCDIC (The "E" in EBCDIC stands for "Extended", i.e. 8-bit, BCDIC was 7-bit, but most people never even refer to the original BCDIC). I plan on eventually adding EBCDIC to the chart above (or making it's own chart). Converting from EBCDIC to ASCII can be a major issue when moving data from computer to computer. Most methods that are built into a file transfer protocol (FTP for example) tend to be pretty simple minded, for example conerting into 7 bit ASCII. Because of the simple minded approach, these conversion routines rarely have a 1:1 conversion (i.e. two EBCDIC characters might convert to the same ASCII character), thus unless you have relatively simple text, if you convert from EBCDIC to ASCII and back again, you may not get back what you started with. In Unix, the "dd" command is intended to read from tapes, but is happy to read from files as well, and comes with an option to convert from EBCDIC to ASCII, etc. (or vice versa). If you have relatively simple data to convert, the built-in routines work just fine, but if you have anything even slightly complex (like say cent sign); face it, you will have to write your own conversion program or conversion table. I do plan on adding tips and information about converting in the future.

ASCII Art is composing "pictures" using ASCII characters. It is common to include these pictures in your e-mail "signature file" (a file appended to all your e-mails). In order to properly view ASCII art, you will need to use a non-proportional font (one in which each character is the same width - i.e. the width of the character is not proportional to the width of the letter - e.g. Courier). Degraeve.Com has a cgi-bin program called gif2txt to turn a GIF file into an ASCII art. Some ASCII Art, commonly called "ASCIImation", is in the form of "escape sequences", designed to "play" on certain terminals (VT100, etc.) as a form of animation.

Lastly, I have recently become aware of a standard known as Unicode. This is a 16 bit character set with the goal of including all characters from all kinds of different languages. The first 256 characters exactly match those of ISO-Latin-1. Characters are included from a wide variety of current day languages (Chinese, Greek, Hebrew) as well as extinct ones. Unicode appears to be an evolving character set, with current languages included and many characters that are proposed (everything from Heiroglyphics to Klingon). They have charts of all the characters. I'm still trying to understand Unicode because it uses many acronyms that aren't explained very well on any web pages I've found (UTF-8, UTF-7, UCS-2, UCS-4, ...).

I know, I said "lastly", but this is kind of a PostScript of semi-related issues. Wikipedia has some nice pages on Morse Code and the NATO phonetic alphabet (you know, using words to "spell out" connection like a radio or phone, where two letters might sound similar- "C as in Charlie", etc.). I have an HTML redition of Morse Code / NATO phonetic alphabet I'd also like to add a link to somewhere that has the various flags that ships traditionally use to spell out messages.


Last Updated: 10-Oct-2006

Best Viewed With Any Browser

Hosted by www.Geocities.ws

1