Manual Reference Pages  - ASCII (7)

NAME

ascii - the ASCII character set encoded in octal, decimal, and hexadecimal

CONTENTS

Description
History
Tables

DESCRIPTION

ASCII is the American Standard Code for Information Interchange. It is a 7-bit code. Many 8-bit codes (such as ISO 8859-1, the Linux default character set) contain ASCII as their lower half. The international counterpart of ASCII is known as ISO 646.

The following table contains the 128 ASCII characters.

C program ’\X’ escapes are noted.

OctDecHexChar OctDecHexChar
000000NUL ’\0’ 1006440@
001101SOH 1016541A
002202STX 1026642B
003303ETX 1036743C
004404EOT 1046844D
005505ENQ 1056945E
006606ACK 1067046F
007707BEL ’\a’ 1077147G
010808BS ’\b’ 1107248H
011909HT ’\t’ 1117349I
012100ALF ’\n’ 112744AJ
013110BVT ’\v’ 113754BK
014120CFF ’\f’ 114764CL
015130DCR ’\r’ 115774DM
016140ESO 116784EN
017150FSI 117794FO
0201610DLE 1208050P
0211711DC1 1218151Q
0221812DC2 1228252R
0231913DC3 1238353S
0242014DC4 1248454T
0252115NAK 1258555U
0262216SYN 1268656V
0272317ETB 1278757W
0302418CAN 1308858X
0312519EM 1318959Y
032261ASUB 132905AZ
033271BESC 133915B[
034281CFS 134925C\ ’\\’
035291DGS 135935D]
036301ERS 136945E^
037311FUS 137955F_
0403220SPACE 1409660`
0413321! 1419761a
0423422" 1429862b
0433523# 1439963c
0443624$ 14410064d
0453725% 14510165e
0463826& 14610266f
0473927 14710367g
0504028( 15010468h
0514129) 15110569i
052422A* 1521066Aj
053432B+ 1531076Bk
054442C, 1541086Cl
055452D- 1551096Dm
056462E. 1561106En
057472F/ 1571116Fo
06048300 16011270p
06149311 16111371q
06250322 16211472r
06351333 16311573s
06452344 16411674t
06553355 16511775u
06654366 16611876v
06755377 16711977w
07056388 17012078x
07157399 17112179y
072583A: 1721227Az
073593B; 1731237B{
074603C< 1741247C|
075613D= 1751257D}
076623E> 1761267E~
077633F? 1771277FDEL

HISTORY

An ascii manual page appeared in Version 7 of AT&T UNIX.

On older terminals, the underscore code is displayed as a left arrow, called backarrow, the caret is displayed as an up-arrow and the vertical bar has a hole in the middle.

Uppercase and lowercase characters differ by just one bit and the ASCII character 2 differs from the double quote by just one bit, too. That made it much easier to encode characters mechanically or with a non-microcontroller-based electronic keyboard and that pairing was found on old teletypes.

The ASCII standard was published by the United States of America Standards Institute (USASI) in 1968.

SEE ALSO

iso_8859-1(7), iso_8859-15(7), iso_8859-16(7), iso_8859-2(7), iso_8859-7(7), iso_8859-9(7)

TABLES

For convenience, let us give more compact tables in hex and decimal.

   2 3 4 5 6 7       30 40 50 60 70 80 90 100 110 120
 -------------      ---------------------------------
0:   0 @ P ‘ p     0:    (  2  <  F  P  Z  d   n   x
1: ! 1 A Q a q     1:    )  3  =  G  Q  [  e   o   y
2: " 2 B R b r     2:    *  4  >  H  R  \  f   p   z
3: # 3 C S c s     3: !  +  5  ?  I  S  ]  g   q   {
4: $ 4 D T d t     4: "  ,  6  @  J  T  ^  h   r   |
5: % 5 E U e u     5: #  -  7  A  K  U  _  i   s   }
6: & 6 F V f v     6: $  .  8  B  L  V  ‘  j   t   ~
7: ’ 7 G W g w     7: %  /  9  C  M  W  a  k   u  DEL
8: ( 8 H X h x     8: &  0  :  D  N  X  b  l   v
9: ) 9 I Y i y     9: ’  1  ;  E  O  Y  c  m   w
A: * : J Z j z
B: + ; K [ k {
C: , < L \ l |
D: - = M ] m }
E: . > N ^ n ~
F: / ? O _ o DEL

Jump to page    or go to Top of page |  Section 7 |  Main Index.


Linux ASCII (7) 2004-04-01
Generated by manServer 1.07 from /usr/share/man/man7/ascii.7.gz using man macros with tbl support.