1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
| /* src/backend/utils/mb/Unicode/win1250_to_utf8.map */
| /* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */
|
| static const uint32 win1250_to_unicode_tree_table[256];
|
| static const pg_mb_radix_tree win1250_to_unicode_tree =
| {
| NULL, /* 16-bit table not used */
| win1250_to_unicode_tree_table,
|
| 0x0080, /* offset of table for 1-byte inputs */
| 0x80, /* b1_lower */
| 0xff, /* b1_upper */
|
| 0x0000, /* offset of table for 2-byte inputs */
| 0x00, /* b2_1_lower */
| 0x00, /* b2_1_upper */
| 0x00, /* b2_2_lower */
| 0x00, /* b2_2_upper */
|
| 0x0000, /* offset of table for 3-byte inputs */
| 0x00, /* b3_1_lower */
| 0x00, /* b3_1_upper */
| 0x00, /* b3_2_lower */
| 0x00, /* b3_2_upper */
| 0x00, /* b3_3_lower */
| 0x00, /* b3_3_upper */
|
| 0x0000, /* offset of table for 4-byte inputs */
| 0x00, /* b4_1_lower */
| 0x00, /* b4_1_upper */
| 0x00, /* b4_2_lower */
| 0x00, /* b4_2_upper */
| 0x00, /* b4_3_lower */
| 0x00, /* b4_3_upper */
| 0x00, /* b4_4_lower */
| 0x00 /* b4_4_upper */
| };
|
| static const uint32 win1250_to_unicode_tree_table[256] =
| {
| /*** Dummy map, for invalid values - offset 0x00000 ***/
|
| /* 00 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 04 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 08 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 0c */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 10 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 14 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 18 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 1c */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 20 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 24 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 28 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 2c */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 30 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 34 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 38 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 3c */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 40 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 44 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 48 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 4c */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 50 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 54 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 58 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 5c */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 60 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 64 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 68 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 6c */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 70 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 74 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 78 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 7c */ 0x000000, 0x000000, 0x000000, 0x000000,
|
| /*** Single byte table, leaf: xx - offset 0x00080 ***/
|
| /* 80 */ 0xe282ac, 0x000000, 0xe2809a, 0x000000,
| /* 84 */ 0xe2809e, 0xe280a6, 0xe280a0, 0xe280a1,
| /* 88 */ 0x000000, 0xe280b0, 0x00c5a0, 0xe280b9,
| /* 8c */ 0x00c59a, 0x00c5a4, 0x00c5bd, 0x00c5b9,
| /* 90 */ 0x000000, 0xe28098, 0xe28099, 0xe2809c,
| /* 94 */ 0xe2809d, 0xe280a2, 0xe28093, 0xe28094,
| /* 98 */ 0x000000, 0xe284a2, 0x00c5a1, 0xe280ba,
| /* 9c */ 0x00c59b, 0x00c5a5, 0x00c5be, 0x00c5ba,
| /* a0 */ 0x00c2a0, 0x00cb87, 0x00cb98, 0x00c581,
| /* a4 */ 0x00c2a4, 0x00c484, 0x00c2a6, 0x00c2a7,
| /* a8 */ 0x00c2a8, 0x00c2a9, 0x00c59e, 0x00c2ab,
| /* ac */ 0x00c2ac, 0x00c2ad, 0x00c2ae, 0x00c5bb,
| /* b0 */ 0x00c2b0, 0x00c2b1, 0x00cb9b, 0x00c582,
| /* b4 */ 0x00c2b4, 0x00c2b5, 0x00c2b6, 0x00c2b7,
| /* b8 */ 0x00c2b8, 0x00c485, 0x00c59f, 0x00c2bb,
| /* bc */ 0x00c4bd, 0x00cb9d, 0x00c4be, 0x00c5bc,
| /* c0 */ 0x00c594, 0x00c381, 0x00c382, 0x00c482,
| /* c4 */ 0x00c384, 0x00c4b9, 0x00c486, 0x00c387,
| /* c8 */ 0x00c48c, 0x00c389, 0x00c498, 0x00c38b,
| /* cc */ 0x00c49a, 0x00c38d, 0x00c38e, 0x00c48e,
| /* d0 */ 0x00c490, 0x00c583, 0x00c587, 0x00c393,
| /* d4 */ 0x00c394, 0x00c590, 0x00c396, 0x00c397,
| /* d8 */ 0x00c598, 0x00c5ae, 0x00c39a, 0x00c5b0,
| /* dc */ 0x00c39c, 0x00c39d, 0x00c5a2, 0x00c39f,
| /* e0 */ 0x00c595, 0x00c3a1, 0x00c3a2, 0x00c483,
| /* e4 */ 0x00c3a4, 0x00c4ba, 0x00c487, 0x00c3a7,
| /* e8 */ 0x00c48d, 0x00c3a9, 0x00c499, 0x00c3ab,
| /* ec */ 0x00c49b, 0x00c3ad, 0x00c3ae, 0x00c48f,
| /* f0 */ 0x00c491, 0x00c584, 0x00c588, 0x00c3b3,
| /* f4 */ 0x00c3b4, 0x00c591, 0x00c3b6, 0x00c3b7,
| /* f8 */ 0x00c599, 0x00c5af, 0x00c3ba, 0x00c5b1,
| /* fc */ 0x00c3bc, 0x00c3bd, 0x00c5a3, 0x00cb99
| };
|
|