Skip to Content
RTF Pocket Guide
book

RTF Pocket Guide

by Sean M. Burke
July 2003
Intermediate to advanced
158 pages
3h 6m
English
O'Reilly Media, Inc.
Content preview from RTF Pocket Guide

Chapter 4. Reference Tables

ASCII-RTF Character Chart

Table 4-1 shows the main printable characters you can access in RTF, as defined by the ANSI character set (also known as Code Page 1252, which is basically Latin-1 with some characters added between 128 and 159). Accessing Unicode characters is explained in the Character Formatting section of Chapter 1.

Note that while RTF escapes (\'xx) are valid for all characters, the only characters that have to be escaped are these three characters: {, }, and \, plus all the characters over code 127.

Table 4-1. ASCII-RTF character chart

ASCII code

RTF escape

Character

Character name

0–31

  

Control characters; do not use

32

\’20

 

Space

33

\’21

!

Exclamation mark

34

\’22

"

Double quote

35

\’23

#

Number

36

\’24

$

Dollar

37

\’25

%

Percent

38

\’26

&

Ampersand

39

\’27

'

Apostrophe

40

\’28

(

Left parenthesis

41

\’29

)

Right parenthesis

42

\’2a

*

Asterisk

43

\’2b

+

Plus sign

44

\’2c

,

Comma

45

\’2d

-

Hyphen (use \_ for nonbreaking hyphen)

46

\’2e

.

Period

47

\’2f

/

Slash

48–57

\’30–\’39

0–9

Digits 0–9

58

\’3a

:

Colon

59

\’3b

;

Semicolon

60

\’3c

<

Less-than sign

61

\’3d

=

Equals sign

62

\’3e

>

Greater-than sign

63

\’3f

?

Question mark

64

\’40

@

Commercial at sign

65

\’41

A

 

66

\’42

B

 

67

\’43

C

 

68

\’44

D

 

69

\’45

E

 

70

\’46

F

 

71

\’47

G

 

72

\’48

H

 

73

\’49

I

 

74

\’4a

J

 

75

\’4b

K

 

76

\’4c

L

 

77

\’4d

M

 

78

\’4e

N

 

79

\’4f

O

 

80

\’50

P

 

81

\’51

Q

 

82

\’52

R

 

83

\’53

S

 

84

\’54

T

 

85

\’55

U

 

86

\’56

V

 

87

\’57

W

 

88

\’58

X

 

89

\’59

Y

 

90

\’5a

Z

 

91

\’5b

[

Left square bracket

92

\’5c

\

Backslash

93

\’5d

]

Right square bracket

94

\’5e

^

Caret

95

\’5f

_

Underscore

96

\’60

`

Grave accent

97

\’61

a

 

98

\’62

b

 

99

\’63

c

 

100

\’64

d

 

101

\’65

e

 

102

\’66

f

 

103

\’67

g

 

104

\’68 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Lossless Information Hiding in Images

Lossless Information Hiding in Images

Zhe-Ming Lu, Shi-Ze Guo
Car PC Hacks

Car PC Hacks

Damien Stolarz
The Human Factor in AI-Based Decision-Making

The Human Factor in AI-Based Decision-Making

Philip Meissner, Christoph Keding

Publisher Resources

ISBN: 9781449302047Errata Page