1/* src/backend/utils/mb/Unicode/win1251_to_utf8.map */
2/* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */
3
4static const uint32 win1251_to_unicode_tree_table[256];
5
6static const pg_mb_radix_tree win1251_to_unicode_tree =
7{
8 NULL, /* 16-bit table not used */
9 win1251_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
40static const uint32 win1251_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 */ 0x00d082, 0x00d083, 0xe2809a, 0x00d193,
80 /* 84 */ 0xe2809e, 0xe280a6, 0xe280a0, 0xe280a1,
81 /* 88 */ 0xe282ac, 0xe280b0, 0x00d089, 0xe280b9,
82 /* 8c */ 0x00d08a, 0x00d08c, 0x00d08b, 0x00d08f,
83 /* 90 */ 0x00d192, 0xe28098, 0xe28099, 0xe2809c,
84 /* 94 */ 0xe2809d, 0xe280a2, 0xe28093, 0xe28094,
85 /* 98 */ 0x000000, 0xe284a2, 0x00d199, 0xe280ba,
86 /* 9c */ 0x00d19a, 0x00d19c, 0x00d19b, 0x00d19f,
87 /* a0 */ 0x00c2a0, 0x00d08e, 0x00d19e, 0x00d088,
88 /* a4 */ 0x00c2a4, 0x00d290, 0x00c2a6, 0x00c2a7,
89 /* a8 */ 0x00d081, 0x00c2a9, 0x00d084, 0x00c2ab,
90 /* ac */ 0x00c2ac, 0x00c2ad, 0x00c2ae, 0x00d087,
91 /* b0 */ 0x00c2b0, 0x00c2b1, 0x00d086, 0x00d196,
92 /* b4 */ 0x00d291, 0x00c2b5, 0x00c2b6, 0x00c2b7,
93 /* b8 */ 0x00d191, 0xe28496, 0x00d194, 0x00c2bb,
94 /* bc */ 0x00d198, 0x00d085, 0x00d195, 0x00d197,
95 /* c0 */ 0x00d090, 0x00d091, 0x00d092, 0x00d093,
96 /* c4 */ 0x00d094, 0x00d095, 0x00d096, 0x00d097,
97 /* c8 */ 0x00d098, 0x00d099, 0x00d09a, 0x00d09b,
98 /* cc */ 0x00d09c, 0x00d09d, 0x00d09e, 0x00d09f,
99 /* d0 */ 0x00d0a0, 0x00d0a1, 0x00d0a2, 0x00d0a3,
100 /* d4 */ 0x00d0a4, 0x00d0a5, 0x00d0a6, 0x00d0a7,
101 /* d8 */ 0x00d0a8, 0x00d0a9, 0x00d0aa, 0x00d0ab,
102 /* dc */ 0x00d0ac, 0x00d0ad, 0x00d0ae, 0x00d0af,
103 /* e0 */ 0x00d0b0, 0x00d0b1, 0x00d0b2, 0x00d0b3,
104 /* e4 */ 0x00d0b4, 0x00d0b5, 0x00d0b6, 0x00d0b7,
105 /* e8 */ 0x00d0b8, 0x00d0b9, 0x00d0ba, 0x00d0bb,
106 /* ec */ 0x00d0bc, 0x00d0bd, 0x00d0be, 0x00d0bf,
107 /* f0 */ 0x00d180, 0x00d181, 0x00d182, 0x00d183,
108 /* f4 */ 0x00d184, 0x00d185, 0x00d186, 0x00d187,
109 /* f8 */ 0x00d188, 0x00d189, 0x00d18a, 0x00d18b,
110 /* fc */ 0x00d18c, 0x00d18d, 0x00d18e, 0x00d18f
111};
112