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
| /* src/backend/utils/mb/Unicode/win874_to_utf8.map */
| /* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */
|
| static const uint32 win874_to_unicode_tree_table[248];
|
| static const pg_mb_radix_tree win874_to_unicode_tree =
| {
| NULL, /* 16-bit table not used */
| win874_to_unicode_tree_table,
|
| 0x007c, /* offset of table for 1-byte inputs */
| 0x80, /* b1_lower */
| 0xfb, /* 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 win874_to_unicode_tree_table[248] =
| {
| /*** 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,
|
| /*** Single byte table, leaf: xx - offset 0x0007c ***/
|
| /* 80 */ 0xe282ac, 0x000000, 0x000000, 0x000000,
| /* 84 */ 0x000000, 0xe280a6, 0x000000, 0x000000,
| /* 88 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 8c */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 90 */ 0x000000, 0xe28098, 0xe28099, 0xe2809c,
| /* 94 */ 0xe2809d, 0xe280a2, 0xe28093, 0xe28094,
| /* 98 */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* 9c */ 0x000000, 0x000000, 0x000000, 0x000000,
| /* a0 */ 0x00c2a0, 0xe0b881, 0xe0b882, 0xe0b883,
| /* a4 */ 0xe0b884, 0xe0b885, 0xe0b886, 0xe0b887,
| /* a8 */ 0xe0b888, 0xe0b889, 0xe0b88a, 0xe0b88b,
| /* ac */ 0xe0b88c, 0xe0b88d, 0xe0b88e, 0xe0b88f,
| /* b0 */ 0xe0b890, 0xe0b891, 0xe0b892, 0xe0b893,
| /* b4 */ 0xe0b894, 0xe0b895, 0xe0b896, 0xe0b897,
| /* b8 */ 0xe0b898, 0xe0b899, 0xe0b89a, 0xe0b89b,
| /* bc */ 0xe0b89c, 0xe0b89d, 0xe0b89e, 0xe0b89f,
| /* c0 */ 0xe0b8a0, 0xe0b8a1, 0xe0b8a2, 0xe0b8a3,
| /* c4 */ 0xe0b8a4, 0xe0b8a5, 0xe0b8a6, 0xe0b8a7,
| /* c8 */ 0xe0b8a8, 0xe0b8a9, 0xe0b8aa, 0xe0b8ab,
| /* cc */ 0xe0b8ac, 0xe0b8ad, 0xe0b8ae, 0xe0b8af,
| /* d0 */ 0xe0b8b0, 0xe0b8b1, 0xe0b8b2, 0xe0b8b3,
| /* d4 */ 0xe0b8b4, 0xe0b8b5, 0xe0b8b6, 0xe0b8b7,
| /* d8 */ 0xe0b8b8, 0xe0b8b9, 0xe0b8ba, 0x000000,
| /* dc */ 0x000000, 0x000000, 0x000000, 0xe0b8bf,
| /* e0 */ 0xe0b980, 0xe0b981, 0xe0b982, 0xe0b983,
| /* e4 */ 0xe0b984, 0xe0b985, 0xe0b986, 0xe0b987,
| /* e8 */ 0xe0b988, 0xe0b989, 0xe0b98a, 0xe0b98b,
| /* ec */ 0xe0b98c, 0xe0b98d, 0xe0b98e, 0xe0b98f,
| /* f0 */ 0xe0b990, 0xe0b991, 0xe0b992, 0xe0b993,
| /* f4 */ 0xe0b994, 0xe0b995, 0xe0b996, 0xe0b997,
| /* f8 */ 0xe0b998, 0xe0b999, 0xe0b99a, 0xe0b99b
| };
|
|