line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package RTF::Charsets; |
2
|
|
|
|
|
|
|
$RTF::Charsets::VERSION = '1.12'; |
3
|
8
|
|
|
8
|
|
39
|
use strict; |
|
8
|
|
|
|
|
14
|
|
|
8
|
|
|
|
|
264
|
|
4
|
8
|
|
|
8
|
|
39
|
use warnings; |
|
8
|
|
|
|
|
13
|
|
|
8
|
|
|
|
|
199
|
|
5
|
|
|
|
|
|
|
|
6
|
8
|
|
|
8
|
|
43
|
use Exporter; |
|
8
|
|
|
|
|
15
|
|
|
8
|
|
|
|
|
305
|
|
7
|
8
|
|
|
8
|
|
38
|
use vars qw(@ISA @EXPORT); |
|
8
|
|
|
|
|
14
|
|
|
8
|
|
|
|
|
543
|
|
8
|
|
|
|
|
|
|
@ISA = qw(Exporter); |
9
|
8
|
|
|
8
|
|
102
|
use vars qw(%ansi %pc %pca %mac); |
|
8
|
|
|
|
|
13
|
|
|
8
|
|
|
|
|
4981
|
|
10
|
|
|
|
|
|
|
@EXPORT = qw(%ansi %pc %pca %mac); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# char sets from the RTF processor of Paul DuBois(dubois@primate.wisc.edu) |
13
|
|
|
|
|
|
|
%ansi = qw( |
14
|
|
|
|
|
|
|
formula 06 |
15
|
|
|
|
|
|
|
nobrkhyphen 1e |
16
|
|
|
|
|
|
|
opthyphen 1f |
17
|
|
|
|
|
|
|
ellipsis 85 |
18
|
|
|
|
|
|
|
nobrkspace a0 |
19
|
|
|
|
|
|
|
exclamdown a1 |
20
|
|
|
|
|
|
|
cent a2 |
21
|
|
|
|
|
|
|
sterling a3 |
22
|
|
|
|
|
|
|
currency a4 |
23
|
|
|
|
|
|
|
yen a5 |
24
|
|
|
|
|
|
|
brokenbar a6 |
25
|
|
|
|
|
|
|
section a7 |
26
|
|
|
|
|
|
|
dieresis a8 |
27
|
|
|
|
|
|
|
copyright a9 |
28
|
|
|
|
|
|
|
ordfeminine aa |
29
|
|
|
|
|
|
|
guillemotleft ab |
30
|
|
|
|
|
|
|
logicalnot ac |
31
|
|
|
|
|
|
|
opthyphen ad |
32
|
|
|
|
|
|
|
registered ae |
33
|
|
|
|
|
|
|
macron af |
34
|
|
|
|
|
|
|
degree b0 |
35
|
|
|
|
|
|
|
plusminus b1 |
36
|
|
|
|
|
|
|
twosuperior b2 |
37
|
|
|
|
|
|
|
threesuperior b3 |
38
|
|
|
|
|
|
|
acute b4 |
39
|
|
|
|
|
|
|
mu b5 |
40
|
|
|
|
|
|
|
paragraph b6 |
41
|
|
|
|
|
|
|
periodcentered b7 |
42
|
|
|
|
|
|
|
cedilla b8 |
43
|
|
|
|
|
|
|
onesuperior b9 |
44
|
|
|
|
|
|
|
ordmasculine ba |
45
|
|
|
|
|
|
|
guillemotright bb |
46
|
|
|
|
|
|
|
onequarter bc |
47
|
|
|
|
|
|
|
onehalf bd |
48
|
|
|
|
|
|
|
threequarters be |
49
|
|
|
|
|
|
|
questiondown bf |
50
|
|
|
|
|
|
|
Agrave c0 |
51
|
|
|
|
|
|
|
Aacute c1 |
52
|
|
|
|
|
|
|
Acircumflex c2 |
53
|
|
|
|
|
|
|
Atilde c3 |
54
|
|
|
|
|
|
|
Adieresis c4 |
55
|
|
|
|
|
|
|
Aring c5 |
56
|
|
|
|
|
|
|
AE c6 |
57
|
|
|
|
|
|
|
Ccedilla c7 |
58
|
|
|
|
|
|
|
Egrave c8 |
59
|
|
|
|
|
|
|
Eacute c9 |
60
|
|
|
|
|
|
|
Ecircumflex ca |
61
|
|
|
|
|
|
|
Edieresis cb |
62
|
|
|
|
|
|
|
Igrave cc |
63
|
|
|
|
|
|
|
Iacute cd |
64
|
|
|
|
|
|
|
Icircumflex ce |
65
|
|
|
|
|
|
|
Idieresis cf |
66
|
|
|
|
|
|
|
Eth d0 |
67
|
|
|
|
|
|
|
Ntilde d1 |
68
|
|
|
|
|
|
|
Ograve d2 |
69
|
|
|
|
|
|
|
Oacute d3 |
70
|
|
|
|
|
|
|
Ocircumflex d4 |
71
|
|
|
|
|
|
|
Otilde d5 |
72
|
|
|
|
|
|
|
Odieresis d6 |
73
|
|
|
|
|
|
|
multiply d7 |
74
|
|
|
|
|
|
|
Oslash d8 |
75
|
|
|
|
|
|
|
Ugrave d9 |
76
|
|
|
|
|
|
|
Uacute da |
77
|
|
|
|
|
|
|
Ucircumflex db |
78
|
|
|
|
|
|
|
Udieresis dc |
79
|
|
|
|
|
|
|
Yacute dd |
80
|
|
|
|
|
|
|
Thorn de |
81
|
|
|
|
|
|
|
germandbls df |
82
|
|
|
|
|
|
|
agrave e0 |
83
|
|
|
|
|
|
|
aacute e1 |
84
|
|
|
|
|
|
|
acircumflex e2 |
85
|
|
|
|
|
|
|
atilde e3 |
86
|
|
|
|
|
|
|
adieresis e4 |
87
|
|
|
|
|
|
|
aring e5 |
88
|
|
|
|
|
|
|
ae e6 |
89
|
|
|
|
|
|
|
ccedilla e7 |
90
|
|
|
|
|
|
|
egrave e8 |
91
|
|
|
|
|
|
|
eacute e9 |
92
|
|
|
|
|
|
|
ecircumflex ea |
93
|
|
|
|
|
|
|
edieresis eb |
94
|
|
|
|
|
|
|
igrave ec |
95
|
|
|
|
|
|
|
iacute ed |
96
|
|
|
|
|
|
|
icircumflex ee |
97
|
|
|
|
|
|
|
idieresis ef |
98
|
|
|
|
|
|
|
eth f0 |
99
|
|
|
|
|
|
|
ntilde f1 |
100
|
|
|
|
|
|
|
ograve f2 |
101
|
|
|
|
|
|
|
oacute f3 |
102
|
|
|
|
|
|
|
ocircumflex f4 |
103
|
|
|
|
|
|
|
otilde f5 |
104
|
|
|
|
|
|
|
odieresis f6 |
105
|
|
|
|
|
|
|
divide f7 |
106
|
|
|
|
|
|
|
oslash f8 |
107
|
|
|
|
|
|
|
ugrave f9 |
108
|
|
|
|
|
|
|
uacute fa |
109
|
|
|
|
|
|
|
ucircumflex fb |
110
|
|
|
|
|
|
|
udieresis fc |
111
|
|
|
|
|
|
|
yacute fd |
112
|
|
|
|
|
|
|
thorn fe |
113
|
|
|
|
|
|
|
ydieresis ff |
114
|
|
|
|
|
|
|
); |
115
|
|
|
|
|
|
|
%pc = qw( |
116
|
|
|
|
|
|
|
Ccedil 80 |
117
|
|
|
|
|
|
|
udieresis 81 |
118
|
|
|
|
|
|
|
eacute 82 |
119
|
|
|
|
|
|
|
acirc 83 |
120
|
|
|
|
|
|
|
adieresis 84 |
121
|
|
|
|
|
|
|
agrave 85 |
122
|
|
|
|
|
|
|
aring 86 |
123
|
|
|
|
|
|
|
ccedil 87 |
124
|
|
|
|
|
|
|
ecirc 88 |
125
|
|
|
|
|
|
|
edieresis 89 |
126
|
|
|
|
|
|
|
egrave 8a |
127
|
|
|
|
|
|
|
idieresis 8b |
128
|
|
|
|
|
|
|
icirc 8c |
129
|
|
|
|
|
|
|
igrave 8d |
130
|
|
|
|
|
|
|
Adieresis 8e |
131
|
|
|
|
|
|
|
Aring 8f |
132
|
|
|
|
|
|
|
Eacute 90 |
133
|
|
|
|
|
|
|
ae 91 |
134
|
|
|
|
|
|
|
AE 92 |
135
|
|
|
|
|
|
|
ocirc 93 |
136
|
|
|
|
|
|
|
odieresis 94 |
137
|
|
|
|
|
|
|
ograve 95 |
138
|
|
|
|
|
|
|
ucirc 96 |
139
|
|
|
|
|
|
|
ugrave 97 |
140
|
|
|
|
|
|
|
ydieresis 98 |
141
|
|
|
|
|
|
|
Odieresis 99 |
142
|
|
|
|
|
|
|
Udieresis 9a |
143
|
|
|
|
|
|
|
cent 9b |
144
|
|
|
|
|
|
|
sterling 9c |
145
|
|
|
|
|
|
|
yen 9d |
146
|
|
|
|
|
|
|
ucirc 9e |
147
|
|
|
|
|
|
|
florin 9f |
148
|
|
|
|
|
|
|
aacute a0 |
149
|
|
|
|
|
|
|
iacute a1 |
150
|
|
|
|
|
|
|
oacute a2 |
151
|
|
|
|
|
|
|
uacute a3 |
152
|
|
|
|
|
|
|
ntilde a4 |
153
|
|
|
|
|
|
|
Ntilde a5 |
154
|
|
|
|
|
|
|
ordfeminine a6 |
155
|
|
|
|
|
|
|
ordmasculine a7 |
156
|
|
|
|
|
|
|
questiondown a8 |
157
|
|
|
|
|
|
|
copyright a9 |
158
|
|
|
|
|
|
|
trademark aa |
159
|
|
|
|
|
|
|
acute ab |
160
|
|
|
|
|
|
|
dieresis ac |
161
|
|
|
|
|
|
|
exclamdown ad |
162
|
|
|
|
|
|
|
guillemotleft ae |
163
|
|
|
|
|
|
|
guillemotright af |
164
|
|
|
|
|
|
|
space b0 |
165
|
|
|
|
|
|
|
plusminus b1 |
166
|
|
|
|
|
|
|
lessequal b2 |
167
|
|
|
|
|
|
|
bar b3 |
168
|
|
|
|
|
|
|
yen b4 |
169
|
|
|
|
|
|
|
mu b5 |
170
|
|
|
|
|
|
|
partialdiff b6 |
171
|
|
|
|
|
|
|
Sigma b7 |
172
|
|
|
|
|
|
|
Pi b8 |
173
|
|
|
|
|
|
|
pi b9 |
174
|
|
|
|
|
|
|
integral ba |
175
|
|
|
|
|
|
|
ordfeminine bb |
176
|
|
|
|
|
|
|
ordmasculine bc |
177
|
|
|
|
|
|
|
Omega bd |
178
|
|
|
|
|
|
|
ae be |
179
|
|
|
|
|
|
|
logicalnot bf |
180
|
|
|
|
|
|
|
questiondown c0 |
181
|
|
|
|
|
|
|
exclamdown c1 |
182
|
|
|
|
|
|
|
logicalnot c2 |
183
|
|
|
|
|
|
|
radical c3 |
184
|
|
|
|
|
|
|
emdash c4 |
185
|
|
|
|
|
|
|
approxequal c5 |
186
|
|
|
|
|
|
|
delta c6 |
187
|
|
|
|
|
|
|
guillemotleft c7 |
188
|
|
|
|
|
|
|
guillemotright c8 |
189
|
|
|
|
|
|
|
ellipsis c9 |
190
|
|
|
|
|
|
|
nobrkspace ca |
191
|
|
|
|
|
|
|
Agrave cb |
192
|
|
|
|
|
|
|
Atilde cc |
193
|
|
|
|
|
|
|
Otilde cd |
194
|
|
|
|
|
|
|
OE ce |
195
|
|
|
|
|
|
|
oe cf |
196
|
|
|
|
|
|
|
endash d0 |
197
|
|
|
|
|
|
|
emdash d1 |
198
|
|
|
|
|
|
|
quotedblleft d2 |
199
|
|
|
|
|
|
|
quotedblright d3 |
200
|
|
|
|
|
|
|
quoteleft d4 |
201
|
|
|
|
|
|
|
quoteright d5 |
202
|
|
|
|
|
|
|
divide d6 |
203
|
|
|
|
|
|
|
lozenge d7 |
204
|
|
|
|
|
|
|
ydieresis d8 |
205
|
|
|
|
|
|
|
Ydieresis d9 |
206
|
|
|
|
|
|
|
fraction da |
207
|
|
|
|
|
|
|
Ydieresis db |
208
|
|
|
|
|
|
|
guilsinglleft dc |
209
|
|
|
|
|
|
|
greater dd |
210
|
|
|
|
|
|
|
less de |
211
|
|
|
|
|
|
|
fl df |
212
|
|
|
|
|
|
|
a e0 |
213
|
|
|
|
|
|
|
germandbls e1 |
214
|
|
|
|
|
|
|
quotesinglbase e2 |
215
|
|
|
|
|
|
|
pi e3 |
216
|
|
|
|
|
|
|
Sigma e4 |
217
|
|
|
|
|
|
|
Acirc e5 |
218
|
|
|
|
|
|
|
mu e6 |
219
|
|
|
|
|
|
|
Aacute e7 |
220
|
|
|
|
|
|
|
Edieresis e8 |
221
|
|
|
|
|
|
|
Egrave e9 |
222
|
|
|
|
|
|
|
Omega ea |
223
|
|
|
|
|
|
|
partialdiff eb |
224
|
|
|
|
|
|
|
infinity ec |
225
|
|
|
|
|
|
|
oslash ed |
226
|
|
|
|
|
|
|
e ee |
227
|
|
|
|
|
|
|
Ocirc ef |
228
|
|
|
|
|
|
|
equal f0 |
229
|
|
|
|
|
|
|
plusminus f1 |
230
|
|
|
|
|
|
|
greaterequal f2 |
231
|
|
|
|
|
|
|
lessequal f3 |
232
|
|
|
|
|
|
|
integral f4 |
233
|
|
|
|
|
|
|
integral f5 |
234
|
|
|
|
|
|
|
divide f6 |
235
|
|
|
|
|
|
|
approxequal f7 |
236
|
|
|
|
|
|
|
degree f8 |
237
|
|
|
|
|
|
|
bullet f9 |
238
|
|
|
|
|
|
|
bullet fa |
239
|
|
|
|
|
|
|
radical fb |
240
|
|
|
|
|
|
|
cedil fc |
241
|
|
|
|
|
|
|
hungarumlaut fd |
242
|
|
|
|
|
|
|
ogonek fe |
243
|
|
|
|
|
|
|
nbsp ff |
244
|
|
|
|
|
|
|
); |
245
|
|
|
|
|
|
|
%mac = qw( |
246
|
|
|
|
|
|
|
formula 06 |
247
|
|
|
|
|
|
|
nobrkhyphen 1e |
248
|
|
|
|
|
|
|
opthyphen 1f |
249
|
|
|
|
|
|
|
Adieresis 80 |
250
|
|
|
|
|
|
|
Aring 81 |
251
|
|
|
|
|
|
|
Ccedilla 82 |
252
|
|
|
|
|
|
|
Eacute 83 |
253
|
|
|
|
|
|
|
Ntilde 84 |
254
|
|
|
|
|
|
|
Odieresis 85 |
255
|
|
|
|
|
|
|
Udieresis 86 |
256
|
|
|
|
|
|
|
aacute 87 |
257
|
|
|
|
|
|
|
agrave 88 |
258
|
|
|
|
|
|
|
acircumflex 89 |
259
|
|
|
|
|
|
|
adieresis 8a |
260
|
|
|
|
|
|
|
atilde 8b |
261
|
|
|
|
|
|
|
aring 8c |
262
|
|
|
|
|
|
|
ccedilla 8d |
263
|
|
|
|
|
|
|
eacute 8e |
264
|
|
|
|
|
|
|
egrave 8f |
265
|
|
|
|
|
|
|
ecircumflex 90 |
266
|
|
|
|
|
|
|
edieresis 91 |
267
|
|
|
|
|
|
|
iacute 92 |
268
|
|
|
|
|
|
|
igrave 93 |
269
|
|
|
|
|
|
|
icircumflex 94 |
270
|
|
|
|
|
|
|
idieresis 95 |
271
|
|
|
|
|
|
|
ntilde 96 |
272
|
|
|
|
|
|
|
oacute 97 |
273
|
|
|
|
|
|
|
ograve 98 |
274
|
|
|
|
|
|
|
ocircumflex 99 |
275
|
|
|
|
|
|
|
odieresis 9a |
276
|
|
|
|
|
|
|
otilde 9b |
277
|
|
|
|
|
|
|
uacute 9c |
278
|
|
|
|
|
|
|
ugrave 9d |
279
|
|
|
|
|
|
|
ucircumflex 9e |
280
|
|
|
|
|
|
|
udieresis 9f |
281
|
|
|
|
|
|
|
dagger a0 |
282
|
|
|
|
|
|
|
degree a1 |
283
|
|
|
|
|
|
|
cent a2 |
284
|
|
|
|
|
|
|
sterling a3 |
285
|
|
|
|
|
|
|
section a4 |
286
|
|
|
|
|
|
|
bullet a5 |
287
|
|
|
|
|
|
|
paragraph a6 |
288
|
|
|
|
|
|
|
germandbls a7 |
289
|
|
|
|
|
|
|
registered a8 |
290
|
|
|
|
|
|
|
copyright a9 |
291
|
|
|
|
|
|
|
trademark aa |
292
|
|
|
|
|
|
|
acute ab |
293
|
|
|
|
|
|
|
dieresis ac |
294
|
|
|
|
|
|
|
notequal ad |
295
|
|
|
|
|
|
|
AE ae |
296
|
|
|
|
|
|
|
Oslash af |
297
|
|
|
|
|
|
|
infinity b0 |
298
|
|
|
|
|
|
|
plusminus b1 |
299
|
|
|
|
|
|
|
lessequal b2 |
300
|
|
|
|
|
|
|
greaterequal b3 |
301
|
|
|
|
|
|
|
yen b4 |
302
|
|
|
|
|
|
|
mu b5 |
303
|
|
|
|
|
|
|
partialdiff b6 |
304
|
|
|
|
|
|
|
Sigma b7 |
305
|
|
|
|
|
|
|
Pi b8 |
306
|
|
|
|
|
|
|
pi b9 |
307
|
|
|
|
|
|
|
integral ba |
308
|
|
|
|
|
|
|
ordfeminine bb |
309
|
|
|
|
|
|
|
ordmasculine bc |
310
|
|
|
|
|
|
|
Omega bd |
311
|
|
|
|
|
|
|
ae be |
312
|
|
|
|
|
|
|
oslash bf |
313
|
|
|
|
|
|
|
questiondown c0 |
314
|
|
|
|
|
|
|
exclamdown c1 |
315
|
|
|
|
|
|
|
logicalnot c2 |
316
|
|
|
|
|
|
|
radical c3 |
317
|
|
|
|
|
|
|
florin c4 |
318
|
|
|
|
|
|
|
approxequal c5 |
319
|
|
|
|
|
|
|
Delta c6 |
320
|
|
|
|
|
|
|
guillemotleft c7 |
321
|
|
|
|
|
|
|
guillemotright c8 |
322
|
|
|
|
|
|
|
ellipsis c9 |
323
|
|
|
|
|
|
|
nobrkspace ca |
324
|
|
|
|
|
|
|
Agrave cb |
325
|
|
|
|
|
|
|
OE ce |
326
|
|
|
|
|
|
|
oe cf |
327
|
|
|
|
|
|
|
endash d0 |
328
|
|
|
|
|
|
|
emdash d1 |
329
|
|
|
|
|
|
|
quotedblleft d2 |
330
|
|
|
|
|
|
|
quotedblright d3 |
331
|
|
|
|
|
|
|
quoteleft d4 |
332
|
|
|
|
|
|
|
quoteright d5 |
333
|
|
|
|
|
|
|
divide d6 |
334
|
|
|
|
|
|
|
lozenge d7 |
335
|
|
|
|
|
|
|
ydieresis d8 |
336
|
|
|
|
|
|
|
Ydieresis d9 |
337
|
|
|
|
|
|
|
fraction da |
338
|
|
|
|
|
|
|
currency db |
339
|
|
|
|
|
|
|
guilsinglleft dc |
340
|
|
|
|
|
|
|
guilsinglright dd |
341
|
|
|
|
|
|
|
fi de |
342
|
|
|
|
|
|
|
fl df |
343
|
|
|
|
|
|
|
daggerdbl e0 |
344
|
|
|
|
|
|
|
periodcentered e1 |
345
|
|
|
|
|
|
|
quotesinglbase e2 |
346
|
|
|
|
|
|
|
quotedblbase e3 |
347
|
|
|
|
|
|
|
perthousand e4 |
348
|
|
|
|
|
|
|
Acircumflex e5 |
349
|
|
|
|
|
|
|
Ecircumflex e6 |
350
|
|
|
|
|
|
|
Aacute e7 |
351
|
|
|
|
|
|
|
Edieresis e8 |
352
|
|
|
|
|
|
|
Egrave e9 |
353
|
|
|
|
|
|
|
Iacute ea |
354
|
|
|
|
|
|
|
Icircumflex eb |
355
|
|
|
|
|
|
|
Idieresis ec |
356
|
|
|
|
|
|
|
Igrave ed |
357
|
|
|
|
|
|
|
Oacute ee |
358
|
|
|
|
|
|
|
Ocircumflex ef |
359
|
|
|
|
|
|
|
apple f0 |
360
|
|
|
|
|
|
|
Ograve f1 |
361
|
|
|
|
|
|
|
Uacute f2 |
362
|
|
|
|
|
|
|
Ucircumflex f3 |
363
|
|
|
|
|
|
|
Ugrave f4 |
364
|
|
|
|
|
|
|
dotlessi f5 |
365
|
|
|
|
|
|
|
circumflex f6 |
366
|
|
|
|
|
|
|
tilde f7 |
367
|
|
|
|
|
|
|
macron f8 |
368
|
|
|
|
|
|
|
breve f9 |
369
|
|
|
|
|
|
|
dotaccent fa |
370
|
|
|
|
|
|
|
ring fb |
371
|
|
|
|
|
|
|
cedilla fc |
372
|
|
|
|
|
|
|
hungarumlaut fd |
373
|
|
|
|
|
|
|
ogonek fe |
374
|
|
|
|
|
|
|
caron ff |
375
|
|
|
|
|
|
|
); |
376
|
|
|
|
|
|
|
%pca = qw(); |
377
|
|
|
|
|
|
|
|
378
|
|
|
|
|
|
|
1; |
379
|
|
|
|
|
|
|
__END__ |