aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/mb/Unicode/win1256_to_utf8.map
blob: 33142bb8e1ebb4efbbf35043ef8868ba4162622e (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/win1256_to_utf8.map */
/* This file is generated by src/backend/utils/mb/Unicode/UCS_to_most.pl */

static const uint32 win1256_to_unicode_tree_table[256];

static const pg_mb_radix_tree win1256_to_unicode_tree =
{
  NULL, /* 16-bit table not used */
  win1256_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 win1256_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, 0x00d9be, 0xe2809a, 0x00c692,
  /* 84 */  0xe2809e, 0xe280a6, 0xe280a0, 0xe280a1,
  /* 88 */  0x00cb86, 0xe280b0, 0x00d9b9, 0xe280b9,
  /* 8c */  0x00c592, 0x00da86, 0x00da98, 0x00da88,
  /* 90 */  0x00daaf, 0xe28098, 0xe28099, 0xe2809c,
  /* 94 */  0xe2809d, 0xe280a2, 0xe28093, 0xe28094,
  /* 98 */  0x00daa9, 0xe284a2, 0x00da91, 0xe280ba,
  /* 9c */  0x00c593, 0xe2808c, 0xe2808d, 0x00daba,
  /* a0 */  0x00c2a0, 0x00d88c, 0x00c2a2, 0x00c2a3,
  /* a4 */  0x00c2a4, 0x00c2a5, 0x00c2a6, 0x00c2a7,
  /* a8 */  0x00c2a8, 0x00c2a9, 0x00dabe, 0x00c2ab,
  /* ac */  0x00c2ac, 0x00c2ad, 0x00c2ae, 0x00c2af,
  /* b0 */  0x00c2b0, 0x00c2b1, 0x00c2b2, 0x00c2b3,
  /* b4 */  0x00c2b4, 0x00c2b5, 0x00c2b6, 0x00c2b7,
  /* b8 */  0x00c2b8, 0x00c2b9, 0x00d89b, 0x00c2bb,
  /* bc */  0x00c2bc, 0x00c2bd, 0x00c2be, 0x00d89f,
  /* c0 */  0x00db81, 0x00d8a1, 0x00d8a2, 0x00d8a3,
  /* c4 */  0x00d8a4, 0x00d8a5, 0x00d8a6, 0x00d8a7,
  /* c8 */  0x00d8a8, 0x00d8a9, 0x00d8aa, 0x00d8ab,
  /* cc */  0x00d8ac, 0x00d8ad, 0x00d8ae, 0x00d8af,
  /* d0 */  0x00d8b0, 0x00d8b1, 0x00d8b2, 0x00d8b3,
  /* d4 */  0x00d8b4, 0x00d8b5, 0x00d8b6, 0x00c397,
  /* d8 */  0x00d8b7, 0x00d8b8, 0x00d8b9, 0x00d8ba,
  /* dc */  0x00d980, 0x00d981, 0x00d982, 0x00d983,
  /* e0 */  0x00c3a0, 0x00d984, 0x00c3a2, 0x00d985,
  /* e4 */  0x00d986, 0x00d987, 0x00d988, 0x00c3a7,
  /* e8 */  0x00c3a8, 0x00c3a9, 0x00c3aa, 0x00c3ab,
  /* ec */  0x00d989, 0x00d98a, 0x00c3ae, 0x00c3af,
  /* f0 */  0x00d98b, 0x00d98c, 0x00d98d, 0x00d98e,
  /* f4 */  0x00c3b4, 0x00d98f, 0x00d990, 0x00c3b7,
  /* f8 */  0x00d991, 0x00c3b9, 0x00d992, 0x00c3bb,
  /* fc */  0x00c3bc, 0xe2808e, 0xe2808f, 0x00db92
};