summaryrefslogtreecommitdiff
path: root/src/backend/utils/mb/Unicode/win1254_to_utf8.map
blob: 9ad9c85dfe651b3b04de138c3335a8efc2edf5a3 (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/win1254_to_utf8.map */
/* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */

static const uint32 win1254_to_unicode_tree_table[256];

static const pg_mb_radix_tree win1254_to_unicode_tree =
{
  NULL, /* 16-bit table not used */
  win1254_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 win1254_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, 0x00c692,
  /* 84 */  0xe2809e, 0xe280a6, 0xe280a0, 0xe280a1,
  /* 88 */  0x00cb86, 0xe280b0, 0x00c5a0, 0xe280b9,
  /* 8c */  0x00c592, 0x000000, 0x000000, 0x000000,
  /* 90 */  0x000000, 0xe28098, 0xe28099, 0xe2809c,
  /* 94 */  0xe2809d, 0xe280a2, 0xe28093, 0xe28094,
  /* 98 */  0x00cb9c, 0xe284a2, 0x00c5a1, 0xe280ba,
  /* 9c */  0x00c593, 0x000000, 0x000000, 0x00c5b8,
  /* a0 */  0x00c2a0, 0x00c2a1, 0x00c2a2, 0x00c2a3,
  /* a4 */  0x00c2a4, 0x00c2a5, 0x00c2a6, 0x00c2a7,
  /* a8 */  0x00c2a8, 0x00c2a9, 0x00c2aa, 0x00c2ab,
  /* ac */  0x00c2ac, 0x00c2ad, 0x00c2ae, 0x00c2af,
  /* b0 */  0x00c2b0, 0x00c2b1, 0x00c2b2, 0x00c2b3,
  /* b4 */  0x00c2b4, 0x00c2b5, 0x00c2b6, 0x00c2b7,
  /* b8 */  0x00c2b8, 0x00c2b9, 0x00c2ba, 0x00c2bb,
  /* bc */  0x00c2bc, 0x00c2bd, 0x00c2be, 0x00c2bf,
  /* c0 */  0x00c380, 0x00c381, 0x00c382, 0x00c383,
  /* c4 */  0x00c384, 0x00c385, 0x00c386, 0x00c387,
  /* c8 */  0x00c388, 0x00c389, 0x00c38a, 0x00c38b,
  /* cc */  0x00c38c, 0x00c38d, 0x00c38e, 0x00c38f,
  /* d0 */  0x00c49e, 0x00c391, 0x00c392, 0x00c393,
  /* d4 */  0x00c394, 0x00c395, 0x00c396, 0x00c397,
  /* d8 */  0x00c398, 0x00c399, 0x00c39a, 0x00c39b,
  /* dc */  0x00c39c, 0x00c4b0, 0x00c59e, 0x00c39f,
  /* e0 */  0x00c3a0, 0x00c3a1, 0x00c3a2, 0x00c3a3,
  /* e4 */  0x00c3a4, 0x00c3a5, 0x00c3a6, 0x00c3a7,
  /* e8 */  0x00c3a8, 0x00c3a9, 0x00c3aa, 0x00c3ab,
  /* ec */  0x00c3ac, 0x00c3ad, 0x00c3ae, 0x00c3af,
  /* f0 */  0x00c49f, 0x00c3b1, 0x00c3b2, 0x00c3b3,
  /* f4 */  0x00c3b4, 0x00c3b5, 0x00c3b6, 0x00c3b7,
  /* f8 */  0x00c3b8, 0x00c3b9, 0x00c3ba, 0x00c3bb,
  /* fc */  0x00c3bc, 0x00c4b1, 0x00c59f, 0x00c3bf
};