1 | /* src/backend/utils/mb/Unicode/win866_to_utf8.map */ |
2 | /* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */ |
3 | |
4 | static const uint32 win866_to_unicode_tree_table[256]; |
5 | |
6 | static const pg_mb_radix_tree win866_to_unicode_tree = |
7 | { |
8 | NULL, /* 16-bit table not used */ |
9 | win866_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 win866_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 */ 0x00d090, 0x00d091, 0x00d092, 0x00d093, |
80 | /* 84 */ 0x00d094, 0x00d095, 0x00d096, 0x00d097, |
81 | /* 88 */ 0x00d098, 0x00d099, 0x00d09a, 0x00d09b, |
82 | /* 8c */ 0x00d09c, 0x00d09d, 0x00d09e, 0x00d09f, |
83 | /* 90 */ 0x00d0a0, 0x00d0a1, 0x00d0a2, 0x00d0a3, |
84 | /* 94 */ 0x00d0a4, 0x00d0a5, 0x00d0a6, 0x00d0a7, |
85 | /* 98 */ 0x00d0a8, 0x00d0a9, 0x00d0aa, 0x00d0ab, |
86 | /* 9c */ 0x00d0ac, 0x00d0ad, 0x00d0ae, 0x00d0af, |
87 | /* a0 */ 0x00d0b0, 0x00d0b1, 0x00d0b2, 0x00d0b3, |
88 | /* a4 */ 0x00d0b4, 0x00d0b5, 0x00d0b6, 0x00d0b7, |
89 | /* a8 */ 0x00d0b8, 0x00d0b9, 0x00d0ba, 0x00d0bb, |
90 | /* ac */ 0x00d0bc, 0x00d0bd, 0x00d0be, 0x00d0bf, |
91 | /* b0 */ 0xe29691, 0xe29692, 0xe29693, 0xe29482, |
92 | /* b4 */ 0xe294a4, 0xe295a1, 0xe295a2, 0xe29596, |
93 | /* b8 */ 0xe29595, 0xe295a3, 0xe29591, 0xe29597, |
94 | /* bc */ 0xe2959d, 0xe2959c, 0xe2959b, 0xe29490, |
95 | /* c0 */ 0xe29494, 0xe294b4, 0xe294ac, 0xe2949c, |
96 | /* c4 */ 0xe29480, 0xe294bc, 0xe2959e, 0xe2959f, |
97 | /* c8 */ 0xe2959a, 0xe29594, 0xe295a9, 0xe295a6, |
98 | /* cc */ 0xe295a0, 0xe29590, 0xe295ac, 0xe295a7, |
99 | /* d0 */ 0xe295a8, 0xe295a4, 0xe295a5, 0xe29599, |
100 | /* d4 */ 0xe29598, 0xe29592, 0xe29593, 0xe295ab, |
101 | /* d8 */ 0xe295aa, 0xe29498, 0xe2948c, 0xe29688, |
102 | /* dc */ 0xe29684, 0xe2968c, 0xe29690, 0xe29680, |
103 | /* e0 */ 0x00d180, 0x00d181, 0x00d182, 0x00d183, |
104 | /* e4 */ 0x00d184, 0x00d185, 0x00d186, 0x00d187, |
105 | /* e8 */ 0x00d188, 0x00d189, 0x00d18a, 0x00d18b, |
106 | /* ec */ 0x00d18c, 0x00d18d, 0x00d18e, 0x00d18f, |
107 | /* f0 */ 0x00d081, 0x00d191, 0x00d084, 0x00d194, |
108 | /* f4 */ 0x00d087, 0x00d197, 0x00d08e, 0x00d19e, |
109 | /* f8 */ 0x00c2b0, 0xe28899, 0x00c2b7, 0xe2889a, |
110 | /* fc */ 0xe28496, 0x00c2a4, 0xe296a0, 0x00c2a0 |
111 | }; |
112 | |