aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/mb/Unicode/win866_to_utf8.map
blob: 68807650f4c73cae3ebd6b98456d02ad0248fc2f (plain)
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/win866_to_utf8.map */
/* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */

static const uint32 win866_to_unicode_tree_table[256];

static const pg_mb_radix_tree win866_to_unicode_tree =
{
  NULL, /* 16-bit table not used */
  win866_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 win866_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 */  0x00d090, 0x00d091, 0x00d092, 0x00d093,
  /* 84 */  0x00d094, 0x00d095, 0x00d096, 0x00d097,
  /* 88 */  0x00d098, 0x00d099, 0x00d09a, 0x00d09b,
  /* 8c */  0x00d09c, 0x00d09d, 0x00d09e, 0x00d09f,
  /* 90 */  0x00d0a0, 0x00d0a1, 0x00d0a2, 0x00d0a3,
  /* 94 */  0x00d0a4, 0x00d0a5, 0x00d0a6, 0x00d0a7,
  /* 98 */  0x00d0a8, 0x00d0a9, 0x00d0aa, 0x00d0ab,
  /* 9c */  0x00d0ac, 0x00d0ad, 0x00d0ae, 0x00d0af,
  /* a0 */  0x00d0b0, 0x00d0b1, 0x00d0b2, 0x00d0b3,
  /* a4 */  0x00d0b4, 0x00d0b5, 0x00d0b6, 0x00d0b7,
  /* a8 */  0x00d0b8, 0x00d0b9, 0x00d0ba, 0x00d0bb,
  /* ac */  0x00d0bc, 0x00d0bd, 0x00d0be, 0x00d0bf,
  /* b0 */  0xe29691, 0xe29692, 0xe29693, 0xe29482,
  /* b4 */  0xe294a4, 0xe295a1, 0xe295a2, 0xe29596,
  /* b8 */  0xe29595, 0xe295a3, 0xe29591, 0xe29597,
  /* bc */  0xe2959d, 0xe2959c, 0xe2959b, 0xe29490,
  /* c0 */  0xe29494, 0xe294b4, 0xe294ac, 0xe2949c,
  /* c4 */  0xe29480, 0xe294bc, 0xe2959e, 0xe2959f,
  /* c8 */  0xe2959a, 0xe29594, 0xe295a9, 0xe295a6,
  /* cc */  0xe295a0, 0xe29590, 0xe295ac, 0xe295a7,
  /* d0 */  0xe295a8, 0xe295a4, 0xe295a5, 0xe29599,
  /* d4 */  0xe29598, 0xe29592, 0xe29593, 0xe295ab,
  /* d8 */  0xe295aa, 0xe29498, 0xe2948c, 0xe29688,
  /* dc */  0xe29684, 0xe2968c, 0xe29690, 0xe29680,
  /* e0 */  0x00d180, 0x00d181, 0x00d182, 0x00d183,
  /* e4 */  0x00d184, 0x00d185, 0x00d186, 0x00d187,
  /* e8 */  0x00d188, 0x00d189, 0x00d18a, 0x00d18b,
  /* ec */  0x00d18c, 0x00d18d, 0x00d18e, 0x00d18f,
  /* f0 */  0x00d081, 0x00d191, 0x00d084, 0x00d194,
  /* f4 */  0x00d087, 0x00d197, 0x00d08e, 0x00d19e,
  /* f8 */  0x00c2b0, 0xe28899, 0x00c2b7, 0xe2889a,
  /* fc */  0xe28496, 0x00c2a4, 0xe296a0, 0x00c2a0
};