ASCII Character Codes

This appendix lists the ASCII codes 0 through 127, the characters they represent and the keystrokes that generate them.

[spacer]

Value

Char

Key

Value

Char

Key

Value

Char

Key

0

NUL

None

43

+

+

86

V

V

1

SOH

ctrl-a

44

,

,

87

W

W

2

STX

ctrl-b

45

-

-

88

X

X

3

ETX

ctrl-c

46

.

.

89

Y

Y

4

EOT

ctrl-d

47

/

/

90

Z

Z

5

ENQ

ctrl-e

48

0

0

91

[

[

6

ACK

ctrl-f

49

1

1

92

\

\

7

BEL

ctrl-g

50

2

2

93

]

]

8

BS

ctrl-h

51

3

3

94

^

^

9

HT

ctrl-i

52

4

4

95

_

_

10

LF

ctrl-j

53

5

5

96

`

`

11

VT

ctrl-k

54

6

6

97

a

a

12

FF

ctrl-l

55

7

7

98

b

b

13

CR

ctrl-m

56

8

8

99

c

c

14

SO

ctrl-n

57

9

9

100

d

d

15

SI

ctrl-o

58

:

:

101

e

e

16

DLE

ctrl-p

59

;

;

102

f

f

17

DC1

ctrl-q

60

<

<

103

g

g

18

DC2

ctrl-r

61

=

=

104

h

h

19

DC3

ctrl-s

62

>

>

105

i

i

20

DC4

ctrl-t

63

?

?

106

j

j

21

NAK

ctrl-u

64

@

@

107

k

k

22

SYN

ctrl-v

65

A

A

108

l

l

23

ETB

ctrl-w

66

B

B

109

m

m

24

CAN

ctrl-x

67

C

C

110

n

n

25

EM

ctrl-y

68

D

D

111

o

o

26

SUB

ctrl-z

69

E

E

112

p

p

27

ESC

esc

70

F

F

113

q

q

28

FS

ctrl-\

71

G

G

114

r

r

29

GS

ctrl-]

72

H

H

115

s

s

30

RS

none

73

I

I

116

t

t

31

US

none

74

J

J

117

u

u

32

SPACE

space

75

K

K

118

v

v

33

!

!

76

L

L

119

w

w

34

"

"

77

M

M

120

x

x

35

#

#

78

N

N

121

y

y

36

$

$

79

O

O

122

z

z

37

%

%

80

P

P

123

{

(

38

&

&

81

Q

Q

124

|

|

39

'

'

82

R

R

125

}

)

40

(

(

83

S

S

126

~

~

41

)

)

84

T

T

127

DEL

backspace

42

*

*

85

U

U

 

 

 


Unprintable characters

In the following table, the unprintable ASCII characters are listed along with their meaning. Many of these unprintable characters serve different functions that vary from one operating system to another.

[spacer]

Unprintable character

Meaning

NUL

Null character

SOH

Start of header

STX

Start of text

ETX

End of text

EOT

End of transmission

ENQ

Enquiry

ACK

Acknowledge

BEL

Bell character

BS

Back space

HT

Horizontal tab

LF

Line feed

VT

Vertical tab

FF

Form feed

CR

Carriage return

SO

Shift out

SI

Shift in

DLE

Data link escape

DC1

Device control one (resume transmission)

DC2

Device control two

DC3

Device control three (stop transmission)

DC4

Device control four

NAK

Negative acknowledge

SYN

Synchronous idle

ETB

End of transmitted block

CAN

Cancel

EM

End of medium

SUB

Substitute

ESC

Escape

FS

File separator

GS

Group separator

RS

Record separator

US

Unit separator

DEL

Delete


 


Documentation Feedback