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

static const uint32 koi8r_to_unicode_tree_table[256];

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