Appendix B.  ASCII Character Set

Decimal value

Hexadecimal value

Octal value

Character

0

0x00

000

null

1

0x01

001

start of heading

2

0x02

002

start of text

3

0x03

003

end of text

4

0x04

004

end of transmission

5

0x05

005

enquiry

6

0x06

006

acknowledge

7

0x07

007

bell

8

0x08

010

backspace

9

0x09

011

horizontal tab

10

0x0a

012

NL line feed, newline

11

0x0b

013

vertical tab

12

0x0c

014

NP form feed, new page

13

0x0d

015

carriage return

14

0x0e

016

shift out

15

0x0f

017

shift in

16

0x10

020

data link escape

17

0x11

021

device control 1

18

0x12

022

device control 2

19

0x13

023

device control 3

20

0x14

024

device control 4

21

0x15

025

negative acknowledge

22

0x16

026

synchronous idle

23

0x17

027

end of transmission block

24

0x18

030

cancel

25

0x19

031

end of medium

26

0x1a

032

substitute

27

0x1b

033

escape

28

0x1c

034

file separator

29

0x1d

035

group separator

30

0x1e

036

record separator

31

0x1f

037

unit separator

32

0x20

040

space

33

0x21

041

!

34

0x22

042

"

35

0x23

043

#

36

0x24

044

$

37

0x25

045

%

38

0x26

046

&

39

0x27

047

'

40

0x28

050

(

41

0x29

051

)

42

0x2a

052

*

43

0x2b

053

+

44

0x2c

054

,

45

0x2d

055

-

46

0x2e

056

.

47

0x2f

057

/

48

0x30

060

0

49

0x31

061

1

50

0x32

062

2

51

0x33

063

3

52

0x34

064

4

53

0x35

065

5

54

0x36

066

6

55

0x37

067

7

56

0x38 ...

Get Mastering Algorithms with Perl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.