1 | /* src/backend/utils/mb/Unicode/koi8u_to_utf8.map */ |
2 | /* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */ |
3 | |
4 | static const uint32 koi8u_to_unicode_tree_table[256]; |
5 | |
6 | static const pg_mb_radix_tree koi8u_to_unicode_tree = |
7 | { |
8 | NULL, /* 16-bit table not used */ |
9 | koi8u_to_unicode_tree_table, |
10 | |
11 | 0x0080, /* offset of table for 1-byte inputs */ |
12 | 0x80, /* b1_lower */ |
13 | 0xff, /* b1_upper */ |
14 | |
15 | 0x0000, /* offset of table for 2-byte inputs */ |
16 | 0x00, /* b2_1_lower */ |
17 | 0x00, /* b2_1_upper */ |
18 | 0x00, /* b2_2_lower */ |
19 | 0x00, /* b2_2_upper */ |
20 | |
21 | 0x0000, /* offset of table for 3-byte inputs */ |
22 | 0x00, /* b3_1_lower */ |
23 | 0x00, /* b3_1_upper */ |
24 | 0x00, /* b3_2_lower */ |
25 | 0x00, /* b3_2_upper */ |
26 | 0x00, /* b3_3_lower */ |
27 | 0x00, /* 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 | |
40 | static const uint32 koi8u_to_unicode_tree_table[256] = |
41 | { |
42 | /*** Dummy map, for invalid values - offset 0x00000 ***/ |
43 | |
44 | /* 00 */ 0x000000, 0x000000, 0x000000, 0x000000, |
45 | /* 04 */ 0x000000, 0x000000, 0x000000, 0x000000, |
46 | /* 08 */ 0x000000, 0x000000, 0x000000, 0x000000, |
47 | /* 0c */ 0x000000, 0x000000, 0x000000, 0x000000, |
48 | /* 10 */ 0x000000, 0x000000, 0x000000, 0x000000, |
49 | /* 14 */ 0x000000, 0x000000, 0x000000, 0x000000, |
50 | /* 18 */ 0x000000, 0x000000, 0x000000, 0x000000, |
51 | /* 1c */ 0x000000, 0x000000, 0x000000, 0x000000, |
52 | /* 20 */ 0x000000, 0x000000, 0x000000, 0x000000, |
53 | /* 24 */ 0x000000, 0x000000, 0x000000, 0x000000, |
54 | /* 28 */ 0x000000, 0x000000, 0x000000, 0x000000, |
55 | /* 2c */ 0x000000, 0x000000, 0x000000, 0x000000, |
56 | /* 30 */ 0x000000, 0x000000, 0x000000, 0x000000, |
57 | /* 34 */ 0x000000, 0x000000, 0x000000, 0x000000, |
58 | /* 38 */ 0x000000, 0x000000, 0x000000, 0x000000, |
59 | /* 3c */ 0x000000, 0x000000, 0x000000, 0x000000, |
60 | /* 40 */ 0x000000, 0x000000, 0x000000, 0x000000, |
61 | /* 44 */ 0x000000, 0x000000, 0x000000, 0x000000, |
62 | /* 48 */ 0x000000, 0x000000, 0x000000, 0x000000, |
63 | /* 4c */ 0x000000, 0x000000, 0x000000, 0x000000, |
64 | /* 50 */ 0x000000, 0x000000, 0x000000, 0x000000, |
65 | /* 54 */ 0x000000, 0x000000, 0x000000, 0x000000, |
66 | /* 58 */ 0x000000, 0x000000, 0x000000, 0x000000, |
67 | /* 5c */ 0x000000, 0x000000, 0x000000, 0x000000, |
68 | /* 60 */ 0x000000, 0x000000, 0x000000, 0x000000, |
69 | /* 64 */ 0x000000, 0x000000, 0x000000, 0x000000, |
70 | /* 68 */ 0x000000, 0x000000, 0x000000, 0x000000, |
71 | /* 6c */ 0x000000, 0x000000, 0x000000, 0x000000, |
72 | /* 70 */ 0x000000, 0x000000, 0x000000, 0x000000, |
73 | /* 74 */ 0x000000, 0x000000, 0x000000, 0x000000, |
74 | /* 78 */ 0x000000, 0x000000, 0x000000, 0x000000, |
75 | /* 7c */ 0x000000, 0x000000, 0x000000, 0x000000, |
76 | |
77 | /*** Single byte table, leaf: xx - offset 0x00080 ***/ |
78 | |
79 | /* 80 */ 0xe29480, 0xe29482, 0xe2948c, 0xe29490, |
80 | /* 84 */ 0xe29494, 0xe29498, 0xe2949c, 0xe294a4, |
81 | /* 88 */ 0xe294ac, 0xe294b4, 0xe294bc, 0xe29680, |
82 | /* 8c */ 0xe29684, 0xe29688, 0xe2968c, 0xe29690, |
83 | /* 90 */ 0xe29691, 0xe29692, 0xe29693, 0xe28ca0, |
84 | /* 94 */ 0xe296a0, 0xe28899, 0xe2889a, 0xe28988, |
85 | /* 98 */ 0xe289a4, 0xe289a5, 0x00c2a0, 0xe28ca1, |
86 | /* 9c */ 0x00c2b0, 0x00c2b2, 0x00c2b7, 0x00c3b7, |
87 | /* a0 */ 0xe29590, 0xe29591, 0xe29592, 0x00d191, |
88 | /* a4 */ 0x00d194, 0xe29594, 0x00d196, 0x00d197, |
89 | /* a8 */ 0xe29597, 0xe29598, 0xe29599, 0xe2959a, |
90 | /* ac */ 0xe2959b, 0x00d291, 0xe2959d, 0xe2959e, |
91 | /* b0 */ 0xe2959f, 0xe295a0, 0xe295a1, 0x00d081, |
92 | /* b4 */ 0x00d084, 0xe295a3, 0x00d086, 0x00d087, |
93 | /* b8 */ 0xe295a6, 0xe295a7, 0xe295a8, 0xe295a9, |
94 | /* bc */ 0xe295aa, 0x00d290, 0xe295ac, 0x00c2a9, |
95 | /* c0 */ 0x00d18e, 0x00d0b0, 0x00d0b1, 0x00d186, |
96 | /* c4 */ 0x00d0b4, 0x00d0b5, 0x00d184, 0x00d0b3, |
97 | /* c8 */ 0x00d185, 0x00d0b8, 0x00d0b9, 0x00d0ba, |
98 | /* cc */ 0x00d0bb, 0x00d0bc, 0x00d0bd, 0x00d0be, |
99 | /* d0 */ 0x00d0bf, 0x00d18f, 0x00d180, 0x00d181, |
100 | /* d4 */ 0x00d182, 0x00d183, 0x00d0b6, 0x00d0b2, |
101 | /* d8 */ 0x00d18c, 0x00d18b, 0x00d0b7, 0x00d188, |
102 | /* dc */ 0x00d18d, 0x00d189, 0x00d187, 0x00d18a, |
103 | /* e0 */ 0x00d0ae, 0x00d090, 0x00d091, 0x00d0a6, |
104 | /* e4 */ 0x00d094, 0x00d095, 0x00d0a4, 0x00d093, |
105 | /* e8 */ 0x00d0a5, 0x00d098, 0x00d099, 0x00d09a, |
106 | /* ec */ 0x00d09b, 0x00d09c, 0x00d09d, 0x00d09e, |
107 | /* f0 */ 0x00d09f, 0x00d0af, 0x00d0a0, 0x00d0a1, |
108 | /* f4 */ 0x00d0a2, 0x00d0a3, 0x00d096, 0x00d092, |
109 | /* f8 */ 0x00d0ac, 0x00d0ab, 0x00d097, 0x00d0a8, |
110 | /* fc */ 0x00d0ad, 0x00d0a9, 0x00d0a7, 0x00d0aa |
111 | }; |
112 | |