aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/mb/Unicode/utf8_to_win1255.map
blob: 6d7d36fe05db2c87a019066a5ad0ae11af29ee21 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/* src/backend/utils/mb/Unicode/utf8_to_win1255.map */
/* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */

static const uint16 win1255_from_unicode_tree_table[562];

static const pg_mb_radix_tree win1255_from_unicode_tree =
{
  win1255_from_unicode_tree_table,
  NULL, /* 32-bit table not used */

  0x0000, /* offset of table for 1-byte inputs */
  0x00, /* b1_lower */
  0x00, /* b1_upper */

  0x0040, /* offset of table for 2-byte inputs */
  0xc2, /* b2_1_lower */
  0xd7, /* b2_1_upper */
  0x80, /* b2_2_lower */
  0xbf, /* b2_2_upper */

  0x01a5, /* offset of table for 3-byte inputs */
  0xe2, /* b3_1_lower */
  0xe2, /* b3_1_upper */
  0x80, /* b3_2_lower */
  0x84, /* b3_2_upper */
  0x8e, /* b3_3_lower */
  0xba, /* 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 uint16 win1255_from_unicode_tree_table[562] =
{
  /*** Dummy map, for invalid values - offset 0x00000 ***/

  /* 00 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 08 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 10 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 18 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 20 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 28 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 30 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 38 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,

  /*** Two byte table, byte #1: xx - offset 0x00040 ***/

  /* c2 */  0x0056, 0x0096, 0x0000, 0x0000, 0x00ce, 0x0000, 0x0000, 0x0000,
  /* ca */  0x0000, 0x0108, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* d2 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0125, 0x0165,

  /*** Two byte table, leaf: c2xx - offset 0x00056 ***/

  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* a0 */  0x00a0, 0x00a1, 0x00a2, 0x00a3, 0x0000, 0x00a5, 0x00a6, 0x00a7,
  /* a8 */  0x00a8, 0x00a9, 0x0000, 0x00ab, 0x00ac, 0x00ad, 0x00ae, 0x00af,
  /* b0 */  0x00b0, 0x00b1, 0x00b2, 0x00b3, 0x00b4, 0x00b5, 0x00b6, 0x00b7,
  /* b8 */  0x00b8, 0x00b9, 0x0000, 0x00bb, 0x00bc, 0x00bd, 0x00be, 0x00bf,

  /*** Two byte table, leaf: c3xx - offset 0x00096 ***/

  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00aa,
  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* a0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* b0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x00ba,
    /* 8 trailing zero values shared with next segment */

  /*** Two byte table, leaf: c6xx - offset 0x000ce ***/

  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 90 */  0x0000, 0x0000, 0x0083, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* a0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* b0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* b8 */  0x0000, 0x0000,
    /* 6 trailing zero values shared with next segment */

  /*** Two byte table, leaf: cbxx - offset 0x00108 ***/

  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0088, 0x0000,
  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0098,
    /* 35 trailing zero values shared with next segment */

  /*** Two byte table, leaf: d6xx - offset 0x00125 ***/

  /* 80 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 90 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 98 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* a0 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* a8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* b0 */  0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c6, 0x00c7,
  /* b8 */  0x00c8, 0x00c9, 0x0000, 0x00cb, 0x00cc, 0x00cd, 0x00ce, 0x00cf,

  /*** Two byte table, leaf: d7xx - offset 0x00165 ***/

  /* 80 */  0x00d0, 0x00d1, 0x00d2, 0x00d3, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 88 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 90 */  0x00e0, 0x00e1, 0x00e2, 0x00e3, 0x00e4, 0x00e5, 0x00e6, 0x00e7,
  /* 98 */  0x00e8, 0x00e9, 0x00ea, 0x00eb, 0x00ec, 0x00ed, 0x00ee, 0x00ef,
  /* a0 */  0x00f0, 0x00f1, 0x00f2, 0x00f3, 0x00f4, 0x00f5, 0x00f6, 0x00f7,
  /* a8 */  0x00f8, 0x00f9, 0x00fa, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* b0 */  0x00d4, 0x00d5, 0x00d6, 0x00d7, 0x00d8, 0x0000, 0x0000, 0x0000,
  /* b8 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,

  /*** Three byte table, byte #1: xx - offset 0x001a5 ***/

  /* e2 */  0x01a6,

  /*** Three byte table, byte #2: e2xx - offset 0x001a6 ***/

  /* 80 */  0x01ab, 0x0000, 0x01d8, 0x0000, 0x0205,

  /*** Three byte table, leaf: e280xx - offset 0x001ab ***/

  /* 8e */  0x00fd, 0x00fe, 0x0000, 0x0000, 0x0000, 0x0096, 0x0097, 0x0000,
  /* 96 */  0x0000, 0x0000, 0x0091, 0x0092, 0x0082, 0x0000, 0x0093, 0x0094,
  /* 9e */  0x0084, 0x0000, 0x0086, 0x0087, 0x0095, 0x0000, 0x0000, 0x0000,
  /* a6 */  0x0085, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* ae */  0x0000, 0x0000, 0x0089, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* b6 */  0x0000, 0x0000, 0x0000, 0x008b, 0x009b,

  /*** Three byte table, leaf: e282xx - offset 0x001d8 ***/

  /* 8e */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 96 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 9e */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* a6 */  0x0000, 0x0000, 0x0000, 0x0000, 0x00a4, 0x0000, 0x0080, 0x0000,
  /* ae */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* b6 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000,

  /*** Three byte table, leaf: e284xx - offset 0x00205 ***/

  /* 8e */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 96 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* 9e */  0x0000, 0x0000, 0x0000, 0x0000, 0x0099, 0x0000, 0x0000, 0x0000,
  /* a6 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* ae */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
  /* b6 */  0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};