1 | /* src/backend/utils/mb/Unicode/win1252_to_utf8.map */ |
2 | /* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */ |
3 | |
4 | static const uint32 win1252_to_unicode_tree_table[256]; |
5 | |
6 | static const pg_mb_radix_tree win1252_to_unicode_tree = |
7 | { |
8 | NULL, /* 16-bit table not used */ |
9 | win1252_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 win1252_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 */ 0xe282ac, 0x000000, 0xe2809a, 0x00c692, |
80 | /* 84 */ 0xe2809e, 0xe280a6, 0xe280a0, 0xe280a1, |
81 | /* 88 */ 0x00cb86, 0xe280b0, 0x00c5a0, 0xe280b9, |
82 | /* 8c */ 0x00c592, 0x000000, 0x00c5bd, 0x000000, |
83 | /* 90 */ 0x000000, 0xe28098, 0xe28099, 0xe2809c, |
84 | /* 94 */ 0xe2809d, 0xe280a2, 0xe28093, 0xe28094, |
85 | /* 98 */ 0x00cb9c, 0xe284a2, 0x00c5a1, 0xe280ba, |
86 | /* 9c */ 0x00c593, 0x000000, 0x00c5be, 0x00c5b8, |
87 | /* a0 */ 0x00c2a0, 0x00c2a1, 0x00c2a2, 0x00c2a3, |
88 | /* a4 */ 0x00c2a4, 0x00c2a5, 0x00c2a6, 0x00c2a7, |
89 | /* a8 */ 0x00c2a8, 0x00c2a9, 0x00c2aa, 0x00c2ab, |
90 | /* ac */ 0x00c2ac, 0x00c2ad, 0x00c2ae, 0x00c2af, |
91 | /* b0 */ 0x00c2b0, 0x00c2b1, 0x00c2b2, 0x00c2b3, |
92 | /* b4 */ 0x00c2b4, 0x00c2b5, 0x00c2b6, 0x00c2b7, |
93 | /* b8 */ 0x00c2b8, 0x00c2b9, 0x00c2ba, 0x00c2bb, |
94 | /* bc */ 0x00c2bc, 0x00c2bd, 0x00c2be, 0x00c2bf, |
95 | /* c0 */ 0x00c380, 0x00c381, 0x00c382, 0x00c383, |
96 | /* c4 */ 0x00c384, 0x00c385, 0x00c386, 0x00c387, |
97 | /* c8 */ 0x00c388, 0x00c389, 0x00c38a, 0x00c38b, |
98 | /* cc */ 0x00c38c, 0x00c38d, 0x00c38e, 0x00c38f, |
99 | /* d0 */ 0x00c390, 0x00c391, 0x00c392, 0x00c393, |
100 | /* d4 */ 0x00c394, 0x00c395, 0x00c396, 0x00c397, |
101 | /* d8 */ 0x00c398, 0x00c399, 0x00c39a, 0x00c39b, |
102 | /* dc */ 0x00c39c, 0x00c39d, 0x00c39e, 0x00c39f, |
103 | /* e0 */ 0x00c3a0, 0x00c3a1, 0x00c3a2, 0x00c3a3, |
104 | /* e4 */ 0x00c3a4, 0x00c3a5, 0x00c3a6, 0x00c3a7, |
105 | /* e8 */ 0x00c3a8, 0x00c3a9, 0x00c3aa, 0x00c3ab, |
106 | /* ec */ 0x00c3ac, 0x00c3ad, 0x00c3ae, 0x00c3af, |
107 | /* f0 */ 0x00c3b0, 0x00c3b1, 0x00c3b2, 0x00c3b3, |
108 | /* f4 */ 0x00c3b4, 0x00c3b5, 0x00c3b6, 0x00c3b7, |
109 | /* f8 */ 0x00c3b8, 0x00c3b9, 0x00c3ba, 0x00c3bb, |
110 | /* fc */ 0x00c3bc, 0x00c3bd, 0x00c3be, 0x00c3bf |
111 | }; |
112 | |