1<?php
2// $Header: /cvsroot/html2ps/encoding.windows-1251.inc.php,v 1.4 2007/01/24 18:56:00 Konstantin Exp $
3
4$GLOBALS['g_windows_1251'] = array(
5"\x00" => 0x0000,	//NULL
6"\x01" => 0x0001,	//START OF HEADING
7"\x02" => 0x0002,	//START OF TEXT
8"\x03" => 0x0003,	//END OF TEXT
9"\x04" => 0x0004,	//END OF TRANSMISSION
10"\x05" => 0x0005,	//ENQUIRY
11"\x06" => 0x0006,	//ACKNOWLEDGE
12"\x07" => 0x0007,	//BELL
13"\x08" => 0x0008,	//BACKSPACE
14"\x09" => 0x0009,	//HORIZONTAL TABULATION
15"\x0A" => 0x000A,	//LINE FEED
16"\x0B" => 0x000B,	//VERTICAL TABULATION
17"\x0C" => 0x000C,	//FORM FEED
18"\x0D" => 0x000D,	//CARRIAGE RETURN
19"\x0E" => 0x000E,	//SHIFT OUT
20"\x0F" => 0x000F,	//SHIFT IN
21"\x10" => 0x0010,	//DATA LINK ESCAPE
22"\x11" => 0x0011,	//DEVICE CONTROL ONE
23"\x12" => 0x0012,	//DEVICE CONTROL TWO
24"\x13" => 0x0013,	//DEVICE CONTROL THREE
25"\x14" => 0x0014,	//DEVICE CONTROL FOUR
26"\x15" => 0x0015,	//NEGATIVE ACKNOWLEDGE
27"\x16" => 0x0016,	//SYNCHRONOUS IDLE
28"\x17" => 0x0017,	//END OF TRANSMISSION BLOCK
29"\x18" => 0x0018,	//CANCEL
30"\x19" => 0x0019,	//END OF MEDIUM
31"\x1A" => 0x001A,	//SUBSTITUTE
32"\x1B" => 0x001B,	//ESCAPE
33"\x1C" => 0x001C,	//FILE SEPARATOR
34"\x1D" => 0x001D,	//GROUP SEPARATOR
35"\x1E" => 0x001E,	//RECORD SEPARATOR
36"\x1F" => 0x001F,	//UNIT SEPARATOR
37"\x20" => 0x0020,	//SPACE
38"\x21" => 0x0021,	//EXCLAMATION MARK
39"\x22" => 0x0022,	//QUOTATION MARK
40"\x23" => 0x0023,	//NUMBER SIGN
41"\x24" => 0x0024,	//DOLLAR SIGN
42"\x25" => 0x0025,	//PERCENT SIGN
43"\x26" => 0x0026,	//AMPERSAND
44"\x27" => 0x0027,	//APOSTROPHE
45"\x28" => 0x0028,	//LEFT PARENTHESIS
46"\x29" => 0x0029,	//RIGHT PARENTHESIS
47"\x2A" => 0x002A,	//ASTERISK
48"\x2B" => 0x002B,	//PLUS SIGN
49"\x2C" => 0x002C,	//COMMA
50"\x2D" => 0x002D,	//HYPHEN-MINUS
51"\x2E" => 0x002E,	//FULL STOP
52"\x2F" => 0x002F,	//SOLIDUS
53"\x30" => 0x0030,	//DIGIT ZERO
54"\x31" => 0x0031,	//DIGIT ONE
55"\x32" => 0x0032,	//DIGIT TWO
56"\x33" => 0x0033,	//DIGIT THREE
57"\x34" => 0x0034,	//DIGIT FOUR
58"\x35" => 0x0035,	//DIGIT FIVE
59"\x36" => 0x0036,	//DIGIT SIX
60"\x37" => 0x0037,	//DIGIT SEVEN
61"\x38" => 0x0038,	//DIGIT EIGHT
62"\x39" => 0x0039,	//DIGIT NINE
63"\x3A" => 0x003A,	//COLON
64"\x3B" => 0x003B,	//SEMICOLON
65"\x3C" => 0x003C,	//LESS-THAN SIGN
66"\x3D" => 0x003D,	//EQUALS SIGN
67"\x3E" => 0x003E,	//GREATER-THAN SIGN
68"\x3F" => 0x003F,	//QUESTION MARK
69"\x40" => 0x0040,	//COMMERCIAL AT
70"\x41" => 0x0041,	//LATIN CAPITAL LETTER A
71"\x42" => 0x0042,	//LATIN CAPITAL LETTER B
72"\x43" => 0x0043,	//LATIN CAPITAL LETTER C
73"\x44" => 0x0044,	//LATIN CAPITAL LETTER D
74"\x45" => 0x0045,	//LATIN CAPITAL LETTER E
75"\x46" => 0x0046,	//LATIN CAPITAL LETTER F
76"\x47" => 0x0047,	//LATIN CAPITAL LETTER G
77"\x48" => 0x0048,	//LATIN CAPITAL LETTER H
78"\x49" => 0x0049,	//LATIN CAPITAL LETTER I
79"\x4A" => 0x004A,	//LATIN CAPITAL LETTER J
80"\x4B" => 0x004B,	//LATIN CAPITAL LETTER K
81"\x4C" => 0x004C,	//LATIN CAPITAL LETTER L
82"\x4D" => 0x004D,	//LATIN CAPITAL LETTER M
83"\x4E" => 0x004E,	//LATIN CAPITAL LETTER N
84"\x4F" => 0x004F,	//LATIN CAPITAL LETTER O
85"\x50" => 0x0050,	//LATIN CAPITAL LETTER P
86"\x51" => 0x0051,	//LATIN CAPITAL LETTER Q
87"\x52" => 0x0052,	//LATIN CAPITAL LETTER R
88"\x53" => 0x0053,	//LATIN CAPITAL LETTER S
89"\x54" => 0x0054,	//LATIN CAPITAL LETTER T
90"\x55" => 0x0055,	//LATIN CAPITAL LETTER U
91"\x56" => 0x0056,	//LATIN CAPITAL LETTER V
92"\x57" => 0x0057,	//LATIN CAPITAL LETTER W
93"\x58" => 0x0058,	//LATIN CAPITAL LETTER X
94"\x59" => 0x0059,	//LATIN CAPITAL LETTER Y
95"\x5A" => 0x005A,	//LATIN CAPITAL LETTER Z
96"\x5B" => 0x005B,	//LEFT SQUARE BRACKET
97"\x5C" => 0x005C,	//REVERSE SOLIDUS
98"\x5D" => 0x005D,	//RIGHT SQUARE BRACKET
99"\x5E" => 0x005E,	//CIRCUMFLEX ACCENT
100"\x5F" => 0x005F,	//LOW LINE
101"\x60" => 0x0060,	//GRAVE ACCENT
102"\x61" => 0x0061,	//LATIN SMALL LETTER A
103"\x62" => 0x0062,	//LATIN SMALL LETTER B
104"\x63" => 0x0063,	//LATIN SMALL LETTER C
105"\x64" => 0x0064,	//LATIN SMALL LETTER D
106"\x65" => 0x0065,	//LATIN SMALL LETTER E
107"\x66" => 0x0066,	//LATIN SMALL LETTER F
108"\x67" => 0x0067,	//LATIN SMALL LETTER G
109"\x68" => 0x0068,	//LATIN SMALL LETTER H
110"\x69" => 0x0069,	//LATIN SMALL LETTER I
111"\x6A" => 0x006A,	//LATIN SMALL LETTER J
112"\x6B" => 0x006B,	//LATIN SMALL LETTER K
113"\x6C" => 0x006C,	//LATIN SMALL LETTER L
114"\x6D" => 0x006D,	//LATIN SMALL LETTER M
115"\x6E" => 0x006E,	//LATIN SMALL LETTER N
116"\x6F" => 0x006F,	//LATIN SMALL LETTER O
117"\x70" => 0x0070,	//LATIN SMALL LETTER P
118"\x71" => 0x0071,	//LATIN SMALL LETTER Q
119"\x72" => 0x0072,	//LATIN SMALL LETTER R
120"\x73" => 0x0073,	//LATIN SMALL LETTER S
121"\x74" => 0x0074,	//LATIN SMALL LETTER T
122"\x75" => 0x0075,	//LATIN SMALL LETTER U
123"\x76" => 0x0076,	//LATIN SMALL LETTER V
124"\x77" => 0x0077,	//LATIN SMALL LETTER W
125"\x78" => 0x0078,	//LATIN SMALL LETTER X
126"\x79" => 0x0079,	//LATIN SMALL LETTER Y
127"\x7A" => 0x007A,	//LATIN SMALL LETTER Z
128"\x7B" => 0x007B,	//LEFT CURLY BRACKET
129"\x7C" => 0x007C,	//VERTICAL LINE
130"\x7D" => 0x007D,	//RIGHT CURLY BRACKET
131"\x7E" => 0x007E,	//TILDE
132"\x7F" => 0x007F,	//DELETE
133"\x80" => 0x0402,	//CYRILLIC CAPITAL LETTER DJE
134"\x81" => 0x0403,	//CYRILLIC CAPITAL LETTER GJE
135"\x82" => 0x201A,	//SINGLE LOW-9 QUOTATION MARK
136"\x83" => 0x0453,	//CYRILLIC SMALL LETTER GJE
137"\x84" => 0x201E,	//DOUBLE LOW-9 QUOTATION MARK
138"\x85" => 0x2026,	//HORIZONTAL ELLIPSIS
139"\x86" => 0x2020,	//DAGGER
140"\x87" => 0x2021,	//DOUBLE DAGGER
141"\x88" => 0x20AC,	//EURO SIGN
142"\x89" => 0x2030,	//PER MILLE SIGN
143"\x8A" => 0x0409,	//CYRILLIC CAPITAL LETTER LJE
144"\x8B" => 0x2039,	//SINGLE LEFT-POINTING ANGLE QUOTATION MARK
145"\x8C" => 0x040A,	//CYRILLIC CAPITAL LETTER NJE
146"\x8D" => 0x040C,	//CYRILLIC CAPITAL LETTER KJE
147"\x8E" => 0x040B,	//CYRILLIC CAPITAL LETTER TSHE
148"\x8F" => 0x040F,	//CYRILLIC CAPITAL LETTER DZHE
149"\x90" => 0x0452,	//CYRILLIC SMALL LETTER DJE
150"\x91" => 0x2018,	//LEFT SINGLE QUOTATION MARK
151"\x92" => 0x2019,	//RIGHT SINGLE QUOTATION MARK
152"\x93" => 0x201C,	//LEFT DOUBLE QUOTATION MARK
153"\x94" => 0x201D,	//RIGHT DOUBLE QUOTATION MARK
154"\x95" => 0x2022,	//BULLET
155"\x96" => 0x2013,	//EN DASH
156"\x97" => 0x2014,	//EM DASH
157"\x99" => 0x2122,	//TRADE MARK SIGN
158"\x9A" => 0x0459,	//CYRILLIC SMALL LETTER LJE
159"\x9B" => 0x203A,	//SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
160"\x9C" => 0x045A,	//CYRILLIC SMALL LETTER NJE
161"\x9D" => 0x045C,	//CYRILLIC SMALL LETTER KJE
162"\x9E" => 0x045B,	//CYRILLIC SMALL LETTER TSHE
163"\x9F" => 0x045F,	//CYRILLIC SMALL LETTER DZHE
164"\xA0" => 0x00A0,	//NO-BREAK SPACE
165"\xA1" => 0x040E,	//CYRILLIC CAPITAL LETTER SHORT U
166"\xA2" => 0x045E,	//CYRILLIC SMALL LETTER SHORT U
167"\xA3" => 0x0408,	//CYRILLIC CAPITAL LETTER JE
168"\xA4" => 0x00A4,	//CURRENCY SIGN
169"\xA5" => 0x0490,	//CYRILLIC CAPITAL LETTER GHE WITH UPTURN
170"\xA6" => 0x00A6,	//BROKEN BAR
171"\xA7" => 0x00A7,	//SECTION SIGN
172"\xA8" => 0x0401,	//CYRILLIC CAPITAL LETTER IO
173"\xA9" => 0x00A9,	//COPYRIGHT SIGN
174"\xAA" => 0x0404,	//CYRILLIC CAPITAL LETTER UKRAINIAN IE
175"\xAB" => 0x00AB,	//LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
176"\xAC" => 0x00AC,	//NOT SIGN
177"\xAD" => 0x00AD,	//SOFT HYPHEN
178"\xAE" => 0x00AE,	//REGISTERED SIGN
179"\xAF" => 0x0407,	//CYRILLIC CAPITAL LETTER YI
180"\xB0" => 0x00B0,	//DEGREE SIGN
181"\xB1" => 0x00B1,	//PLUS-MINUS SIGN
182"\xB2" => 0x0406,	//CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
183"\xB3" => 0x0456,	//CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
184"\xB4" => 0x0491,	//CYRILLIC SMALL LETTER GHE WITH UPTURN
185"\xB5" => 0x00B5,	//MICRO SIGN
186"\xB6" => 0x00B6,	//PILCROW SIGN
187"\xB7" => 0x00B7,	//MIDDLE DOT
188"\xB8" => 0x0451,	//CYRILLIC SMALL LETTER IO
189"\xB9" => 0x2116,	//NUMERO SIGN
190"\xBA" => 0x0454,	//CYRILLIC SMALL LETTER UKRAINIAN IE
191"\xBB" => 0x00BB,	//RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
192"\xBC" => 0x0458,	//CYRILLIC SMALL LETTER JE
193"\xBD" => 0x0405,	//CYRILLIC CAPITAL LETTER DZE
194"\xBE" => 0x0455,	//CYRILLIC SMALL LETTER DZE
195"\xBF" => 0x0457,	//CYRILLIC SMALL LETTER YI
196"\xC0" => 0x0410,	//CYRILLIC CAPITAL LETTER A
197"\xC1" => 0x0411,	//CYRILLIC CAPITAL LETTER BE
198"\xC2" => 0x0412,	//CYRILLIC CAPITAL LETTER VE
199"\xC3" => 0x0413,	//CYRILLIC CAPITAL LETTER GHE
200"\xC4" => 0x0414,	//CYRILLIC CAPITAL LETTER DE
201"\xC5" => 0x0415,	//CYRILLIC CAPITAL LETTER IE
202"\xC6" => 0x0416,	//CYRILLIC CAPITAL LETTER ZHE
203"\xC7" => 0x0417,	//CYRILLIC CAPITAL LETTER ZE
204"\xC8" => 0x0418,	//CYRILLIC CAPITAL LETTER I
205"\xC9" => 0x0419,	//CYRILLIC CAPITAL LETTER SHORT I
206"\xCA" => 0x041A,	//CYRILLIC CAPITAL LETTER KA
207"\xCB" => 0x041B,	//CYRILLIC CAPITAL LETTER EL
208"\xCC" => 0x041C,	//CYRILLIC CAPITAL LETTER EM
209"\xCD" => 0x041D,	//CYRILLIC CAPITAL LETTER EN
210"\xCE" => 0x041E,	//CYRILLIC CAPITAL LETTER O
211"\xCF" => 0x041F,	//CYRILLIC CAPITAL LETTER PE
212"\xD0" => 0x0420,	//CYRILLIC CAPITAL LETTER ER
213"\xD1" => 0x0421,	//CYRILLIC CAPITAL LETTER ES
214"\xD2" => 0x0422,	//CYRILLIC CAPITAL LETTER TE
215"\xD3" => 0x0423,	//CYRILLIC CAPITAL LETTER U
216"\xD4" => 0x0424,	//CYRILLIC CAPITAL LETTER EF
217"\xD5" => 0x0425,	//CYRILLIC CAPITAL LETTER HA
218"\xD6" => 0x0426,	//CYRILLIC CAPITAL LETTER TSE
219"\xD7" => 0x0427,	//CYRILLIC CAPITAL LETTER CHE
220"\xD8" => 0x0428,	//CYRILLIC CAPITAL LETTER SHA
221"\xD9" => 0x0429,	//CYRILLIC CAPITAL LETTER SHCHA
222"\xDA" => 0x042A,	//CYRILLIC CAPITAL LETTER HARD SIGN
223"\xDB" => 0x042B,	//CYRILLIC CAPITAL LETTER YERU
224"\xDC" => 0x042C,	//CYRILLIC CAPITAL LETTER SOFT SIGN
225"\xDD" => 0x042D,	//CYRILLIC CAPITAL LETTER E
226"\xDE" => 0x042E,	//CYRILLIC CAPITAL LETTER YU
227"\xDF" => 0x042F,	//CYRILLIC CAPITAL LETTER YA
228"\xE0" => 0x0430,	//CYRILLIC SMALL LETTER A
229"\xE1" => 0x0431,	//CYRILLIC SMALL LETTER BE
230"\xE2" => 0x0432,	//CYRILLIC SMALL LETTER VE
231"\xE3" => 0x0433,	//CYRILLIC SMALL LETTER GHE
232"\xE4" => 0x0434,	//CYRILLIC SMALL LETTER DE
233"\xE5" => 0x0435,	//CYRILLIC SMALL LETTER IE
234"\xE6" => 0x0436,	//CYRILLIC SMALL LETTER ZHE
235"\xE7" => 0x0437,	//CYRILLIC SMALL LETTER ZE
236"\xE8" => 0x0438,	//CYRILLIC SMALL LETTER I
237"\xE9" => 0x0439,	//CYRILLIC SMALL LETTER SHORT I
238"\xEA" => 0x043A,	//CYRILLIC SMALL LETTER KA
239"\xEB" => 0x043B,	//CYRILLIC SMALL LETTER EL
240"\xEC" => 0x043C,	//CYRILLIC SMALL LETTER EM
241"\xED" => 0x043D,	//CYRILLIC SMALL LETTER EN
242"\xEE" => 0x043E,	//CYRILLIC SMALL LETTER O
243"\xEF" => 0x043F,	//CYRILLIC SMALL LETTER PE
244"\xF0" => 0x0440,	//CYRILLIC SMALL LETTER ER
245"\xF1" => 0x0441,	//CYRILLIC SMALL LETTER ES
246"\xF2" => 0x0442,	//CYRILLIC SMALL LETTER TE
247"\xF3" => 0x0443,	//CYRILLIC SMALL LETTER U
248"\xF4" => 0x0444,	//CYRILLIC SMALL LETTER EF
249"\xF5" => 0x0445,	//CYRILLIC SMALL LETTER HA
250"\xF6" => 0x0446,	//CYRILLIC SMALL LETTER TSE
251"\xF7" => 0x0447,	//CYRILLIC SMALL LETTER CHE
252"\xF8" => 0x0448,	//CYRILLIC SMALL LETTER SHA
253"\xF9" => 0x0449,	//CYRILLIC SMALL LETTER SHCHA
254"\xFA" => 0x044A,	//CYRILLIC SMALL LETTER HARD SIGN
255"\xFB" => 0x044B,	//CYRILLIC SMALL LETTER YERU
256"\xFC" => 0x044C,	//CYRILLIC SMALL LETTER SOFT SIGN
257"\xFD" => 0x044D,	//CYRILLIC SMALL LETTER E
258"\xFE" => 0x044E,	//CYRILLIC SMALL LETTER YU
259"\xFF" => 0x044F	//CYRILLIC SMALL LETTER YA
260);
261?>