b_book1.gif (162 bytes) Data - Coding systems
Special characters

Encoding text data - ASCII

A second popular code, commonly used in micro-computers is ASCII Code. An 8 bit code with a seven bit character representation.

ASCII table

ASCII Code Table ( Click for full Ascii table)

Ctrl Char Binary__Oct_Dec_Hex

Ch_Hex

Ch_Hex

Ch_Hex

Ch_Hex

@ NUL
A SOH
B STX
C ETX
D EOT
E ENQ
F ACK
G BEL
H BS
I HT
J LF
K VT
L FF
M CR
N SO
:
[ ESC
00000000 000 000 00
00000001 001 001 01
00000010 002 002 02
00000011 003 003 03
00000100 004 004 04
00000101 005 005 05
00000110 006 006 06
00000111 007 007 07
00001000 010 008 08
00001001 011 009 09
00001010 012 010 0A
00001011 013 011 0B
00001100 014 012 0C
00001101 015 013 0D
00001110 016 014 OE
:
00011011 033 027 1B

! 21
" 22
# 23
$ 24
% 25
& 26
' 27
( 28
) 29
* 2A
+ 2B
, 2C
- 2D
. 2E
/ 2F

0 30
1 31
2 32
3 33
4 34
5 35
6 36
7 37
8 38
9 39
: 3A
; 3B
< 3C
= 3D
> 3E

A 41
B 42
C 43
D 44
E 45
F 46
G 47
H 48
I 49
J 4A
K 4B
L 4C
M 4D
N 4E
O 4F

' 60
a 61
b 62
c 63
d 64
e 65
f 66
g 67
h 68
i 69
j 6A
k 6B
l 6C
m 6D
n 6E

 

Notes:
  • The control characters are at the beginning of the table.
  • The order is digits, uppercase (A..Z), then lowercase(a..z), so when you sort ASCII text this will be the sort order.
  • ESC(Hex 1B) used in many products as an "exit" key, or used in conjunction with other characters, to set attributes on the screen or printer(such as bold, underline).
  • LF (Hex 0A) and FF(Hex 0C) useful when printing,
  • BEL (Hex 07) used to ring a bell when a warning is given to an operator/user.
  • Communications characters include ACK (Hex06) to acknowledge data has been received correctly (and its opposite NAK (Hex15)).

Exercise 2

Now try to add up the ASCII codes for operating system names.

MS-DOS 6.21

77+83+45+68+79+83+32+54+46+50+49 = 666

SYSTEM 7.0

83+89+83+84+69+77+32+55+46+48 = 666

WINDOWS 95

87+73+78+68+79+87+83+57+53+1 =666
(You have to add 1 to the first release as it wasn't until 1996 that the bugs were fixed!)

Now lets see who masterminded all these...

bgatesx.jpg (5441 bytes)

66+73+76+76+71+65+84+69+83 = 663
(Ahhh.. but he is actually William Henry Gates III, so we better add 3!)
663 + 3 = 666

So how did he get so powerful? Why did he make it big when so many other equally talented nerds work for peanuts?

Is this the beginning of mankinds ultimate and total enslavement ?

Source: Unknown.

[Rev 17/9/98] 27/4/97 © 1997-98 V/2-Com (Verhaart), P O Box 8415, Havelock North, New Zealand.