1/* src/backend/utils/mb/Unicode/utf8_to_koi8u.map */
2/* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */
3
4static const uint16 koi8u_from_unicode_tree_table[727];
5
6static const pg_mb_radix_tree koi8u_from_unicode_tree =
7{
8  koi8u_from_unicode_tree_table,
9  NULL, /* 32-bit table not used */
10
11  0x0000, /* offset of table for 1-byte inputs */
12  0x00, /* b1_lower */
13  0x00, /* b1_upper */
14
15  0x0040, /* offset of table for 2-byte inputs */
16  0xc2, /* b2_1_lower */
17  0xd2, /* b2_1_upper */
18  0x80, /* b2_2_lower */
19  0xbf, /* b2_2_upper */
20
21  0x0178, /* offset of table for 3-byte inputs */
22  0xe2, /* b3_1_lower */
23  0xe2, /* b3_1_upper */
24  0x88, /* b3_2_lower */
25  0x96, /* b3_2_upper */
26  0x80, /* b3_3_lower */
27  0xbc, /* b3_3_upper */
28
29  0x0000, /* offset of table for 3-byte inputs */
30  0x00, /* b4_1_lower */
31  0x00, /* b4_1_upper */
32  0x00, /* b4_2_lower */
33  0x00, /* b4_2_upper */
34  0x00, /* b4_3_lower */
35  0x00, /* b4_3_upper */
36  0x00, /* b4_4_lower */
37  0x00  /* b4_4_upper */
38};
39
40static const uint16 koi8u_from_unicode_tree_table[727] =
41{
42  /*** Dummy map, for invalid values - offset 0x00000 ***/
43
44  /* 00 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
45  /* 08 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
46  /* 10 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
47  /* 18 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
48  /* 20 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
49  /* 28 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
50  /* 30 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
51  /* 38 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
52
53  /*** Two byte table, byte #1: xx - offset 0x00040 ***/
54
55  /* c2 */  0x0051, 0x0089, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
56  /* ca */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00c8, 0x0108,
57  /* d2 */  0x0138,
58
59  /*** Two byte table, leaf: c2xx - offset 0x00051 ***/
60
61  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
62  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
63  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
64  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
65  /* a0 */  0x009a, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
66  /* a8 */  0x0000, 0x00bf, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
67  /* b0 */  0x009c, 0x0000, 0x009d, 0x0000, 0x0000, 0x0000, 0x0000, 0x009e,
68    /* 8 trailing zero values shared with next segment */
69
70  /*** Two byte table, leaf: c3xx - offset 0x00089 ***/
71
72  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
73  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
74  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
75  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
76  /* a0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
77  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
78  /* b0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x009f,
79  /* b8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
80    /* 1 trailing zero values shared with next segment */
81
82  /*** Two byte table, leaf: d0xx - offset 0x000c8 ***/
83
84  /* 80 */  0x0000, 0x00b3, 0x0000, 0x0000, 0x00b4, 0x0000, 0x00b6, 0x00b7,
85  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
86  /* 90 */  0x00e1, 0x00e2, 0x00f7, 0x00e7, 0x00e4, 0x00e5, 0x00f6, 0x00fa,
87  /* 98 */  0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef, 0x00f0,
88  /* a0 */  0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00e6, 0x00e8, 0x00e3, 0x00fe,
89  /* a8 */  0x00fb, 0x00fd, 0x00ff, 0x00f9, 0x00f8, 0x00fc, 0x00e0, 0x00f1,
90  /* b0 */  0x00c1, 0x00c2, 0x00d7, 0x00c7, 0x00c4, 0x00c5, 0x00d6, 0x00da,
91  /* b8 */  0x00c9, 0x00ca, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf, 0x00d0,
92
93  /*** Two byte table, leaf: d1xx - offset 0x00108 ***/
94
95  /* 80 */  0x00d2, 0x00d3, 0x00d4, 0x00d5, 0x00c6, 0x00c8, 0x00c3, 0x00de,
96  /* 88 */  0x00db, 0x00dd, 0x00df, 0x00d9, 0x00d8, 0x00dc, 0x00c0, 0x00d1,
97  /* 90 */  0x0000, 0x00a3, 0x0000, 0x0000, 0x00a4, 0x0000, 0x00a6, 0x00a7,
98  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
99  /* a0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
100  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
101    /* 16 trailing zero values shared with next segment */
102
103  /*** Two byte table, leaf: d2xx - offset 0x00138 ***/
104
105  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
106  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
107  /* 90 */  0x00bd, 0x00ad, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
108  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
109  /* a0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
110  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
111  /* b0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
112  /* b8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
113
114  /*** Three byte table, byte #1: xx - offset 0x00178 ***/
115
116  /* e2 */  0x0179,
117
118  /*** Three byte table, byte #2: e2xx - offset 0x00179 ***/
119
120  /* 88 */  0x0188, 0x01bd, 0x0000, 0x0000, 0x01e3, 0x0000, 0x0000, 0x0000,
121  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0220, 0x025d, 0x029a,
122
123  /*** Three byte table, leaf: e288xx - offset 0x00188 ***/
124
125  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
126  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
127  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
128  /* 98 */  0x0000, 0x0095, 0x0096, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
129  /* a0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
130  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
131  /* b0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
132    /* 8 trailing zero values shared with next segment */
133
134  /*** Three byte table, leaf: e289xx - offset 0x001bd ***/
135
136  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
137  /* 88 */  0x0097, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
138  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
139  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
140  /* a0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0098, 0x0099,
141    /* 23 trailing zero values shared with next segment */
142
143  /*** Three byte table, leaf: e28cxx - offset 0x001e3 ***/
144
145  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
146  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
147  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
148  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
149  /* a0 */  0x0093, 0x009b, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
150  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
151  /* b0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
152  /* b8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
153
154  /*** Three byte table, leaf: e294xx - offset 0x00220 ***/
155
156  /* 80 */  0x0080, 0x0000, 0x0081, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
157  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0082, 0x0000, 0x0000, 0x0000,
158  /* 90 */  0x0083, 0x0000, 0x0000, 0x0000, 0x0084, 0x0000, 0x0000, 0x0000,
159  /* 98 */  0x0085, 0x0000, 0x0000, 0x0000, 0x0086, 0x0000, 0x0000, 0x0000,
160  /* a0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0087, 0x0000, 0x0000, 0x0000,
161  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0088, 0x0000, 0x0000, 0x0000,
162  /* b0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0089, 0x0000, 0x0000, 0x0000,
163  /* b8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x008a,
164
165  /*** Three byte table, leaf: e295xx - offset 0x0025d ***/
166
167  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
168  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
169  /* 90 */  0x00a0, 0x00a1, 0x00a2, 0x0000, 0x00a5, 0x0000, 0x0000, 0x00a8,
170  /* 98 */  0x00a9, 0x00aa, 0x00ab, 0x00ac, 0x0000, 0x00ae, 0x00af, 0x00b0,
171  /* a0 */  0x00b1, 0x00b2, 0x0000, 0x00b5, 0x0000, 0x0000, 0x00b8, 0x00b9,
172  /* a8 */  0x00ba, 0x00bb, 0x00bc, 0x0000, 0x00be, 0x0000, 0x0000, 0x0000,
173  /* b0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
174  /* b8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
175
176  /*** Three byte table, leaf: e296xx - offset 0x0029a ***/
177
178  /* 80 */  0x008b, 0x0000, 0x0000, 0x0000, 0x008c, 0x0000, 0x0000, 0x0000,
179  /* 88 */  0x008d, 0x0000, 0x0000, 0x0000, 0x008e, 0x0000, 0x0000, 0x0000,
180  /* 90 */  0x008f, 0x0090, 0x0091, 0x0092, 0x0000, 0x0000, 0x0000, 0x0000,
181  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
182  /* a0 */  0x0094, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
183  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
184  /* b0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
185  /* b8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000
186};
187