1<?php
2// $Header: /cvsroot/html2ps/encoding.koi8-r.inc.php,v 1.5 2007/01/24 18:55:59 Konstantin Exp $
3
4$GLOBALS['g_koi8_r'] = 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" => 0x2500,	//	BOX DRAWINGS LIGHT HORIZONTAL
134"\x81" => 0x2502,	//	BOX DRAWINGS LIGHT VERTICAL
135"\x82" => 0x250C,	//	BOX DRAWINGS LIGHT DOWN AND RIGHT
136"\x83" => 0x2510,	//	BOX DRAWINGS LIGHT DOWN AND LEFT
137"\x84" => 0x2514,	//	BOX DRAWINGS LIGHT UP AND RIGHT
138"\x85" => 0x2518,	//	BOX DRAWINGS LIGHT UP AND LEFT
139"\x86" => 0x251C,	//	BOX DRAWINGS LIGHT VERTICAL AND RIGHT
140"\x87" => 0x2524,	//	BOX DRAWINGS LIGHT VERTICAL AND LEFT
141"\x88" => 0x252C,	//	BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
142"\x89" => 0x2534,	//	BOX DRAWINGS LIGHT UP AND HORIZONTAL
143"\x8A" => 0x253C,	//	BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
144"\x8B" => 0x2580,	//	UPPER HALF BLOCK
145"\x8C" => 0x2584,	//	LOWER HALF BLOCK
146"\x8D" => 0x2588,	//	FULL BLOCK
147"\x8E" => 0x258C,	//	LEFT HALF BLOCK
148"\x8F" => 0x2590,	//	RIGHT HALF BLOCK
149"\x90" => 0x2591,	//	LIGHT SHADE
150"\x91" => 0x2592,	//	MEDIUM SHADE
151"\x92" => 0x2593,	//	DARK SHADE
152"\x93" => 0x2320,	//	TOP HALF INTEGRAL
153"\x94" => 0x25A0,	//	BLACK SQUARE
154"\x95" => 0x2219,	//	BULLET OPERATOR
155"\x96" => 0x221A,	//	SQUARE ROOT
156"\x97" => 0x2248,	//	ALMOST EQUAL TO
157"\x98" => 0x2264,	//	LESS-THAN OR EQUAL TO
158"\x99" => 0x2265,	//	GREATER-THAN OR EQUAL TO
159"\x9A" => 0x00A0,	//	NO-BREAK SPACE
160"\x9B" => 0x2321,	//	BOTTOM HALF INTEGRAL
161"\x9C" => 0x00B0,	//	DEGREE SIGN
162"\x9D" => 0x00B2,	//	SUPERSCRIPT TWO
163"\x9E" => 0x00B7,	//	MIDDLE DOT
164"\x9F" => 0x00F7,	//	DIVISION SIGN
165"\xA0" => 0x2550,	//	BOX DRAWINGS DOUBLE HORIZONTAL
166"\xA1" => 0x2551,	//	BOX DRAWINGS DOUBLE VERTICAL
167"\xA2" => 0x2552,	//	BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
168"\xA3" => 0x0451,	//	CYRILLIC SMALL LETTER IO
169"\xA4" => 0x2553,	//	BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
170"\xA5" => 0x2554,	//	BOX DRAWINGS DOUBLE DOWN AND RIGHT
171"\xA6" => 0x2555,	//	BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
172"\xA7" => 0x2556,	//	BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
173"\xA8" => 0x2557,	//	BOX DRAWINGS DOUBLE DOWN AND LEFT
174"\xA9" => 0x2558,	//	BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
175"\xAA" => 0x2559,	//	BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
176"\xAB" => 0x255A,	//	BOX DRAWINGS DOUBLE UP AND RIGHT
177"\xAC" => 0x255B,	//	BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
178"\xAD" => 0x255C,	//	BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
179"\xAE" => 0x255D,	//	BOX DRAWINGS DOUBLE UP AND LEFT
180"\xAF" => 0x255E,	//	BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
181"\xB0" => 0x255F,	//	BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
182"\xB1" => 0x2560,	//	BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
183"\xB2" => 0x2561,	//	BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
184"\xB3" => 0x0401,	//	CYRILLIC CAPITAL LETTER IO
185"\xB4" => 0x2562,	//	BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
186"\xB5" => 0x2563,	//	BOX DRAWINGS DOUBLE VERTICAL AND LEFT
187"\xB6" => 0x2564,	//	BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
188"\xB7" => 0x2565,	//	BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
189"\xB8" => 0x2566,	//	BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
190"\xB9" => 0x2567,	//	BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
191"\xBA" => 0x2568,	//	BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
192"\xBB" => 0x2569,	//	BOX DRAWINGS DOUBLE UP AND HORIZONTAL
193"\xBC" => 0x256A,	//	BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
194"\xBD" => 0x256B,	//	BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
195"\xBE" => 0x256C,	//	BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
196"\xBF" => 0x00A9,	//	COPYRIGHT SIGN
197"\xC0" => 0x044E,	//	CYRILLIC SMALL LETTER YU
198"\xC1" => 0x0430,	//	CYRILLIC SMALL LETTER A
199"\xC2" => 0x0431,	//	CYRILLIC SMALL LETTER BE
200"\xC3" => 0x0446,	//	CYRILLIC SMALL LETTER TSE
201"\xC4" => 0x0434,	//	CYRILLIC SMALL LETTER DE
202"\xC5" => 0x0435,	//	CYRILLIC SMALL LETTER IE
203"\xC6" => 0x0444,	//	CYRILLIC SMALL LETTER EF
204"\xC7" => 0x0433,	//	CYRILLIC SMALL LETTER GHE
205"\xC8" => 0x0445,	//	CYRILLIC SMALL LETTER HA
206"\xC9" => 0x0438,	//	CYRILLIC SMALL LETTER I
207"\xCA" => 0x0439,	//	CYRILLIC SMALL LETTER SHORT I
208"\xCB" => 0x043A,	//	CYRILLIC SMALL LETTER KA
209"\xCC" => 0x043B,	//	CYRILLIC SMALL LETTER EL
210"\xCD" => 0x043C,	//	CYRILLIC SMALL LETTER EM
211"\xCE" => 0x043D,	//	CYRILLIC SMALL LETTER EN
212"\xCF" => 0x043E,	//	CYRILLIC SMALL LETTER O
213"\xD0" => 0x043F,	//	CYRILLIC SMALL LETTER PE
214"\xD1" => 0x044F,	//	CYRILLIC SMALL LETTER YA
215"\xD2" => 0x0440,	//	CYRILLIC SMALL LETTER ER
216"\xD3" => 0x0441,	//	CYRILLIC SMALL LETTER ES
217"\xD4" => 0x0442,	//	CYRILLIC SMALL LETTER TE
218"\xD5" => 0x0443,	//	CYRILLIC SMALL LETTER U
219"\xD6" => 0x0436,	//	CYRILLIC SMALL LETTER ZHE
220"\xD7" => 0x0432,	//	CYRILLIC SMALL LETTER VE
221"\xD8" => 0x044C,	//	CYRILLIC SMALL LETTER SOFT SIGN
222"\xD9" => 0x044B,	//	CYRILLIC SMALL LETTER YERU
223"\xDA" => 0x0437,	//	CYRILLIC SMALL LETTER ZE
224"\xDB" => 0x0448,	//	CYRILLIC SMALL LETTER SHA
225"\xDC" => 0x044D,	//	CYRILLIC SMALL LETTER E
226"\xDD" => 0x0449,	//	CYRILLIC SMALL LETTER SHCHA
227"\xDE" => 0x0447,	//	CYRILLIC SMALL LETTER CHE
228"\xDF" => 0x044A,	//	CYRILLIC SMALL LETTER HARD SIGN
229"\xE0" => 0x042E,	//	CYRILLIC CAPITAL LETTER YU
230"\xE1" => 0x0410,	//	CYRILLIC CAPITAL LETTER A
231"\xE2" => 0x0411,	//	CYRILLIC CAPITAL LETTER BE
232"\xE3" => 0x0426,	//	CYRILLIC CAPITAL LETTER TSE
233"\xE4" => 0x0414,	//	CYRILLIC CAPITAL LETTER DE
234"\xE5" => 0x0415,	//	CYRILLIC CAPITAL LETTER IE
235"\xE6" => 0x0424,	//	CYRILLIC CAPITAL LETTER EF
236"\xE7" => 0x0413,	//	CYRILLIC CAPITAL LETTER GHE
237"\xE8" => 0x0425,	//	CYRILLIC CAPITAL LETTER HA
238"\xE9" => 0x0418,	//	CYRILLIC CAPITAL LETTER I
239"\xEA" => 0x0419,	//	CYRILLIC CAPITAL LETTER SHORT I
240"\xEB" => 0x041A,	//	CYRILLIC CAPITAL LETTER KA
241"\xEC" => 0x041B,	//	CYRILLIC CAPITAL LETTER EL
242"\xED" => 0x041C,	//	CYRILLIC CAPITAL LETTER EM
243"\xEE" => 0x041D,	//	CYRILLIC CAPITAL LETTER EN
244"\xEF" => 0x041E,	//	CYRILLIC CAPITAL LETTER O
245"\xF0" => 0x041F,	//	CYRILLIC CAPITAL LETTER PE
246"\xF1" => 0x042F,	//	CYRILLIC CAPITAL LETTER YA
247"\xF2" => 0x0420,	//	CYRILLIC CAPITAL LETTER ER
248"\xF3" => 0x0421,	//	CYRILLIC CAPITAL LETTER ES
249"\xF4" => 0x0422,	//	CYRILLIC CAPITAL LETTER TE
250"\xF5" => 0x0423,	//	CYRILLIC CAPITAL LETTER U
251"\xF6" => 0x0416,	//	CYRILLIC CAPITAL LETTER ZHE
252"\xF7" => 0x0412,	//	CYRILLIC CAPITAL LETTER VE
253"\xF8" => 0x042C,	//	CYRILLIC CAPITAL LETTER SOFT SIGN
254"\xF9" => 0x042B,	//	CYRILLIC CAPITAL LETTER YERU
255"\xFA" => 0x0417,	//	CYRILLIC CAPITAL LETTER ZE
256"\xFB" => 0x0428,	//	CYRILLIC CAPITAL LETTER SHA
257"\xFC" => 0x042D,	//	CYRILLIC CAPITAL LETTER E
258"\xFD" => 0x0429,	//	CYRILLIC CAPITAL LETTER SHCHA
259"\xFE" => 0x0427,	//	CYRILLIC CAPITAL LETTER CHE
260"\xFF" => 0x042A	//	CYRILLIC CAPITAL LETTER HARD SIGN
261                      );
262?>