~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to strings/ctype-extra.c

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  This file was generated by the conf_to_src utility. Do not edit it directly,
 
3
  edit the XML definitions in sql/share/charsets/ instead.
 
4
 
 
5
  To re-generate, run the following in the strings/ directory:
 
6
    ./conf_to_src ../sql/share/charsets/ > FILE
 
7
*/
 
8
 
 
9
/* Copyright (C) 2000-2007 MySQL AB
 
10
 
 
11
   This program is free software; you can redistribute it and/or modify
 
12
   it under the terms of the GNU General Public License as published by
 
13
   the Free Software Foundation; version 2 of the License.
 
14
 
 
15
   This program is distributed in the hope that it will be useful,
 
16
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
   GNU General Public License for more details.
 
19
 
 
20
   You should have received a copy of the GNU General Public License
 
21
   along with this program; if not, write to the Free Software
 
22
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
23
 
 
24
#include <my_global.h>
 
25
#include <m_ctype.h>
 
26
 
 
27
#ifdef HAVE_CHARSET_dec8
 
28
uchar ctype_dec8_swedish_ci[] = {
 
29
0x00,
 
30
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
31
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
32
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
33
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
34
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
35
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
36
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
37
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
38
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
39
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
40
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
41
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
42
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
43
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
44
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
45
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
46
};
 
47
 
 
48
uchar to_lower_dec8_swedish_ci[] = {
 
49
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
50
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
51
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
52
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
53
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
54
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
55
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
56
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
57
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
58
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
59
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
60
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
61
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
62
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
63
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
64
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
65
};
 
66
 
 
67
uchar to_upper_dec8_swedish_ci[] = {
 
68
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
69
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
70
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
71
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
72
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
73
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
74
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
75
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
76
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
77
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
78
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
79
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
80
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
81
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
82
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
83
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
84
};
 
85
 
 
86
uchar sort_order_dec8_swedish_ci[] = {
 
87
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
88
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
89
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
90
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
91
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
92
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
93
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
94
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
95
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
96
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
97
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
98
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
99
0x41,0x41,0x41,0x41,0x5C,0x5B,0x5C,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
 
100
0x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5D,0xD7,0xD8,0x55,0x55,0x55,0x59,0x59,0xDE,0xDF,
 
101
0x41,0x41,0x41,0x41,0x5C,0x5B,0x5C,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
 
102
0x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5D,0xF7,0xD8,0x55,0x55,0x55,0x59,0x59,0xDE,0xFF
 
103
};
 
104
 
 
105
uint16 to_uni_dec8_swedish_ci[] = {
 
106
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
107
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
108
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
109
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
110
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
111
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
112
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
113
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
114
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
115
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
116
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
117
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
118
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
119
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
120
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
121
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
122
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
123
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
124
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
125
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
126
0x00A0,0x00A1,0x00A2,0x00A3,0x0000,0x00A5,0x0000,0x00A7,
 
127
0x00A4,0x00A9,0x00AA,0x00AB,0x0000,0x0000,0x0000,0x0000,
 
128
0x00B0,0x00B1,0x00B2,0x00B3,0x0000,0x00B5,0x00B6,0x00B7,
 
129
0x0000,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x0000,0x00BF,
 
130
0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
 
131
0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
 
132
0x0000,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x0152,
 
133
0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x0178,0x0000,0x00DF,
 
134
0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
 
135
0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
 
136
0x0000,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x0153,
 
137
0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FF,0x0000,0x0000
 
138
};
 
139
 
 
140
#endif
 
141
 
 
142
#ifdef HAVE_CHARSET_cp850
 
143
uchar ctype_cp850_general_ci[] = {
 
144
0x00,
 
145
0x20,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x30,0x30,
 
146
0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x30,0x30,0x30,0x30,0x30,
 
147
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
148
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
149
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
150
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
151
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
152
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x30,
 
153
0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x01,
 
154
0x01,0x02,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x01,0x02,0x10,0x01,0x10,0x10,
 
155
0x02,0x02,0x02,0x02,0x02,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
156
0x10,0x10,0x10,0x10,0x10,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
157
0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
158
0x02,0x01,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x01,0x10,
 
159
0x01,0x02,0x01,0x01,0x02,0x01,0x10,0x02,0x01,0x01,0x01,0x01,0x02,0x01,0x10,0x10,
 
160
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20
 
161
};
 
162
 
 
163
uchar to_lower_cp850_general_ci[] = {
 
164
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
165
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
166
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
167
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
168
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
169
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
170
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
171
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
172
0x87,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x84,0x86,
 
173
0x82,0x91,0x91,0x93,0x94,0x95,0x96,0x97,0x98,0x94,0x81,0x9B,0x9C,0x9D,0x9E,0x9F,
 
174
0xA0,0xA1,0xA2,0xA3,0xA4,0xA4,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
175
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
176
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
177
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
178
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
179
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
180
};
 
181
 
 
182
uchar to_upper_cp850_general_ci[] = {
 
183
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
184
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
185
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
186
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
187
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
188
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
189
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
190
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
191
0x80,0x9A,0x90,0x41,0x8E,0x41,0x8F,0x80,0x45,0x45,0x45,0x49,0x49,0x49,0x8E,0x8F,
 
192
0x90,0x92,0x92,0x4F,0x99,0x4F,0x55,0x55,0x59,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
193
0x41,0x49,0x4F,0x55,0xA5,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
194
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
195
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
196
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
197
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
198
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
199
};
 
200
 
 
201
uchar sort_order_cp850_general_ci[] = {
 
202
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
203
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
204
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
205
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
206
0x40,0x41,0x51,0x53,0x55,0x59,0x63,0x65,0x67,0x69,0x74,0x76,0x78,0x7A,0x7C,0x80,
 
207
0x8E,0x90,0x92,0x94,0x97,0x99,0xA3,0xA5,0xA7,0xA9,0xAE,0xB1,0xB2,0xB3,0xB4,0xB5,
 
208
0xB6,0x41,0x51,0x53,0x55,0x59,0x63,0x65,0x67,0x69,0x74,0x76,0x78,0x7A,0x7C,0x80,
 
209
0x8E,0x90,0x92,0x94,0x97,0x99,0xA3,0xA5,0xA7,0xA9,0xAE,0xB7,0xB8,0xB9,0xBA,0xBB,
 
210
0x54,0xA1,0x5D,0x47,0x4B,0x43,0x4D,0x54,0x5F,0x61,0x5B,0x71,0x6F,0x6B,0x4B,0x4D,
 
211
0x5D,0x4F,0x4F,0x86,0x8A,0x82,0x9F,0x9B,0xAD,0x8A,0xA1,0x8C,0xE3,0x8C,0xBD,0xBE,
 
212
0x45,0x6D,0x84,0x9D,0x7E,0x7E,0xEA,0xFA,0xFF,0xEE,0xEC,0xFD,0xFC,0xCE,0xEB,0xFB,
 
213
0xDC,0xDD,0xDE,0xC3,0xC9,0x45,0x47,0x43,0xE9,0xD5,0xCF,0xD1,0xD3,0xE2,0xE5,0xC5,
 
214
0xC6,0xCB,0xCA,0xC8,0xC2,0xCC,0x49,0x49,0xD2,0xD0,0xD7,0xD6,0xD4,0xCD,0xD8,0xE4,
 
215
0x57,0x57,0x5F,0x61,0x5B,0x73,0x6D,0x6F,0x71,0xC7,0xC4,0xDB,0xDA,0xE6,0x6B,0xD9,
 
216
0x84,0x96,0x86,0x82,0x88,0x88,0xF5,0xB0,0xB0,0x9D,0x9F,0x9B,0xAB,0xAB,0xEF,0xF4,
 
217
0xED,0xF1,0xC1,0xFE,0xF6,0xE7,0xBF,0xBC,0xF0,0xE8,0xF7,0xF9,0xF3,0xF2,0xDF,0xE0
 
218
};
 
219
 
 
220
uint16 to_uni_cp850_general_ci[] = {
 
221
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
222
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
223
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
224
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
225
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
226
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
227
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
228
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
229
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
230
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
231
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
232
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
233
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
234
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
235
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
236
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
237
0x00C7,0x00FC,0x00E9,0x00E2,0x00E4,0x00E0,0x00E5,0x00E7,
 
238
0x00EA,0x00EB,0x00E8,0x00EF,0x00EE,0x00EC,0x00C4,0x00C5,
 
239
0x00C9,0x00E6,0x00C6,0x00F4,0x00F6,0x00F2,0x00FB,0x00F9,
 
240
0x00FF,0x00D6,0x00DC,0x00F8,0x00A3,0x00D8,0x00D7,0x0192,
 
241
0x00E1,0x00ED,0x00F3,0x00FA,0x00F1,0x00D1,0x00AA,0x00BA,
 
242
0x00BF,0x00AE,0x00AC,0x00BD,0x00BC,0x00A1,0x00AB,0x00BB,
 
243
0x2591,0x2592,0x2593,0x2502,0x2524,0x00C1,0x00C2,0x00C0,
 
244
0x00A9,0x2563,0x2551,0x2557,0x255D,0x00A2,0x00A5,0x2510,
 
245
0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x00E3,0x00C3,
 
246
0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x00A4,
 
247
0x00F0,0x00D0,0x00CA,0x00CB,0x00C8,0x0131,0x00CD,0x00CE,
 
248
0x00CF,0x2518,0x250C,0x2588,0x2584,0x00A6,0x00CC,0x2580,
 
249
0x00D3,0x00DF,0x00D4,0x00D2,0x00F5,0x00D5,0x00B5,0x00FE,
 
250
0x00DE,0x00DA,0x00DB,0x00D9,0x00FD,0x00DD,0x00AF,0x00B4,
 
251
0x00AD,0x00B1,0x2017,0x00BE,0x00B6,0x00A7,0x00F7,0x00B8,
 
252
0x00B0,0x00A8,0x00B7,0x00B9,0x00B3,0x00B2,0x25A0,0x00A0
 
253
};
 
254
 
 
255
#endif
 
256
 
 
257
#ifdef HAVE_CHARSET_latin1
 
258
uchar ctype_latin1_german1_ci[] = {
 
259
0x00,
 
260
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
261
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
262
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
263
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
264
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
265
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
266
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
267
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
268
0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
 
269
0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
 
270
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
271
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
272
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
273
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
274
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
275
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
276
};
 
277
 
 
278
uchar to_lower_latin1_german1_ci[] = {
 
279
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
280
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
281
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
282
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
283
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
284
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
285
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
286
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
287
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
288
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
289
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
290
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
291
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
292
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
293
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
294
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
295
};
 
296
 
 
297
uchar to_upper_latin1_german1_ci[] = {
 
298
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
299
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
300
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
301
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
302
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
303
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
304
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
305
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
306
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
307
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
308
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
309
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
310
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
311
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
312
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
313
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
314
};
 
315
 
 
316
uchar sort_order_latin1_german1_ci[] = {
 
317
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
318
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
319
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
320
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
321
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
322
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
323
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
324
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
325
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
326
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
327
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
328
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
329
0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
 
330
0xD0,0x4E,0x4F,0x4F,0x4F,0x4F,0x4F,0xD7,0x4F,0x55,0x55,0x55,0x55,0x59,0xDE,0x53,
 
331
0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
 
332
0xD0,0x4E,0x4F,0x4F,0x4F,0x4F,0x4F,0xF7,0x4F,0x55,0x55,0x55,0x55,0x59,0xDE,0xFF
 
333
};
 
334
 
 
335
uint16 to_uni_latin1_german1_ci[] = {
 
336
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
337
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
338
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
339
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
340
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
341
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
342
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
343
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
344
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
345
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
346
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
347
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
348
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
349
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
350
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
351
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
352
0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
 
353
0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
 
354
0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
355
0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
 
356
0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
357
0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
358
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
359
0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
 
360
0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
 
361
0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
 
362
0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
 
363
0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
 
364
0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
 
365
0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
 
366
0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
 
367
0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF
 
368
};
 
369
 
 
370
#endif
 
371
 
 
372
#ifdef HAVE_CHARSET_hp8
 
373
uchar ctype_hp8_english_ci[] = {
 
374
0x00,
 
375
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
376
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
377
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
378
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
379
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
380
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
381
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
382
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
383
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
384
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
385
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
386
0x10,0x20,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
387
0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x02,
 
388
0x01,0x10,0x10,0x01,0x02,0x10,0x10,0x02,0x01,0x10,0x01,0x01,0x01,0x10,0x10,0x10,
 
389
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
390
0x10,0x10,0x20,0x20,0x20,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20
 
391
};
 
392
 
 
393
uchar to_lower_hp8_english_ci[] = {
 
394
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
395
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
396
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
397
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
398
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
399
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
400
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
401
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
402
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
403
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
404
0xA0,0xC8,0xC0,0xC9,0xC1,0xCD,0xD1,0xDD,0xA8,0xA9,0xAA,0xAB,0xAC,0xCB,0xC3,0xAF,
 
405
0xB0,0xB2,0xB2,0xB3,0xB5,0xB5,0xB7,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
406
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
407
0xD4,0xD1,0xD6,0xD7,0xD4,0xD5,0xD6,0xD7,0xCC,0xD9,0xCE,0xCF,0xC5,0xDD,0xDE,0xC2,
 
408
0xC4,0xE2,0xE2,0xE4,0xE4,0xD5,0xD9,0xC6,0xCA,0xEA,0xEA,0xEC,0xEC,0xC7,0xEF,0xEF,
 
409
0xF1,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
410
};
 
411
 
 
412
uchar to_upper_hp8_english_ci[] = {
 
413
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
414
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
415
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
416
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
417
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
418
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
419
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
420
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
421
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
422
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
423
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
424
0xB0,0xB1,0xB1,0xB3,0xB4,0xB4,0xB6,0xB6,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
425
0xA2,0xA4,0xDF,0xAE,0xE0,0xDC,0xE7,0xED,0xA1,0xA3,0xE8,0xAD,0xD8,0xA5,0xDA,0xDB,
 
426
0xD0,0xA6,0xD2,0xD3,0xD0,0xE5,0xD2,0xD3,0xD8,0xE6,0xDA,0xDB,0xDC,0xA7,0xDE,0xDF,
 
427
0xE0,0xE1,0xE1,0xE3,0xE3,0xE5,0xE6,0xE7,0xE8,0xE9,0xE9,0xEB,0xEB,0xED,0xEE,0xEE,
 
428
0xF0,0xF0,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
429
};
 
430
 
 
431
uchar sort_order_hp8_english_ci[] = {
 
432
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
433
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
434
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
435
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
436
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
437
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5C,0x5D,0x5B,0x5E,0x5F,
 
438
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
439
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
440
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
441
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
442
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
443
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
444
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
445
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
446
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
447
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
448
};
 
449
 
 
450
uint16 to_uni_hp8_english_ci[] = {
 
451
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
452
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
453
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
454
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
455
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
456
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
457
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
458
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
459
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
460
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
461
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
462
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
463
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
464
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
465
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
466
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
467
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
468
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
469
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
470
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
471
0x00A0,0x00C0,0x00C2,0x00C8,0x00CA,0x00CB,0x00CE,0x00CF,
 
472
0x00B4,0x02CB,0x02C6,0x00A8,0x02DC,0x00D9,0x00DB,0x20A4,
 
473
0x00AF,0x00DD,0x00FD,0x00B0,0x00C7,0x00E7,0x00D1,0x00F1,
 
474
0x00A1,0x00BF,0x00A4,0x00A3,0x00A5,0x00A7,0x0192,0x00A2,
 
475
0x00E2,0x00EA,0x00F4,0x00FB,0x00E1,0x00E9,0x00F3,0x00FA,
 
476
0x00E0,0x00E8,0x00F2,0x00F9,0x00E4,0x00EB,0x00F6,0x00FC,
 
477
0x00C5,0x00EE,0x00D8,0x00C6,0x00E5,0x00ED,0x00F8,0x00E6,
 
478
0x00C4,0x00EC,0x00D6,0x00DC,0x00C9,0x00EF,0x00DF,0x00D4,
 
479
0x00C1,0x00C3,0x00E3,0x00D0,0x00F0,0x00CD,0x00CC,0x00D3,
 
480
0x00D2,0x00D5,0x00F5,0x0160,0x0161,0x00DA,0x0178,0x00FF,
 
481
0x00DE,0x00FE,0x00B7,0x00B5,0x00B6,0x00BE,0x2014,0x00BC,
 
482
0x00BD,0x00AA,0x00BA,0x00AB,0x25A0,0x00BB,0x00B1,0x0000
 
483
};
 
484
 
 
485
#endif
 
486
 
 
487
#ifdef HAVE_CHARSET_koi8r
 
488
uchar ctype_koi8r_general_ci[] = {
 
489
0x00,
 
490
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
491
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
492
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
493
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
494
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
495
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
496
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
497
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
498
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
499
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
500
0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
501
0x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
502
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
503
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
504
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
505
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01
 
506
};
 
507
 
 
508
uchar to_lower_koi8r_general_ci[] = {
 
509
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
510
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
511
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
512
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
513
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
514
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
515
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
516
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
517
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
518
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
519
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
520
0xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
521
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
522
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
523
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
524
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
 
525
};
 
526
 
 
527
uchar to_upper_koi8r_general_ci[] = {
 
528
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
529
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
530
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
531
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
532
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
533
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
534
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
535
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
536
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
537
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
538
0xA0,0xA1,0xA2,0xB3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
539
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
540
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
541
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
542
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
543
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
544
};
 
545
 
 
546
uchar sort_order_koi8r_general_ci[] = {
 
547
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
548
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
549
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
550
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
551
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
552
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
553
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
554
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
555
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
556
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
557
0xA0,0xA1,0xA2,0xE5,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,
 
558
0xAF,0xB0,0xB1,0xE5,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,
 
559
0xFE,0xDF,0xE0,0xF6,0xE3,0xE4,0xF4,0xE2,0xF5,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,
 
560
0xEF,0xFF,0xF0,0xF1,0xF2,0xF3,0xE6,0xE1,0xFC,0xFB,0xE7,0xF8,0xFD,0xF9,0xF7,0xFA,
 
561
0xFE,0xDF,0xE0,0xF6,0xE3,0xE4,0xF4,0xE2,0xF5,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,
 
562
0xEF,0xFF,0xF0,0xF1,0xF2,0xF3,0xE6,0xE1,0xFC,0xFB,0xE7,0xF8,0xFD,0xF9,0xF7,0xFA
 
563
};
 
564
 
 
565
uint16 to_uni_koi8r_general_ci[] = {
 
566
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
567
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
568
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
569
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
570
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
571
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
572
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
573
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
574
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
575
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
576
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
577
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
578
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
579
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
580
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
581
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
582
0x2500,0x2502,0x250C,0x2510,0x2514,0x2518,0x251C,0x2524,
 
583
0x252C,0x2534,0x253C,0x2580,0x2584,0x2588,0x258C,0x2590,
 
584
0x2591,0x2592,0x2593,0x2320,0x25A0,0x2219,0x221A,0x2248,
 
585
0x2264,0x2265,0x00A0,0x2321,0x00B0,0x00B2,0x00B7,0x00F7,
 
586
0x2550,0x2551,0x2552,0x0451,0x2553,0x2554,0x2555,0x2556,
 
587
0x2557,0x2558,0x2559,0x255A,0x255B,0x255C,0x255D,0x255E,
 
588
0x255F,0x2560,0x2561,0x0401,0x2562,0x2563,0x2564,0x2565,
 
589
0x2566,0x2567,0x2568,0x2569,0x256A,0x256B,0x256C,0x00A9,
 
590
0x044E,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433,
 
591
0x0445,0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,
 
592
0x043F,0x044F,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432,
 
593
0x044C,0x044B,0x0437,0x0448,0x044D,0x0449,0x0447,0x044A,
 
594
0x042E,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413,
 
595
0x0425,0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,
 
596
0x041F,0x042F,0x0420,0x0421,0x0422,0x0423,0x0416,0x0412,
 
597
0x042C,0x042B,0x0417,0x0428,0x042D,0x0429,0x0427,0x042A
 
598
};
 
599
 
 
600
#endif
 
601
 
 
602
#ifdef HAVE_CHARSET_latin2
 
603
uchar ctype_latin2_general_ci[] = {
 
604
0x00,
 
605
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
606
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
607
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
608
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
609
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
610
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
611
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
612
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
613
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
614
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
615
0x48,0x01,0x10,0x01,0x10,0x01,0x01,0x10,0x10,0x01,0x01,0x01,0x01,0x10,0x01,0x01,
 
616
0x10,0x02,0x10,0x02,0x10,0x02,0x02,0x10,0x10,0x02,0x02,0x02,0x02,0x10,0x02,0x02,
 
617
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
618
0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,
 
619
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
620
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
621
};
 
622
 
 
623
uchar to_lower_latin2_general_ci[] = {
 
624
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
625
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
626
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
627
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
628
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
629
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
630
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
631
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
632
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
633
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
634
0xA0,0xB1,0xA2,0xB3,0xA4,0xB5,0xB6,0xA7,0xA8,0xB9,0xBA,0xBB,0xBC,0xAD,0xBE,0xBF,
 
635
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
636
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
637
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
638
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
639
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
640
};
 
641
 
 
642
uchar to_upper_latin2_general_ci[] = {
 
643
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
644
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
645
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
646
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
647
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
648
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
649
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
650
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
651
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
652
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
653
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
654
0xB0,0xA1,0xB2,0xA3,0xB4,0xA5,0xA6,0xB7,0xB8,0xA9,0xAA,0xAB,0xAC,0xBD,0xAE,0xAF,
 
655
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
656
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
657
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
658
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
659
};
 
660
 
 
661
uchar sort_order_latin2_general_ci[] = {
 
662
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
663
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
664
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
665
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
666
0x40,0x41,0x44,0x45,0x48,0x49,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x53,0x54,0x56,
 
667
0x58,0x59,0x5A,0x5B,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x68,0x69,0x6A,0x6B,0x6C,
 
668
0x6D,0x41,0x44,0x45,0x48,0x49,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x53,0x54,0x56,
 
669
0x58,0x59,0x5A,0x5B,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x6E,0x6F,0x70,0x71,0xFF,
 
670
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
671
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
672
0xFF,0x42,0xFF,0x52,0xFF,0x51,0x5C,0xFF,0xFF,0x5D,0x5B,0x5E,0x65,0xFF,0x67,0x66,
 
673
0xFF,0x42,0xFF,0x52,0xFF,0x51,0x5C,0xFF,0xFF,0x5D,0x5B,0x5E,0x65,0xFF,0x67,0x66,
 
674
0x5A,0x43,0x43,0x43,0x43,0x51,0x46,0x45,0x47,0x49,0x4A,0x49,0x49,0x4E,0x4E,0x48,
 
675
0xFF,0x55,0x54,0x57,0x56,0x56,0x56,0xFF,0x5A,0x5F,0x5F,0x5F,0x5F,0x63,0x5E,0xFF,
 
676
0x5A,0x43,0x43,0x43,0x43,0x51,0x46,0x45,0x47,0x49,0x4A,0x49,0x49,0x4E,0x4E,0x48,
 
677
0xFF,0x55,0x54,0x57,0x56,0x56,0x56,0xFF,0x5A,0x5F,0x5F,0x5F,0x5F,0x63,0x5E,0xFF
 
678
};
 
679
 
 
680
uint16 to_uni_latin2_general_ci[] = {
 
681
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
682
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
683
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
684
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
685
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
686
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
687
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
688
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
689
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
690
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
691
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
692
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
693
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
694
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
695
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
696
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
697
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
698
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
699
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
700
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
701
0x00A0,0x0104,0x02D8,0x0141,0x00A4,0x013D,0x015A,0x00A7,
 
702
0x00A8,0x0160,0x015E,0x0164,0x0179,0x00AD,0x017D,0x017B,
 
703
0x00B0,0x0105,0x02DB,0x0142,0x00B4,0x013E,0x015B,0x02C7,
 
704
0x00B8,0x0161,0x015F,0x0165,0x017A,0x02DD,0x017E,0x017C,
 
705
0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
 
706
0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
 
707
0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
 
708
0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
 
709
0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
 
710
0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
 
711
0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
 
712
0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
 
713
};
 
714
 
 
715
#endif
 
716
 
 
717
#ifdef HAVE_CHARSET_swe7
 
718
uchar ctype_swe7_swedish_ci[] = {
 
719
0x00,
 
720
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
721
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
722
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
723
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
724
0x01,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
725
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,
 
726
0x01,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
727
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x20,
 
728
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
729
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
730
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
731
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
732
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
733
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
734
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
735
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
 
736
};
 
737
 
 
738
uchar to_lower_swe7_swedish_ci[] = {
 
739
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
740
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
741
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
742
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
743
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
744
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x5F,
 
745
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
746
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
747
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
748
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
749
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
750
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
751
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
752
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
753
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
754
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
755
};
 
756
 
 
757
uchar to_upper_swe7_swedish_ci[] = {
 
758
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
759
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
760
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
761
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
762
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
763
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
764
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
765
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x7F,
 
766
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
767
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
768
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
769
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
770
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
771
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
772
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
773
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
774
};
 
775
 
 
776
uchar sort_order_swe7_swedish_ci[] = {
 
777
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
778
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
779
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
780
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
781
0x45,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
782
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5C,0x5D,0x5B,0x59,0x5F,
 
783
0x45,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
784
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5C,0x5D,0x5B,0x59,0x7F,
 
785
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
786
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
787
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
788
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
789
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
790
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
791
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
792
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
793
};
 
794
 
 
795
uint16 to_uni_swe7_swedish_ci[] = {
 
796
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
797
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
798
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
799
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
800
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
801
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
802
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
803
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
804
0x00C9,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
805
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
806
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
807
0x0058,0x0059,0x005A,0x00C4,0x00D6,0x00C5,0x00DC,0x005F,
 
808
0x00E9,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
809
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
810
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
811
0x0078,0x0079,0x007A,0x00E4,0x00F6,0x00E5,0x00FC,0x0000,
 
812
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
813
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
814
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
815
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
816
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
817
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
818
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
819
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
820
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
821
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
822
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
823
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
824
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
825
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
826
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
827
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
 
828
};
 
829
 
 
830
#endif
 
831
 
 
832
#ifdef HAVE_CHARSET_ascii
 
833
uchar ctype_ascii_general_ci[] = {
 
834
0x00,
 
835
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
836
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
837
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
838
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
839
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
840
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
841
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
842
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
843
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
844
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
845
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
846
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
847
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
848
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
849
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
850
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
 
851
};
 
852
 
 
853
uchar to_lower_ascii_general_ci[] = {
 
854
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
855
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
856
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
857
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
858
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
859
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
860
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
861
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
862
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
863
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
864
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
865
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
866
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
867
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
868
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
869
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
870
};
 
871
 
 
872
uchar to_upper_ascii_general_ci[] = {
 
873
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
874
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
875
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
876
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
877
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
878
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
879
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
880
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
881
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
882
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
883
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
884
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
885
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
886
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
887
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
888
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
889
};
 
890
 
 
891
uchar sort_order_ascii_general_ci[] = {
 
892
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
893
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
894
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
895
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
896
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
897
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
898
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
899
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
900
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
901
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
902
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
903
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
904
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
905
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
906
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
907
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
908
};
 
909
 
 
910
uint16 to_uni_ascii_general_ci[] = {
 
911
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
912
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
913
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
914
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
915
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
916
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
917
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
918
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
919
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
920
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
921
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
922
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
923
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
924
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
925
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
926
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
927
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
928
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
929
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
930
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
931
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
932
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
933
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
934
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
935
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
936
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
937
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
938
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
939
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
940
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
941
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
942
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
 
943
};
 
944
 
 
945
#endif
 
946
 
 
947
#ifdef HAVE_CHARSET_cp1251
 
948
uchar ctype_cp1251_bulgarian_ci[] = {
 
949
0x00,
 
950
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
951
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
952
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
953
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
954
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
955
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
956
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
957
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
958
0x01,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01,
 
959
0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x02,0x02,0x02,
 
960
0x00,0x01,0x02,0x01,0x00,0x01,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
 
961
0x00,0x00,0x01,0x02,0x02,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x02,0x01,0x02,0x02,
 
962
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
963
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
964
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
965
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
966
};
 
967
 
 
968
uchar to_lower_cp1251_bulgarian_ci[] = {
 
969
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
970
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
971
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
972
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
973
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
974
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
975
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
976
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
977
0x90,0x83,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
 
978
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
979
0xA0,0xA2,0xA2,0xBC,0xA4,0xB4,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
980
0xB0,0xB1,0xB3,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF,
 
981
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
982
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
983
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
984
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
985
};
 
986
 
 
987
uchar to_upper_cp1251_bulgarian_ci[] = {
 
988
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
989
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
990
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
991
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
992
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
993
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
994
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
995
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
996
0x80,0x81,0x82,0x81,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
997
0x80,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x9D,0x8E,0x8F,
 
998
0xA0,0xA1,0xA1,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
999
0xB0,0xB1,0xB2,0xB2,0xA5,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xA3,0xBD,0xBD,0xAF,
 
1000
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1001
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
1002
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1003
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
 
1004
};
 
1005
 
 
1006
uchar sort_order_cp1251_bulgarian_ci[] = {
 
1007
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1008
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1009
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1010
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1011
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1012
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7C,0x7D,0x7E,0x7F,0x80,
 
1013
0x81,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1014
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x82,0x83,0x84,0x85,0xFF,
 
1015
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
1016
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
1017
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x61,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
1018
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x61,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
1019
0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,
 
1020
0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,
 
1021
0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,
 
1022
0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B
 
1023
};
 
1024
 
 
1025
uint16 to_uni_cp1251_bulgarian_ci[] = {
 
1026
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
1027
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
1028
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
1029
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
1030
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
1031
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
1032
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
1033
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
1034
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
1035
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
1036
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
1037
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
1038
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
1039
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
1040
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
1041
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
1042
0x0402,0x0403,0x201A,0x0453,0x201E,0x2026,0x2020,0x2021,
 
1043
0x0000,0x2030,0x0409,0x2039,0x040A,0x040C,0x040B,0x040F,
 
1044
0x0452,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
1045
0x0000,0x2122,0x0459,0x203A,0x045A,0x045C,0x045B,0x045F,
 
1046
0x00A0,0x040E,0x045E,0x0408,0x00A4,0x0490,0x00A6,0x00A7,
 
1047
0x0401,0x00A9,0x0404,0x00AB,0x00AC,0x00AD,0x00AE,0x0407,
 
1048
0x00B0,0x00B1,0x0406,0x0456,0x0491,0x00B5,0x00B6,0x00B7,
 
1049
0x0451,0x2116,0x0454,0x00BB,0x0458,0x0405,0x0455,0x0457,
 
1050
0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
 
1051
0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F,
 
1052
0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
 
1053
0x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F,
 
1054
0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
 
1055
0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F,
 
1056
0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
 
1057
0x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F
 
1058
};
 
1059
 
 
1060
#endif
 
1061
 
 
1062
#ifdef HAVE_CHARSET_latin1
 
1063
uchar ctype_latin1_danish_ci[] = {
 
1064
0x00,
 
1065
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
1066
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1067
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1068
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
1069
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1070
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
1071
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1072
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
1073
0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
 
1074
0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
 
1075
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1076
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1077
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1078
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
1079
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1080
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
1081
};
 
1082
 
 
1083
uchar to_lower_latin1_danish_ci[] = {
 
1084
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1085
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1086
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1087
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1088
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1089
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1090
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1091
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1092
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1093
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1094
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1095
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
1096
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1097
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
1098
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1099
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1100
};
 
1101
 
 
1102
uchar to_upper_latin1_danish_ci[] = {
 
1103
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1104
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1105
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1106
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1107
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1108
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1109
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1110
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1111
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1112
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1113
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1114
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
1115
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1116
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
1117
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1118
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
1119
};
 
1120
 
 
1121
uchar sort_order_latin1_danish_ci[] = {
 
1122
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1123
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1124
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1125
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1126
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1127
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1128
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1129
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1130
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1131
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1132
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1133
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
1134
0x41,0x41,0x41,0x41,0x5B,0x5D,0x5B,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
 
1135
0x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5C,0xD7,0x5C,0x55,0x55,0x55,0x59,0x59,0xDE,0xDF,
 
1136
0x41,0x41,0x41,0x41,0x5B,0x5D,0x5B,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
 
1137
0x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5C,0xF7,0x5C,0x55,0x55,0x55,0x59,0x59,0xDE,0xFF
 
1138
};
 
1139
 
 
1140
uint16 to_uni_latin1_danish_ci[] = {
 
1141
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
1142
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
1143
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
1144
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
1145
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
1146
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
1147
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
1148
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
1149
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
1150
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
1151
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
1152
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
1153
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
1154
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
1155
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
1156
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
1157
0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
 
1158
0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
 
1159
0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
1160
0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
 
1161
0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
1162
0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
1163
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
1164
0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
 
1165
0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
 
1166
0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
 
1167
0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
 
1168
0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
 
1169
0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
 
1170
0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
 
1171
0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
 
1172
0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF
 
1173
};
 
1174
 
 
1175
#endif
 
1176
 
 
1177
#ifdef HAVE_CHARSET_hebrew
 
1178
uchar ctype_hebrew_general_ci[] = {
 
1179
0x00,
 
1180
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
1181
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1182
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1183
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
1184
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1185
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
1186
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1187
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
1188
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1189
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1190
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1191
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1192
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1193
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1194
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1195
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x00,0x20,0x20,0x00
 
1196
};
 
1197
 
 
1198
uchar to_lower_hebrew_general_ci[] = {
 
1199
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1200
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1201
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1202
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1203
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1204
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1205
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1206
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1207
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1208
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1209
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1210
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
1211
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1212
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
1213
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1214
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1215
};
 
1216
 
 
1217
uchar to_upper_hebrew_general_ci[] = {
 
1218
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1219
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1220
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1221
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1222
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1223
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1224
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1225
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1226
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1227
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1228
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1229
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
1230
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1231
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
1232
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1233
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1234
};
 
1235
 
 
1236
uchar sort_order_hebrew_general_ci[] = {
 
1237
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1238
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1239
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1240
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1241
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1242
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1243
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1244
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1245
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1246
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1247
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1248
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
1249
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1250
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF,
 
1251
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1252
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1253
};
 
1254
 
 
1255
uint16 to_uni_hebrew_general_ci[] = {
 
1256
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
1257
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
1258
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
1259
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
1260
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
1261
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
1262
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
1263
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
1264
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
1265
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
1266
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
1267
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
1268
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
1269
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
1270
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
1271
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
1272
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
1273
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
1274
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
1275
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
1276
0x00A0,0x0000,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
1277
0x00A8,0x00A9,0x00D7,0x00AB,0x00AC,0x00AD,0x00AE,0x203E,
 
1278
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
1279
0x00B8,0x00B9,0x00F7,0x00BB,0x00BC,0x00BD,0x00BE,0x0000,
 
1280
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
1281
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
1282
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
1283
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x2017,
 
1284
0x05D0,0x05D1,0x05D2,0x05D3,0x05D4,0x05D5,0x05D6,0x05D7,
 
1285
0x05D8,0x05D9,0x05DA,0x05DB,0x05DC,0x05DD,0x05DE,0x05DF,
 
1286
0x05E0,0x05E1,0x05E2,0x05E3,0x05E4,0x05E5,0x05E6,0x05E7,
 
1287
0x05E8,0x05E9,0x05EA,0x0000,0x0000,0x200E,0x200F,0x0000
 
1288
};
 
1289
 
 
1290
#endif
 
1291
 
 
1292
#ifdef HAVE_CHARSET_latin7
 
1293
uchar ctype_latin7_estonian_cs[] = {
 
1294
0x00,
 
1295
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
1296
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1297
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1298
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
1299
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1300
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
1301
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1302
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
1303
0x01,0x20,0x10,0x20,0x10,0x10,0x00,0x00,0x20,0x10,0x20,0x10,0x20,0x10,0x10,0x10,
 
1304
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x00,0x20,0x10,0x20,0x10,0x10,0x20,
 
1305
0x48,0x20,0x10,0x10,0x10,0x20,0x10,0x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
 
1306
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x02,
 
1307
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1308
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
1309
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1310
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
1311
};
 
1312
 
 
1313
uchar to_lower_latin7_estonian_cs[] = {
 
1314
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1315
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1316
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1317
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1318
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1319
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1320
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1321
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1322
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1323
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1324
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
1325
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
1326
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1327
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
1328
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1329
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1330
};
 
1331
 
 
1332
uchar to_upper_latin7_estonian_cs[] = {
 
1333
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1334
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1335
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1336
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1337
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1338
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1339
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1340
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1341
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1342
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1343
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1344
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xBC,0xBD,0xBE,0xAF,
 
1345
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1346
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
1347
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1348
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
1349
};
 
1350
 
 
1351
uchar sort_order_latin7_estonian_cs[] = {
 
1352
0x00,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x2E,0x2F,0x30,0x31,0x32,0x0A,0x0B,
 
1353
0x0C,0x0D,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,
 
1354
0x2C,0x33,0x34,0x35,0x36,0x37,0x38,0x27,0x39,0x3A,0x3B,0x5D,0x3C,0x28,0x3D,0x3E,
 
1355
0x76,0x7A,0x7C,0x7E,0x80,0x81,0x82,0x83,0x84,0x85,0x3F,0x40,0x5E,0x5F,0x60,0x41,
 
1356
0x42,0x86,0x90,0x92,0x98,0x9A,0xA4,0xA6,0xAA,0xAC,0xB2,0xB4,0xB8,0xBE,0xC0,0xC6,
 
1357
0xCE,0xD0,0xD2,0xD6,0xE5,0xE8,0xEE,0xF0,0xFA,0xFC,0xDD,0x43,0x44,0x45,0x46,0x47,
 
1358
0x48,0x87,0x91,0x93,0x99,0x9B,0xA5,0xA7,0xAB,0xAD,0xB3,0xB5,0xB9,0xBF,0xC1,0xC7,
 
1359
0xCF,0xD1,0xD3,0xD7,0xE6,0xE9,0xEF,0xF1,0xFB,0xFD,0xDE,0x49,0x4A,0x4B,0x4C,0x1C,
 
1360
0x01,0x1D,0x57,0x1E,0x5A,0x74,0x71,0x72,0x1F,0x75,0x20,0x5B,0x21,0x4E,0x52,0x51,
 
1361
0x22,0x55,0x56,0x58,0x59,0x73,0x2A,0x2B,0x23,0xE7,0x24,0x5C,0x25,0x4F,0x54,0x26,
 
1362
0x2D,0xFE,0x66,0x67,0x68,0xFF,0x4D,0x69,0xCC,0x6A,0xD4,0x62,0x6B,0x29,0x6C,0x8E,
 
1363
0x6D,0x61,0x7D,0x7F,0x50,0x6E,0x6F,0x70,0xCD,0x7B,0xD5,0x63,0x77,0x78,0x79,0x8F,
 
1364
0x8C,0xB0,0x88,0x94,0xF4,0x8A,0xA2,0xA0,0x96,0x9C,0xDF,0x9E,0xA8,0xB6,0xAE,0xBA,
 
1365
0xDB,0xC2,0xC4,0xC8,0xCA,0xF2,0xF6,0x64,0xEC,0xBC,0xD8,0xEA,0xF8,0xE1,0xE3,0xDA,
 
1366
0x8D,0xB1,0x89,0x95,0xF5,0x8B,0xA3,0xA1,0x97,0x9D,0xE0,0x9F,0xA9,0xB7,0xAF,0xBB,
 
1367
0xDC,0xC3,0xC5,0xC9,0xCB,0xF3,0xF7,0x65,0xED,0xBD,0xD9,0xEB,0xF9,0xE2,0xE4,0x53
 
1368
};
 
1369
 
 
1370
uint16 to_uni_latin7_estonian_cs[] = {
 
1371
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
1372
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
1373
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
1374
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
1375
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
1376
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
1377
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
1378
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
1379
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
1380
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
1381
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
1382
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
1383
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
1384
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
1385
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
1386
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
1387
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
1388
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
1389
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
1390
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
1391
0x00A0,0x201D,0x00A2,0x00A3,0x00A4,0x201E,0x00A6,0x00A7,
 
1392
0x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6,
 
1393
0x00B0,0x00B1,0x00B2,0x00B3,0x201C,0x00B5,0x00B6,0x00B7,
 
1394
0x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6,
 
1395
0x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112,
 
1396
0x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B,
 
1397
0x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7,
 
1398
0x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF,
 
1399
0x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113,
 
1400
0x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C,
 
1401
0x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7,
 
1402
0x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x2019
 
1403
};
 
1404
 
 
1405
#endif
 
1406
 
 
1407
#ifdef HAVE_CHARSET_latin2
 
1408
uchar ctype_latin2_hungarian_ci[] = {
 
1409
0x00,
 
1410
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
1411
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1412
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1413
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
1414
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1415
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
1416
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1417
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
1418
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1419
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1420
0x48,0x01,0x10,0x01,0x10,0x01,0x01,0x10,0x10,0x01,0x01,0x01,0x01,0x10,0x01,0x01,
 
1421
0x10,0x02,0x10,0x02,0x10,0x02,0x02,0x10,0x10,0x02,0x02,0x02,0x02,0x10,0x02,0x02,
 
1422
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1423
0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,
 
1424
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1425
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
1426
};
 
1427
 
 
1428
uchar to_lower_latin2_hungarian_ci[] = {
 
1429
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1430
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1431
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1432
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1433
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1434
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1435
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1436
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1437
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1438
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1439
0xA0,0xB1,0xA2,0xB3,0xA4,0xB5,0xB6,0xA7,0xA8,0xB9,0xBA,0xBB,0xBC,0xAD,0xBE,0xBF,
 
1440
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
1441
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1442
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
1443
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1444
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1445
};
 
1446
 
 
1447
uchar to_upper_latin2_hungarian_ci[] = {
 
1448
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1449
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1450
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1451
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1452
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1453
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1454
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1455
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1456
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1457
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1458
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1459
0xB0,0xA1,0xB2,0xA3,0xB4,0xA5,0xA6,0xB7,0xB8,0xA9,0xAA,0xAB,0xAC,0xBD,0xAE,0xAF,
 
1460
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1461
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
1462
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1463
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
1464
};
 
1465
 
 
1466
uchar sort_order_latin2_hungarian_ci[] = {
 
1467
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1468
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1469
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1470
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1471
0x40,0x41,0x47,0x48,0x4C,0x4E,0x53,0x54,0x55,0x56,0x5A,0x5B,0x5C,0x60,0x61,0x64,
 
1472
0x69,0x6A,0x6B,0x6E,0x72,0x75,0x7A,0x7B,0x7C,0x7D,0x7F,0x83,0x84,0x85,0x86,0x87,
 
1473
0x88,0x41,0x47,0x48,0x4C,0x4E,0x53,0x54,0x55,0x56,0x5A,0x5B,0x5C,0x60,0x61,0x64,
 
1474
0x69,0x6A,0x6B,0x6E,0x72,0x75,0x7A,0x7B,0x7C,0x7D,0x7F,0x89,0x8A,0x8B,0x8C,0x00,
 
1475
0x01,0x78,0x4E,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x67,0x67,0x56,0x56,0x0F,0x41,
 
1476
0x4E,0x12,0x13,0x67,0x67,0x64,0x78,0x75,0x78,0x67,0x78,0x1C,0x1D,0x1E,0x1F,0xFF,
 
1477
0x41,0x56,0x64,0x75,0x5E,0x6F,0xFF,0x67,0xFF,0x70,0x71,0x73,0x80,0xFF,0x81,0x82,
 
1478
0xFF,0x42,0xFF,0x5D,0xFF,0x41,0x6F,0xFF,0xFF,0x70,0x71,0x73,0x80,0xFF,0x81,0x82,
 
1479
0x6C,0x41,0x44,0x45,0x46,0x5F,0x49,0x4B,0x4A,0x4E,0x51,0x52,0x50,0x56,0x57,0x4D,
 
1480
0xFF,0x62,0x63,0x64,0x66,0x67,0x67,0xFF,0x6D,0x77,0x75,0x78,0x78,0x7E,0x74,0xFF,
 
1481
0x64,0x41,0x44,0x45,0x46,0x5F,0x49,0x4B,0x4A,0x4E,0x51,0x78,0x50,0x56,0x58,0x4D,
 
1482
0xFF,0x62,0x63,0x64,0x66,0x67,0x67,0xFF,0x6D,0x77,0x75,0x78,0x78,0x7E,0x74,0xFF
 
1483
};
 
1484
 
 
1485
uint16 to_uni_latin2_hungarian_ci[] = {
 
1486
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
1487
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
1488
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
1489
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
1490
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
1491
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
1492
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
1493
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
1494
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
1495
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
1496
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
1497
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
1498
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
1499
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
1500
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
1501
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
1502
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
1503
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
1504
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
1505
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
1506
0x00A0,0x0104,0x02D8,0x0141,0x00A4,0x013D,0x015A,0x00A7,
 
1507
0x00A8,0x0160,0x015E,0x0164,0x0179,0x00AD,0x017D,0x017B,
 
1508
0x00B0,0x0105,0x02DB,0x0142,0x00B4,0x013E,0x015B,0x02C7,
 
1509
0x00B8,0x0161,0x015F,0x0165,0x017A,0x02DD,0x017E,0x017C,
 
1510
0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
 
1511
0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
 
1512
0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
 
1513
0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
 
1514
0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
 
1515
0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
 
1516
0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
 
1517
0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
 
1518
};
 
1519
 
 
1520
#endif
 
1521
 
 
1522
#ifdef HAVE_CHARSET_koi8u
 
1523
uchar ctype_koi8u_general_ci[] = {
 
1524
0x00,
 
1525
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
1526
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1527
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1528
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
1529
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1530
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
1531
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1532
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
1533
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1534
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1535
0x10,0x10,0x10,0x02,0x02,0x10,0x02,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,
 
1536
0x10,0x10,0x10,0x01,0x01,0x10,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x10,
 
1537
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1538
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1539
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1540
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01
 
1541
};
 
1542
 
 
1543
uchar to_lower_koi8u_general_ci[] = {
 
1544
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1545
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1546
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1547
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1548
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1549
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1550
0x20,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1551
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1552
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1553
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1554
0x20,0x20,0x20,0xA3,0xA4,0x20,0xA6,0xA7,0x20,0x20,0x20,0x20,0x20,0xAD,0x20,0x20,
 
1555
0x20,0x20,0x20,0xA3,0xA4,0x20,0xA6,0xA7,0x20,0x20,0x20,0x20,0x20,0xAD,0x20,0x20,
 
1556
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1557
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
1558
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1559
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
 
1560
};
 
1561
 
 
1562
uchar to_upper_koi8u_general_ci[] = {
 
1563
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1564
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1565
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1566
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1567
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1568
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1569
0x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1570
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1571
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1572
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1573
0x20,0x20,0x20,0xB3,0xB4,0x20,0xB6,0xB7,0x20,0x20,0x20,0x20,0x20,0xBD,0x20,0x20,
 
1574
0x20,0x20,0x20,0xB3,0xB4,0x20,0xB6,0xB7,0x20,0x20,0x20,0x20,0x20,0xBD,0x20,0x20,
 
1575
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1576
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
1577
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1578
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1579
};
 
1580
 
 
1581
uchar sort_order_koi8u_general_ci[] = {
 
1582
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1583
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1584
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1585
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1586
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1587
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1588
0x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1589
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1590
0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4,
 
1591
0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,
 
1592
0xC5,0xC6,0xC7,0x88,0x87,0xC8,0x8C,0x8D,0xC9,0xCA,0xCB,0xCC,0xCD,0x84,0xCE,0xCF,
 
1593
0xD0,0xD1,0xD2,0x88,0x87,0xD3,0x8C,0x8D,0xD4,0xD5,0xD6,0xD7,0xD8,0x84,0xD9,0xDA,
 
1594
0xA3,0x80,0x81,0x9B,0x85,0x86,0x99,0x83,0x9A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,
 
1595
0x94,0xA4,0x95,0x96,0x97,0x98,0x89,0x82,0xA1,0xA0,0x8A,0x9D,0xA2,0x9E,0x9C,0x9F,
 
1596
0xA3,0x80,0x81,0x9B,0x85,0x86,0x99,0x83,0x9A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,
 
1597
0x94,0xA4,0x95,0x96,0x97,0x98,0x89,0x82,0xA1,0xA0,0x8A,0x9D,0xA2,0x9E,0x9C,0x9F
 
1598
};
 
1599
 
 
1600
uint16 to_uni_koi8u_general_ci[] = {
 
1601
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
1602
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
1603
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
1604
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
1605
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
1606
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
1607
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
1608
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
1609
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
1610
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
1611
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
1612
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
1613
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
1614
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
1615
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
1616
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
1617
0x2500,0x2502,0x250C,0x2510,0x2514,0x2518,0x251C,0x2524,
 
1618
0x252C,0x2534,0x253C,0x2580,0x2584,0x2588,0x258C,0x2590,
 
1619
0x2591,0x2592,0x2593,0x2320,0x25A0,0x2022,0x221A,0x2248,
 
1620
0x2264,0x2265,0x00A0,0x2321,0x00B0,0x00B2,0x00B7,0x00F7,
 
1621
0x2550,0x2551,0x2552,0x0451,0x0454,0x2554,0x0456,0x0457,
 
1622
0x2557,0x2558,0x2559,0x255A,0x255B,0x0491,0x255D,0x255E,
 
1623
0x255F,0x2560,0x2561,0x0401,0x0404,0x2563,0x0406,0x0407,
 
1624
0x2566,0x2567,0x2568,0x2569,0x256A,0x0490,0x256C,0x00A9,
 
1625
0x044E,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433,
 
1626
0x0445,0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,
 
1627
0x043F,0x044F,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432,
 
1628
0x044C,0x044B,0x0437,0x0448,0x044D,0x0449,0x0447,0x044A,
 
1629
0x042E,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413,
 
1630
0x0425,0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,
 
1631
0x041F,0x042F,0x0420,0x0421,0x0422,0x0423,0x0416,0x0412,
 
1632
0x042C,0x042B,0x0417,0x0428,0x042D,0x0429,0x0427,0x042A
 
1633
};
 
1634
 
 
1635
#endif
 
1636
 
 
1637
#ifdef HAVE_CHARSET_cp1251
 
1638
uchar ctype_cp1251_ukrainian_ci[] = {
 
1639
0x00,
 
1640
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
1641
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1642
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1643
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
1644
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1645
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
1646
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1647
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
1648
0x01,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01,
 
1649
0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x02,0x02,0x02,
 
1650
0x00,0x01,0x02,0x01,0x00,0x01,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
 
1651
0x00,0x00,0x01,0x02,0x02,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x02,0x01,0x02,0x02,
 
1652
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1653
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1654
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1655
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
1656
};
 
1657
 
 
1658
uchar to_lower_cp1251_ukrainian_ci[] = {
 
1659
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1660
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1661
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1662
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1663
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1664
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1665
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1666
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1667
0x90,0x83,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
 
1668
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1669
0xA0,0xA2,0xA2,0xBC,0xA4,0xB4,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
1670
0xB0,0xB1,0xB3,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF,
 
1671
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1672
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
1673
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1674
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1675
};
 
1676
 
 
1677
uchar to_upper_cp1251_ukrainian_ci[] = {
 
1678
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1679
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1680
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1681
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1682
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1683
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1684
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1685
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1686
0x80,0x81,0x82,0x81,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1687
0x80,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x9D,0x8E,0x8F,
 
1688
0xA0,0xA1,0xA1,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1689
0xB0,0xB1,0xB2,0xB2,0xA5,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xA3,0xBD,0xBD,0xAF,
 
1690
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1691
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
1692
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1693
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
 
1694
};
 
1695
 
 
1696
uchar sort_order_cp1251_ukrainian_ci[] = {
 
1697
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1698
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1699
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1700
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1701
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1702
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1703
0x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1704
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1705
0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4,
 
1706
0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,
 
1707
0xC5,0xC6,0xC7,0xC8,0xC9,0x84,0xCA,0xCB,0x88,0xCC,0x87,0xCD,0xCE,0xCF,0xD0,0x8D,
 
1708
0xD1,0xD2,0x8C,0x8C,0x84,0xD3,0xD4,0xD5,0x88,0xD6,0x87,0xD7,0xD8,0xD9,0xDA,0x8D,
 
1709
0x80,0x81,0x82,0x83,0x85,0x86,0x89,0x8A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,0x94,
 
1710
0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,
 
1711
0x80,0x81,0x82,0x83,0x85,0x86,0x89,0x8A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,0x94,
 
1712
0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4
 
1713
};
 
1714
 
 
1715
uint16 to_uni_cp1251_ukrainian_ci[] = {
 
1716
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
1717
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
1718
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
1719
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
1720
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
1721
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
1722
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
1723
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
1724
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
1725
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
1726
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
1727
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
1728
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
1729
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
1730
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
1731
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
1732
0x0402,0x0403,0x201A,0x0453,0x201E,0x2026,0x2020,0x2021,
 
1733
0x0000,0x2030,0x0409,0x2039,0x040A,0x040C,0x040B,0x040F,
 
1734
0x0452,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
1735
0x0000,0x2122,0x0459,0x203A,0x045A,0x045C,0x045B,0x045F,
 
1736
0x00A0,0x040E,0x045E,0x0408,0x00A4,0x0490,0x00A6,0x00A7,
 
1737
0x0401,0x00A9,0x0404,0x00AB,0x00AC,0x00AD,0x00AE,0x0407,
 
1738
0x00B0,0x00B1,0x0406,0x0456,0x0491,0x00B5,0x00B6,0x00B7,
 
1739
0x0451,0x2116,0x0454,0x00BB,0x0458,0x0405,0x0455,0x0457,
 
1740
0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
 
1741
0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F,
 
1742
0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
 
1743
0x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F,
 
1744
0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
 
1745
0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F,
 
1746
0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
 
1747
0x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F
 
1748
};
 
1749
 
 
1750
#endif
 
1751
 
 
1752
#ifdef HAVE_CHARSET_greek
 
1753
uchar ctype_greek_general_ci[] = {
 
1754
0x00,
 
1755
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
1756
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1757
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1758
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
1759
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1760
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
1761
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1762
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
1763
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1764
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1765
0x48,0x10,0x10,0x10,0x00,0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x10,0x10,0x00,0x10,
 
1766
0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x01,0x01,0x10,0x01,0x10,0x01,0x01,
 
1767
0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1768
0x01,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,
 
1769
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1770
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00
 
1771
};
 
1772
 
 
1773
uchar to_lower_greek_general_ci[] = {
 
1774
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1775
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1776
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1777
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1778
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1779
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1780
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1781
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1782
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1783
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1784
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1785
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xDC,0xB7,0xDD,0xDE,0xDF,0xBB,0xFC,0xBD,0xFD,0xFE,
 
1786
0xC0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1787
0xF0,0xF1,0xD2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xDC,0xDD,0xDE,0xDF,
 
1788
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1789
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1790
};
 
1791
 
 
1792
uchar to_upper_greek_general_ci[] = {
 
1793
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1794
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1795
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1796
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1797
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1798
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1799
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1800
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1801
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1802
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1803
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1804
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
1805
0xDA,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1806
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xC1,0xC5,0xC7,0xC9,
 
1807
0xDB,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1808
0xD0,0xD1,0xD3,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xCF,0xD5,0xD9,0xFF
 
1809
};
 
1810
 
 
1811
uchar sort_order_greek_general_ci[] = {
 
1812
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1813
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1814
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1815
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1816
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1817
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1818
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1819
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1820
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1821
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1822
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1823
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xC1,0xB7,0xC5,0xC7,0xC9,0xBB,0xCF,0xBD,0xD5,0xD9,
 
1824
0xC9,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1825
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xC9,0xD5,0xC1,0xC5,0xC7,0xC9,
 
1826
0xD5,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1827
0xD0,0xD1,0xD3,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xC9,0xD5,0xCF,0xD5,0xD9,0xFF
 
1828
};
 
1829
 
 
1830
uint16 to_uni_greek_general_ci[] = {
 
1831
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
1832
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
1833
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
1834
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
1835
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
1836
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
1837
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
1838
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
1839
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
1840
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
1841
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
1842
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
1843
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
1844
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
1845
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
1846
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
1847
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
1848
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
1849
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
1850
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
1851
0x00A0,0x02BD,0x02BC,0x00A3,0x0000,0x0000,0x00A6,0x00A7,
 
1852
0x00A8,0x00A9,0x0000,0x00AB,0x00AC,0x00AD,0x0000,0x2015,
 
1853
0x00B0,0x00B1,0x00B2,0x00B3,0x0384,0x0385,0x0386,0x00B7,
 
1854
0x0388,0x0389,0x038A,0x00BB,0x038C,0x00BD,0x038E,0x038F,
 
1855
0x0390,0x0391,0x0392,0x0393,0x0394,0x0395,0x0396,0x0397,
 
1856
0x0398,0x0399,0x039A,0x039B,0x039C,0x039D,0x039E,0x039F,
 
1857
0x03A0,0x03A1,0x0000,0x03A3,0x03A4,0x03A5,0x03A6,0x03A7,
 
1858
0x03A8,0x03A9,0x03AA,0x03AB,0x03AC,0x03AD,0x03AE,0x03AF,
 
1859
0x03B0,0x03B1,0x03B2,0x03B3,0x03B4,0x03B5,0x03B6,0x03B7,
 
1860
0x03B8,0x03B9,0x03BA,0x03BB,0x03BC,0x03BD,0x03BE,0x03BF,
 
1861
0x03C0,0x03C1,0x03C2,0x03C3,0x03C4,0x03C5,0x03C6,0x03C7,
 
1862
0x03C8,0x03C9,0x03CA,0x03CB,0x03CC,0x03CD,0x03CE,0x0000
 
1863
};
 
1864
 
 
1865
#endif
 
1866
 
 
1867
#ifdef HAVE_CHARSET_cp1250
 
1868
uchar ctype_cp1250_general_ci[] = {
 
1869
0x00,
 
1870
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
1871
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1872
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1873
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
1874
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1875
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
1876
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1877
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
1878
0x20,0x20,0x10,0x20,0x10,0x10,0x10,0x10,0x20,0x10,0x01,0x10,0x01,0x01,0x01,0x01,
 
1879
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x10,0x02,0x10,0x02,0x02,0x02,0x02,
 
1880
0x48,0x10,0x10,0x01,0x10,0x01,0x10,0x01,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
 
1881
0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x02,0x10,0x01,0x10,0x02,0x02,
 
1882
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1883
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
1884
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1885
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
1886
};
 
1887
 
 
1888
uchar to_lower_cp1250_general_ci[] = {
 
1889
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1890
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1891
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1892
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1893
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1894
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1895
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
1896
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1897
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
 
1898
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
1899
0xA0,0xA1,0xA2,0xB3,0xA4,0xB9,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
1900
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBE,0xBD,0xBE,0xBF,
 
1901
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1902
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
1903
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
1904
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
1905
};
 
1906
 
 
1907
uchar to_upper_cp1250_general_ci[] = {
 
1908
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1909
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1910
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1911
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1912
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1913
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
1914
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
1915
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1916
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
1917
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x8D,0x8E,0x8F,
 
1918
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
1919
0xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xA5,0xAA,0xBB,0xBC,0xBD,0xBC,0xAF,
 
1920
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1921
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
1922
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
1923
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
1924
};
 
1925
 
 
1926
uchar sort_order_cp1250_general_ci[] = {
 
1927
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
1928
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
1929
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
1930
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
1931
0x40,0x41,0x42,0x43,0x46,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x55,
 
1932
0x56,0x57,0x58,0x59,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x63,0x64,0x65,0x66,0x67,
 
1933
0x68,0x41,0x42,0x43,0x46,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x55,
 
1934
0x56,0x57,0x58,0x59,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x7B,0x7C,0x7D,0x7E,0x7F,
 
1935
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x5A,0x8B,0x5A,0x5B,0x62,0x62,
 
1936
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x5A,0x9B,0x5A,0x5B,0x62,0x62,
 
1937
0x20,0xA1,0xA2,0x50,0xA4,0x41,0xA6,0x59,0xA8,0xA9,0x59,0xAB,0xAC,0xAD,0xAE,0x62,
 
1938
0xB0,0xB1,0xB2,0x50,0xB4,0xB5,0xB6,0xB7,0xB8,0x41,0x59,0xBB,0x50,0xBD,0x50,0x62,
 
1939
0x58,0x41,0x41,0x41,0x41,0x50,0x45,0x43,0x44,0x49,0x49,0x49,0x49,0x4D,0x4D,0x46,
 
1940
0x47,0x53,0x53,0x55,0x55,0x55,0x55,0xD7,0x58,0x5C,0x5C,0x5C,0x5C,0x60,0x5B,0x59,
 
1941
0x58,0x41,0x41,0x41,0x41,0x50,0x45,0x43,0x44,0x49,0x49,0x49,0x49,0x4D,0x4D,0x46,
 
1942
0x47,0x53,0x53,0x55,0x55,0x55,0x55,0xF7,0x58,0x5C,0x5C,0x5C,0x5C,0x60,0x5B,0xFF
 
1943
};
 
1944
 
 
1945
uint16 to_uni_cp1250_general_ci[] = {
 
1946
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
1947
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
1948
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
1949
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
1950
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
1951
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
1952
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
1953
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
1954
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
1955
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
1956
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
1957
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
1958
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
1959
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
1960
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
1961
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
1962
0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
 
1963
0x0000,0x2030,0x0160,0x2039,0x015A,0x0164,0x017D,0x0179,
 
1964
0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
1965
0x0000,0x2122,0x0161,0x203A,0x015B,0x0165,0x017E,0x017A,
 
1966
0x00A0,0x02C7,0x02D8,0x0141,0x00A4,0x0104,0x00A6,0x00A7,
 
1967
0x00A8,0x00A9,0x015E,0x00AB,0x00AC,0x00AD,0x00AE,0x017B,
 
1968
0x00B0,0x00B1,0x02DB,0x0142,0x00B4,0x00B5,0x00B6,0x00B7,
 
1969
0x00B8,0x0105,0x015F,0x00BB,0x013D,0x02DD,0x013E,0x017C,
 
1970
0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
 
1971
0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
 
1972
0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
 
1973
0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
 
1974
0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
 
1975
0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
 
1976
0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
 
1977
0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
 
1978
};
 
1979
 
 
1980
#endif
 
1981
 
 
1982
#ifdef HAVE_CHARSET_latin2
 
1983
uchar ctype_latin2_croatian_ci[] = {
 
1984
0x00,
 
1985
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
1986
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
1987
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
1988
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
1989
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1990
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
1991
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
1992
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
1993
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1994
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
1995
0x48,0x01,0x10,0x01,0x10,0x01,0x01,0x10,0x10,0x01,0x01,0x01,0x01,0x10,0x01,0x01,
 
1996
0x10,0x02,0x10,0x02,0x10,0x02,0x02,0x10,0x10,0x02,0x02,0x02,0x02,0x10,0x02,0x02,
 
1997
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
1998
0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,
 
1999
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2000
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
2001
};
 
2002
 
 
2003
uchar to_lower_latin2_croatian_ci[] = {
 
2004
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2005
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2006
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2007
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2008
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2009
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2010
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2011
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2012
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2013
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2014
0xA0,0xB1,0xA2,0xB3,0xA4,0xB5,0xB6,0xA7,0xA8,0xB9,0xBA,0xBB,0xBC,0xAD,0xBE,0xBF,
 
2015
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2016
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2017
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
2018
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2019
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2020
};
 
2021
 
 
2022
uchar to_upper_latin2_croatian_ci[] = {
 
2023
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2024
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2025
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2026
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2027
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2028
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2029
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2030
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2031
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2032
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2033
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2034
0xB0,0xA1,0xB2,0xA3,0xB4,0xA5,0xA6,0xB7,0xB8,0xA9,0xAA,0xAB,0xAC,0xBD,0xAE,0xAF,
 
2035
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2036
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2037
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2038
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
2039
};
 
2040
 
 
2041
uchar sort_order_latin2_croatian_ci[] = {
 
2042
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2043
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2044
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2045
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2046
0x40,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
 
2047
0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0xC6,0xC7,0xC8,0xC9,0xCA,
 
2048
0xCB,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
 
2049
0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0xCC,0xCD,0xCE,0xCF,0xD0,
 
2050
0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,0xE0,
 
2051
0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,0xF0,
 
2052
0xF1,0x41,0xF2,0x54,0xF3,0x54,0x5F,0xF4,0xF5,0x61,0x5F,0x62,0x6B,0xF6,0x8E,0x6B,
 
2053
0xF7,0x41,0xF8,0x54,0xF9,0x54,0x5F,0xFA,0xFB,0x61,0x5F,0x62,0x6B,0xFC,0x8E,0x6B,
 
2054
0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48,
 
2055
0x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xFD,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0x5F,
 
2056
0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48,
 
2057
0x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xFE,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0xFF
 
2058
};
 
2059
 
 
2060
uint16 to_uni_latin2_croatian_ci[] = {
 
2061
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
2062
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
2063
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
2064
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
2065
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
2066
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
2067
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
2068
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
2069
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
2070
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
2071
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
2072
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
2073
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
2074
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
2075
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
2076
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
2077
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
2078
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
2079
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
2080
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
2081
0x00A0,0x0104,0x02D8,0x0141,0x00A4,0x013D,0x015A,0x00A7,
 
2082
0x00A8,0x0160,0x015E,0x0164,0x0179,0x00AD,0x017D,0x017B,
 
2083
0x00B0,0x0105,0x02DB,0x0142,0x00B4,0x013E,0x015B,0x02C7,
 
2084
0x00B8,0x0161,0x015F,0x0165,0x017A,0x02DD,0x017E,0x017C,
 
2085
0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
 
2086
0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
 
2087
0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
 
2088
0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
 
2089
0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
 
2090
0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
 
2091
0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
 
2092
0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
 
2093
};
 
2094
 
 
2095
#endif
 
2096
 
 
2097
#ifdef HAVE_CHARSET_cp1257
 
2098
uchar ctype_cp1257_lithuanian_ci[] = {
 
2099
0x00,
 
2100
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
2101
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
2102
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2103
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
2104
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2105
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
2106
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2107
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
2108
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2109
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2110
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
 
2111
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x02,
 
2112
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2113
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
2114
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2115
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00
 
2116
};
 
2117
 
 
2118
uchar to_lower_cp1257_lithuanian_ci[] = {
 
2119
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2120
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2121
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2122
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2123
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2124
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2125
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2126
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2127
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2128
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2129
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
2130
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2131
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2132
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
2133
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2134
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2135
};
 
2136
 
 
2137
uchar to_upper_cp1257_lithuanian_ci[] = {
 
2138
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2139
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2140
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2141
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2142
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2143
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2144
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2145
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2146
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2147
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2148
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2149
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xAF,
 
2150
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2151
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2152
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2153
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
2154
};
 
2155
 
 
2156
uchar sort_order_cp1257_lithuanian_ci[] = {
 
2157
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2158
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2159
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2160
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2161
0x40,0x41,0x43,0x44,0x46,0x47,0x4A,0x4B,0x4C,0x4D,0x50,0x51,0x52,0x53,0x54,0x55,
 
2162
0x56,0x57,0x58,0x59,0x5B,0x5C,0x5F,0x60,0x61,0x4E,0xFF,0x62,0x63,0x64,0x65,0x66,
 
2163
0x67,0x41,0x43,0x44,0x46,0x47,0x4A,0x4B,0x4C,0x4D,0x50,0x51,0x52,0x53,0x54,0x55,
 
2164
0x56,0x57,0x58,0x59,0x5B,0x5C,0x5F,0x60,0x61,0x4E,0xFF,0x68,0x69,0x6A,0x6B,0xFF,
 
2165
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
2166
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
2167
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
2168
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
2169
0x42,0x4F,0xFF,0xFF,0xFF,0xFF,0x48,0xFF,0x45,0xFF,0xFF,0x49,0xFF,0xFF,0xFF,0xFF,
 
2170
0x5A,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x5E,0xFF,0xFF,0x5D,0xFF,0xFF,0xFF,0xFF,
 
2171
0xFF,0x4F,0xFF,0xFF,0xFF,0xFF,0x48,0xFF,0x45,0xFF,0xFF,0x49,0xFF,0xFF,0xFF,0xFF,
 
2172
0x5A,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x5E,0xFF,0xFF,0x5D,0xFF,0xFF,0xFF,0xFF
 
2173
};
 
2174
 
 
2175
uint16 to_uni_cp1257_lithuanian_ci[] = {
 
2176
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
2177
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
2178
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
2179
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
2180
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
2181
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
2182
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
2183
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
2184
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
2185
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
2186
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
2187
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
2188
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
2189
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
2190
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
2191
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
2192
0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
 
2193
0x0000,0x2030,0x0000,0x2039,0x0000,0x00A8,0x02C7,0x00B8,
 
2194
0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
2195
0x0000,0x2122,0x0000,0x203A,0x0000,0x00AF,0x02DB,0x0000,
 
2196
0x00A0,0x0000,0x00A2,0x00A3,0x00A4,0x0000,0x00A6,0x00A7,
 
2197
0x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6,
 
2198
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
2199
0x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6,
 
2200
0x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112,
 
2201
0x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B,
 
2202
0x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7,
 
2203
0x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF,
 
2204
0x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113,
 
2205
0x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C,
 
2206
0x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7,
 
2207
0x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x02D9
 
2208
};
 
2209
 
 
2210
#endif
 
2211
 
 
2212
#ifdef HAVE_CHARSET_latin5
 
2213
uchar ctype_latin5_turkish_ci[] = {
 
2214
0x00,
 
2215
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
2216
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
2217
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2218
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
2219
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2220
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
2221
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2222
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
2223
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2224
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2225
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2226
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2227
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2228
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
2229
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2230
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
2231
};
 
2232
 
 
2233
uchar to_lower_latin5_turkish_ci[] = {
 
2234
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2235
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2236
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2237
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2238
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0xFD,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2239
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2240
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2241
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2242
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2243
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2244
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2245
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2246
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2247
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0x69,0xFE,0xDF,
 
2248
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2249
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2250
};
 
2251
 
 
2252
uchar to_upper_latin5_turkish_ci[] = {
 
2253
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2254
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2255
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2256
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2257
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2258
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2259
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0xDD,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2260
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2261
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2262
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2263
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2264
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2265
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2266
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2267
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2268
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0x49,0xDE,0xFF
 
2269
};
 
2270
 
 
2271
uchar sort_order_latin5_turkish_ci[] = {
 
2272
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2273
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2274
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2275
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2276
0x40,0x41,0x42,0x43,0x45,0x46,0x47,0x48,0x4A,0x4B,0x4D,0x4E,0x4F,0x50,0x51,0x52,
 
2277
0x54,0x55,0x56,0x57,0x59,0x5A,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x65,
 
2278
0x66,0x41,0x42,0x43,0x45,0x46,0x47,0x48,0x4A,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x52,
 
2279
0x54,0x55,0x56,0x57,0x59,0x5A,0x5C,0x5D,0x5E,0x5F,0x60,0x87,0x88,0x89,0x8A,0x8B,
 
2280
0x8C,0x8D,0x8E,0x8F,0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,
 
2281
0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,
 
2282
0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,
 
2283
0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,
 
2284
0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x44,0x46,0x46,0x46,0x46,0x4C,0x4C,0x4C,0x4C,
 
2285
0x49,0x51,0x52,0x52,0x52,0x52,0x53,0xE0,0x52,0x5A,0x5A,0x5A,0x5B,0x4C,0x58,0x57,
 
2286
0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x44,0x46,0x46,0x46,0x46,0x4C,0x4C,0x4C,0x4C,
 
2287
0x49,0x51,0x52,0x52,0x52,0x52,0x53,0xFA,0x52,0x5A,0x5A,0x5A,0x5B,0x4B,0x58,0x5F
 
2288
};
 
2289
 
 
2290
uint16 to_uni_latin5_turkish_ci[] = {
 
2291
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
2292
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
2293
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
2294
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
2295
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
2296
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
2297
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
2298
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
2299
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
2300
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
2301
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
2302
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
2303
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
2304
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
2305
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
2306
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
2307
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
2308
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
2309
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
2310
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
2311
0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
2312
0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
2313
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
2314
0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
 
2315
0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
 
2316
0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
 
2317
0x011E,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
 
2318
0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x0130,0x015E,0x00DF,
 
2319
0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
 
2320
0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
 
2321
0x011F,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
 
2322
0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x0131,0x015F,0x00FF
 
2323
};
 
2324
 
 
2325
#endif
 
2326
 
 
2327
#ifdef HAVE_CHARSET_armscii8
 
2328
uchar ctype_armscii8_general_ci[] = {
 
2329
0x00,
 
2330
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
2331
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
2332
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2333
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
2334
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2335
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
2336
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2337
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
2338
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2339
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2340
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2341
0x10,0x10,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
 
2342
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
 
2343
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
 
2344
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
 
2345
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x10,0x10
 
2346
};
 
2347
 
 
2348
uchar to_lower_armscii8_general_ci[] = {
 
2349
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2350
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2351
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2352
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2353
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2354
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2355
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2356
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2357
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2358
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2359
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2360
0xB0,0xB1,0xB3,0xB3,0xB5,0xB5,0xB7,0xB7,0xB9,0xB9,0xBB,0xBB,0xBD,0xBD,0xBF,0xBF,
 
2361
0xC1,0xC1,0xC3,0xC3,0xC5,0xC5,0xC7,0xC7,0xC9,0xC9,0xCB,0xCB,0xCD,0xCD,0xCF,0xCF,
 
2362
0xD1,0xD1,0xD3,0xD3,0xD5,0xD5,0xD7,0xD7,0xD9,0xD9,0xDB,0xDB,0xDD,0xDD,0xDF,0xDF,
 
2363
0xE1,0xE1,0xE3,0xE3,0xE5,0xE5,0xE7,0xE7,0xE9,0xE9,0xEB,0xEB,0xED,0xED,0xEF,0xEF,
 
2364
0xF1,0xF1,0xF3,0xF3,0xF5,0xF5,0xF7,0xF7,0xF9,0xF9,0xFB,0xFB,0xFD,0xFD,0xFE,0xFF
 
2365
};
 
2366
 
 
2367
uchar to_upper_armscii8_general_ci[] = {
 
2368
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2369
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2370
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2371
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2372
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2373
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2374
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2375
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2376
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2377
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2378
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2379
0xB0,0xB1,0xB2,0xB2,0xB4,0xB4,0xB6,0xB6,0xB8,0xB8,0xBA,0xBA,0xBC,0xBC,0xBE,0xBE,
 
2380
0xC0,0xC0,0xC2,0xC2,0xC4,0xC4,0xC6,0xC6,0xC8,0xC8,0xCA,0xCA,0xCC,0xCC,0xCE,0xCE,
 
2381
0xD0,0xD0,0xD2,0xD2,0xD4,0xD4,0xD6,0xD6,0xD8,0xD8,0xDA,0xDA,0xDC,0xDC,0xDE,0xDE,
 
2382
0xE0,0xE0,0xE2,0xE2,0xE4,0xE4,0xE6,0xE6,0xE8,0xE8,0xEA,0xEA,0xEC,0xEC,0xEE,0xEE,
 
2383
0xF0,0xF0,0xF2,0xF2,0xF4,0xF4,0xF6,0xF6,0xF8,0xF8,0xFA,0xFA,0xFC,0xFC,0xFE,0xFF
 
2384
};
 
2385
 
 
2386
uchar sort_order_armscii8_general_ci[] = {
 
2387
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2388
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2389
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2390
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2391
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2392
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2393
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2394
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2395
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2396
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2397
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2398
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2399
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2400
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2401
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2402
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2403
};
 
2404
 
 
2405
uint16 to_uni_armscii8_general_ci[] = {
 
2406
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
2407
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
2408
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
2409
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
2410
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
2411
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
2412
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
2413
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
2414
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
2415
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
2416
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
2417
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
2418
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
2419
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
2420
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
2421
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
2422
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
2423
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
2424
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
2425
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
2426
0x00A0,0x2741,0x00A7,0x0589,0x0029,0x0028,0x00BB,0x00AB,
 
2427
0x2014,0x002E,0x055D,0x002C,0x002D,0x055F,0x2026,0x055C,
 
2428
0x055B,0x055E,0x0531,0x0561,0x0532,0x0562,0x0533,0x0563,
 
2429
0x0534,0x0564,0x0535,0x0565,0x0536,0x0566,0x0537,0x0567,
 
2430
0x0538,0x0568,0x0539,0x0569,0x053A,0x056A,0x053B,0x056B,
 
2431
0x053C,0x056C,0x053D,0x056D,0x053E,0x056E,0x053F,0x056F,
 
2432
0x0540,0x0570,0x0541,0x0571,0x0542,0x0572,0x0543,0x0573,
 
2433
0x0544,0x0574,0x0545,0x0575,0x0546,0x0576,0x0547,0x0577,
 
2434
0x0548,0x0578,0x0549,0x0579,0x054A,0x057A,0x054B,0x057B,
 
2435
0x054C,0x057C,0x054D,0x057D,0x054E,0x057E,0x054F,0x057F,
 
2436
0x0550,0x0580,0x0551,0x0581,0x0552,0x0582,0x0553,0x0583,
 
2437
0x0554,0x0584,0x0555,0x0585,0x0556,0x0586,0x2019,0x0027
 
2438
};
 
2439
 
 
2440
#endif
 
2441
 
 
2442
#ifdef HAVE_CHARSET_cp866
 
2443
uchar ctype_cp866_general_ci[] = {
 
2444
0x00,
 
2445
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
2446
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
2447
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2448
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
2449
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2450
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
2451
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2452
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
2453
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2454
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2455
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2456
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2457
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2458
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2459
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2460
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48
 
2461
};
 
2462
 
 
2463
uchar to_lower_cp866_general_ci[] = {
 
2464
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2465
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2466
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2467
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2468
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2469
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2470
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2471
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2472
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x86,0x87,0x88,0x89,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2473
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2474
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x86,0x87,0x88,0x89,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2475
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2476
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2477
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2478
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2479
0xF1,0xF1,0xF3,0xF3,0xF5,0xF5,0xF7,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2480
};
 
2481
 
 
2482
uchar to_upper_cp866_general_ci[] = {
 
2483
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2484
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2485
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2486
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2487
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2488
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2489
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2490
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2491
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2492
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2493
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2494
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2495
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2496
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2497
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2498
0xF0,0xF0,0xF2,0xF2,0xF4,0xF4,0xF6,0xF6,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2499
};
 
2500
 
 
2501
uchar sort_order_cp866_general_ci[] = {
 
2502
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2503
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2504
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2505
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2506
0x40,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D,
 
2507
0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xBD,0xBE,0xBF,0xC0,0xC1,
 
2508
0xC2,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x54,0x55,0x57,0x59,0x5B,0x5D,
 
2509
0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xC3,0xC4,0xC5,0xC6,0xC7,
 
2510
0x75,0x77,0x79,0x7B,0x7D,0x7F,0x85,0x87,0x89,0x8D,0x8F,0x91,0x93,0x95,0x97,0x99,
 
2511
0x9B,0x9D,0x9F,0xA1,0xA5,0xA7,0xA9,0xAB,0xAD,0xAF,0xB1,0xB3,0xB5,0xB7,0xB9,0xBB,
 
2512
0x75,0x77,0x79,0x7B,0x7D,0x7F,0x85,0x87,0x89,0x8D,0x8F,0x91,0x93,0x95,0x97,0x99,
 
2513
0xC8,0xC9,0xCA,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2514
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2515
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
2516
0x9B,0x9D,0x9F,0xA1,0xA5,0xA7,0xA9,0xAB,0xAD,0xAF,0xB1,0xB3,0xB5,0xB7,0xB9,0xBB,
 
2517
0x81,0x81,0x83,0x83,0x8B,0x8B,0xA3,0xA3,0xCB,0xCC,0xCD,0xCE,0xCF,0xD0,0xD1,0xD2
 
2518
};
 
2519
 
 
2520
uint16 to_uni_cp866_general_ci[] = {
 
2521
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
2522
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
2523
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
2524
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
2525
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
2526
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
2527
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
2528
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
2529
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
2530
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
2531
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
2532
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
2533
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
2534
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
2535
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
2536
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
2537
0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
 
2538
0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F,
 
2539
0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
 
2540
0x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F,
 
2541
0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
 
2542
0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F,
 
2543
0x2591,0x2592,0x2593,0x2502,0x2524,0x2561,0x2562,0x2556,
 
2544
0x2555,0x2563,0x2551,0x2557,0x255D,0x255C,0x255B,0x2510,
 
2545
0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x255E,0x255F,
 
2546
0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x2567,
 
2547
0x2568,0x2564,0x2565,0x2559,0x2558,0x2552,0x2553,0x256B,
 
2548
0x256A,0x2518,0x250C,0x2588,0x2584,0x258C,0x2590,0x2580,
 
2549
0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
 
2550
0x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F,
 
2551
0x0401,0x0451,0x0404,0x0454,0x0407,0x0457,0x040E,0x045E,
 
2552
0x00B0,0x2219,0x00B7,0x221A,0x207F,0x00B2,0x25A0,0x00A0
 
2553
};
 
2554
 
 
2555
#endif
 
2556
 
 
2557
#ifdef HAVE_CHARSET_keybcs2
 
2558
uchar ctype_keybcs2_general_ci[] = {
 
2559
0x00,
 
2560
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
2561
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
2562
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2563
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
2564
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2565
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
2566
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2567
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
2568
0x01,0x02,0x82,0x02,0x02,0x01,0x01,0x02,0x82,0x81,0x01,0x01,0x02,0x02,0x01,0x01,
 
2569
0x81,0x02,0x01,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
2570
0x02,0x02,0x02,0x02,0x02,0x01,0x01,0x01,0x02,0x02,0x02,0x01,0x00,0x00,0x00,0x00,
 
2571
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2572
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2573
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2574
0x02,0x02,0x01,0x02,0x01,0x02,0x00,0x02,0x01,0x01,0x01,0x02,0x00,0x02,0x02,0x00,
 
2575
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48
 
2576
};
 
2577
 
 
2578
uchar to_lower_keybcs2_general_ci[] = {
 
2579
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2580
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2581
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2582
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2583
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2584
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2585
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2586
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2587
0x87,0x81,0x82,0x83,0x84,0x83,0x86,0x87,0x88,0x88,0x8D,0xA1,0x8C,0x8D,0x84,0xA0,
 
2588
0x82,0x91,0x91,0x93,0x94,0xA2,0x96,0xA3,0x98,0x94,0x81,0x9B,0x8C,0x98,0xA9,0x9F,
 
2589
0xA0,0xA1,0xA2,0xA3,0xA4,0xA4,0x96,0x93,0x9B,0xA9,0xAA,0xAA,0xAC,0xAD,0xAE,0xAF,
 
2590
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2591
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2592
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2593
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xED,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2594
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2595
};
 
2596
 
 
2597
uchar to_upper_keybcs2_general_ci[] = {
 
2598
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2599
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2600
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2601
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2602
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2603
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2604
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2605
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x68,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2606
0x87,0x9A,0x90,0x85,0x8E,0x85,0x86,0x80,0x89,0x89,0x8A,0x8B,0x9C,0x8A,0x8E,0x8F,
 
2607
0x90,0x92,0x92,0xA7,0x99,0x95,0xA6,0x97,0x9D,0x99,0x9A,0xA8,0x9C,0x9D,0x9E,0x9F,
 
2608
0x8F,0x8B,0x95,0x97,0xA5,0xA5,0xA6,0xA7,0xA8,0x9E,0xAB,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2609
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2610
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2611
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2612
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xE8,0xEE,0xEF,
 
2613
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2614
};
 
2615
 
 
2616
uchar sort_order_keybcs2_general_ci[] = {
 
2617
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2618
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2619
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2620
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2621
0x40,0x41,0x44,0x45,0x47,0x49,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x5A,
 
2622
0x5E,0x5F,0x60,0x63,0x66,0x68,0x6C,0x6D,0x6E,0x6F,0x72,0x90,0x91,0x92,0x93,0x94,
 
2623
0x95,0x41,0x44,0x45,0x47,0x49,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x5A,
 
2624
0x5E,0x5F,0x60,0x63,0x66,0x68,0x6C,0x6D,0x6E,0x6F,0x72,0x96,0x97,0x98,0x99,0x9A,
 
2625
0x45,0x68,0x49,0x47,0x41,0x47,0x66,0x45,0x49,0x49,0x56,0x53,0x56,0x56,0x41,0x41,
 
2626
0x49,0x72,0x72,0x5A,0x5A,0x5A,0x68,0x68,0x6F,0x5A,0x68,0x63,0x56,0x6F,0x60,0x66,
 
2627
0x41,0x53,0x5A,0x68,0x58,0x58,0x68,0x5A,0x63,0x60,0x60,0x60,0xA0,0xA1,0xA2,0xA3,
 
2628
0xA4,0xA5,0xA6,0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,
 
2629
0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,
 
2630
0xCD,0xCE,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,
 
2631
0x80,0x65,0x83,0x87,0x88,0x89,0xDD,0x8A,0x85,0x8B,0x84,0x81,0xDE,0x85,0x82,0xDF,
 
2632
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2633
};
 
2634
 
 
2635
uint16 to_uni_keybcs2_general_ci[] = {
 
2636
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
2637
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
2638
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
2639
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
2640
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
2641
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
2642
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
2643
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
2644
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
2645
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
2646
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
2647
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
2648
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
2649
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
2650
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
2651
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
2652
0x010C,0x00FC,0x00E9,0x010F,0x00E4,0x010E,0x0164,0x010D,
 
2653
0x011B,0x011A,0x0139,0x00CD,0x013E,0x013A,0x00C4,0x00C1,
 
2654
0x00C9,0x017E,0x017D,0x00F4,0x00F6,0x00D3,0x016F,0x00DA,
 
2655
0x00FD,0x00D6,0x00DC,0x0160,0x013D,0x00DD,0x0158,0x0165,
 
2656
0x00E1,0x00ED,0x00F3,0x00FA,0x0148,0x0147,0x016E,0x00D4,
 
2657
0x0161,0x0159,0x0155,0x0154,0x00BC,0x00A1,0x00AB,0x00BB,
 
2658
0x2591,0x2592,0x2593,0x2502,0x2524,0x2561,0x2562,0x2556,
 
2659
0x2555,0x2563,0x2551,0x2557,0x255D,0x255C,0x255B,0x2510,
 
2660
0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x255E,0x255F,
 
2661
0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x2567,
 
2662
0x2568,0x2564,0x2565,0x2559,0x2558,0x2552,0x2553,0x256B,
 
2663
0x256A,0x2518,0x250C,0x2588,0x2584,0x258C,0x2590,0x2580,
 
2664
0x03B1,0x00DF,0x0393,0x03C0,0x03A3,0x03C3,0x00B5,0x03C4,
 
2665
0x03A6,0x0398,0x03A9,0x03B4,0x221E,0x03C6,0x03B5,0x2229,
 
2666
0x2261,0x00B1,0x2265,0x2264,0x2320,0x2321,0x00F7,0x2248,
 
2667
0x00B0,0x2219,0x00B7,0x221A,0x207F,0x00B2,0x25A0,0x00A0
 
2668
};
 
2669
 
 
2670
#endif
 
2671
 
 
2672
#ifdef HAVE_CHARSET_macce
 
2673
uchar ctype_macce_general_ci[] = {
 
2674
0x00,
 
2675
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
2676
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
2677
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2678
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
2679
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2680
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
2681
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2682
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
2683
0x01,0x01,0x02,0x01,0x01,0x01,0x01,0x02,0x02,0x01,0x02,0x02,0x01,0x02,0x02,0x01,
 
2684
0x02,0x01,0x02,0x02,0x01,0x02,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x02,0x02,
 
2685
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x02,0x01,
 
2686
0x02,0x01,0x00,0x00,0x02,0x01,0x00,0x00,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,
 
2687
0x02,0x01,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x01,0x02,0x01,
 
2688
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x02,0x01,0x00,0x00,0x02,0x01,
 
2689
0x02,0x01,0x00,0x00,0x02,0x01,0x02,0x01,0x01,0x02,0x01,0x01,0x02,0x01,0x01,0x01,
 
2690
0x02,0x01,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x02,0x01,0x01,0x02,0x01,0x00
 
2691
};
 
2692
 
 
2693
uchar to_lower_macce_general_ci[] = {
 
2694
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2695
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2696
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2697
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2698
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2699
0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2700
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2701
0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2702
0x8A,0x82,0x82,0x8E,0x88,0x9A,0x9F,0x87,0x88,0x8B,0x8A,0x8B,0x8D,0x8D,0x8E,0x90,
 
2703
0x90,0x93,0x92,0x93,0x95,0x95,0x98,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9E,0x9E,0x9F,
 
2704
0xA0,0xA1,0xAB,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xB0,
 
2705
0xB0,0xB4,0xB2,0xB3,0xB4,0xFA,0xB6,0xB7,0xB8,0xBA,0xBA,0xBC,0xBC,0xBE,0xBE,0xC0,
 
2706
0xC0,0xC4,0xC2,0xC3,0xC4,0xCB,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCE,0x9B,0xCE,0xD8,
 
2707
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xDA,0xDA,0xDE,0xDC,0xDD,0xDE,0xE0,
 
2708
0xE0,0xE4,0xE2,0xE3,0xE4,0xE6,0xE6,0x87,0xE9,0xE9,0x92,0xEC,0xEC,0xF0,0x97,0x99,
 
2709
0xF0,0xF3,0x9C,0xF3,0xF5,0xF5,0xF7,0xF7,0xF9,0xF9,0xFA,0xFD,0xB8,0xFD,0xAE,0xFF
 
2710
};
 
2711
 
 
2712
uchar to_upper_macce_general_ci[] = {
 
2713
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2714
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2715
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2716
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2717
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2718
0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2719
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2720
0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2721
0x80,0x81,0x81,0x83,0x84,0x85,0x86,0xE7,0x84,0x89,0x80,0x89,0x8C,0x8C,0x83,0x8F,
 
2722
0x8F,0x91,0xEA,0x91,0x94,0x94,0x96,0xEE,0x96,0xEF,0x85,0xCD,0xF2,0x9D,0x9D,0x86,
 
2723
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xA2,0xAC,0xAD,0xFE,0xAF,
 
2724
0xAF,0xB1,0xB2,0xB3,0xB1,0xB5,0xB6,0xB7,0xFC,0xB9,0xB9,0xBB,0xBB,0xBD,0xBD,0xBF,
 
2725
0xBF,0xC1,0xC2,0xC3,0xC1,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xC5,0xCC,0xCD,0xCC,0xCF,
 
2726
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xCF,0xD9,0xD9,0xDB,0xDC,0xDD,0xDB,0xDF,
 
2727
0xDF,0xE1,0xE2,0xE3,0xE1,0xE5,0xE5,0xE7,0xE8,0xE8,0xEA,0xEB,0xEB,0xED,0xEE,0xEF,
 
2728
0xED,0xF1,0xF2,0xF1,0xF4,0xF4,0xF6,0xF6,0xF8,0xF8,0xB5,0xFB,0xFC,0xFB,0xFE,0xFF
 
2729
};
 
2730
 
 
2731
uchar sort_order_macce_general_ci[] = {
 
2732
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2733
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2734
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2735
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2736
0x40,0x41,0x46,0x47,0x4A,0x4C,0x52,0x53,0x55,0x56,0x5A,0x5B,0x5D,0x62,0x62,0x67,
 
2737
0x6F,0x70,0x71,0x75,0x79,0x81,0x88,0x89,0x8A,0x8B,0x8D,0x90,0x91,0x92,0x93,0x94,
 
2738
0x95,0x41,0x46,0x47,0x4A,0x4C,0x52,0x53,0x55,0x56,0x5A,0x5B,0x5D,0x62,0x62,0x67,
 
2739
0x6F,0x70,0x71,0x75,0x79,0x81,0x88,0x89,0x8A,0x8B,0x8D,0x96,0x97,0x98,0x99,0x9A,
 
2740
0x41,0x41,0x41,0x4C,0x41,0x67,0x81,0x41,0x41,0x47,0x41,0x47,0x47,0x47,0x4C,0x8D,
 
2741
0x8D,0x4A,0x56,0x4A,0x4C,0x4C,0x4C,0x67,0x4C,0x67,0x67,0x67,0x81,0x4C,0x4C,0x81,
 
2742
0xA0,0xA1,0x4C,0xA3,0xA4,0xA5,0xA6,0x75,0xA8,0xA9,0xAA,0x4C,0xAC,0xAD,0x53,0x56,
 
2743
0x56,0x56,0xB2,0xB3,0x56,0x5B,0xB6,0xB7,0x5D,0x5D,0x5D,0x5D,0x5D,0x5D,0x5D,0x62,
 
2744
0x62,0x62,0xC2,0xC3,0x62,0x62,0xC6,0xC7,0xC8,0xC9,0xCA,0x62,0x67,0x67,0x67,0x67,
 
2745
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0x67,0x71,0x71,0x71,0xDC,0xDD,0x71,0x71,
 
2746
0x71,0x75,0xE2,0xE3,0x75,0x75,0x75,0x41,0x79,0x79,0x56,0x8D,0x8D,0x81,0x67,0x67,
 
2747
0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x8B,0x8B,0x5B,0x8D,0x5D,0x8D,0x53,0xFF
 
2748
};
 
2749
 
 
2750
uint16 to_uni_macce_general_ci[] = {
 
2751
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
2752
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
2753
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
2754
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
2755
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
2756
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
2757
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
2758
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
2759
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
2760
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
2761
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
2762
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
2763
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
2764
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
2765
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
2766
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
2767
0x00C4,0x0100,0x0101,0x00C9,0x0104,0x00D6,0x00DC,0x00E1,
 
2768
0x0105,0x010C,0x00E4,0x010D,0x0106,0x0107,0x00E9,0x0179,
 
2769
0x017A,0x010E,0x00ED,0x010F,0x0112,0x0113,0x0116,0x00F3,
 
2770
0x0117,0x00F4,0x00F6,0x00F5,0x00FA,0x011A,0x011B,0x00FC,
 
2771
0x2020,0x00B0,0x0118,0x00A3,0x00A7,0x2022,0x00B6,0x00DF,
 
2772
0x00AE,0x00A9,0x2122,0x0119,0x00A8,0x2260,0x0123,0x012E,
 
2773
0x012F,0x012A,0x2264,0x2265,0x012B,0x0136,0x2202,0x2211,
 
2774
0x0142,0x013B,0x013C,0x013D,0x013E,0x0139,0x013A,0x0145,
 
2775
0x0146,0x0143,0x00AC,0x221A,0x0144,0x0147,0x2206,0x00AB,
 
2776
0x00BB,0x2026,0x00A0,0x0148,0x0150,0x00D5,0x0151,0x014C,
 
2777
0x2013,0x2014,0x201C,0x201D,0x2018,0x2019,0x00F7,0x25CA,
 
2778
0x014D,0x0154,0x0155,0x0158,0x2039,0x203A,0x0159,0x0156,
 
2779
0x0157,0x0160,0x201A,0x201E,0x0161,0x015A,0x015B,0x00C1,
 
2780
0x0164,0x0165,0x00CD,0x017D,0x017E,0x016A,0x00D3,0x00D4,
 
2781
0x016B,0x016E,0x00DA,0x016F,0x0170,0x0171,0x0172,0x0173,
 
2782
0x00DD,0x00FD,0x0137,0x017B,0x0141,0x017C,0x0122,0x02C7
 
2783
};
 
2784
 
 
2785
#endif
 
2786
 
 
2787
#ifdef HAVE_CHARSET_macroman
 
2788
uchar ctype_macroman_general_ci[] = {
 
2789
0x00,
 
2790
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
2791
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
2792
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2793
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
2794
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2795
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
2796
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2797
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x10,
 
2798
0x20,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2799
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2800
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,
 
2801
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,
 
2802
0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x01,0x01,0x00,0x00,
 
2803
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
 
2804
0x00,0x00,0x00,0x00,0x00,0x20,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2805
0x00,0x01,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
 
2806
};
 
2807
 
 
2808
uchar to_lower_macroman_general_ci[] = {
 
2809
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2810
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2811
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2812
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2813
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2814
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2815
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2816
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2817
0x8A,0x8C,0x8D,0x8E,0x96,0x9A,0x9F,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
2818
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
2819
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xBE,0xBF,
 
2820
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
2821
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0x88,0x8B,0x9B,0xCE,0xCF,
 
2822
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD8,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2823
0xE0,0xE1,0xE2,0xE3,0xE4,0x89,0x90,0x87,0x91,0x8F,0x92,0x94,0x95,0x93,0x97,0x99,
 
2824
0xF0,0x98,0x9C,0x9E,0x9D,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2825
};
 
2826
 
 
2827
uchar to_upper_macroman_general_ci[] = {
 
2828
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2829
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2830
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2831
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2832
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2833
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2834
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2835
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2836
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0xE7,0xCB,0xE5,0x80,0xCC,0x81,0x82,0x83,0xE9,
 
2837
0xE6,0xE8,0xEA,0xED,0xEB,0xEC,0x84,0xEE,0xF1,0xEF,0x85,0xCD,0xF2,0xF4,0xF3,0x86,
 
2838
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
2839
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xAE,0xAF,
 
2840
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2841
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD9,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2842
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
2843
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2844
};
 
2845
 
 
2846
uchar sort_order_macroman_general_ci[] = {
 
2847
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2848
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2849
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2850
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2851
0x40,0x41,0x49,0x50,0x52,0x53,0x57,0x59,0x60,0x61,0x67,0x68,0x69,0x70,0x71,0x72,
 
2852
0x79,0x80,0x81,0x82,0x84,0x85,0x90,0x91,0x92,0x93,0x95,0xA0,0xA1,0xA2,0xA3,0xA4,
 
2853
0xA5,0x41,0x49,0x50,0x52,0x53,0x57,0x59,0x60,0x61,0x67,0x68,0x69,0x70,0x71,0x72,
 
2854
0x79,0x80,0x81,0x82,0x84,0x85,0x90,0x91,0x92,0x93,0x95,0xA6,0xA7,0xA8,0xA9,0xAA,
 
2855
0x41,0x41,0x50,0x53,0x71,0x72,0x85,0x41,0x41,0x41,0x41,0x41,0x41,0x50,0x53,0x53,
 
2856
0x53,0x53,0x61,0x61,0x61,0x61,0x71,0x72,0x72,0x72,0x72,0x72,0x85,0x85,0x85,0x85,
 
2857
0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0x82,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0x48,0x72,
 
2858
0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0x48,0x72,
 
2859
0xC6,0xC7,0xC8,0xC9,0x57,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,0x41,0x41,0x72,0xD0,0xD1,
 
2860
0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0x93,0x93,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2861
0xE0,0xE1,0xE2,0xE3,0xE4,0x41,0x53,0x41,0x53,0x53,0x61,0x61,0x61,0x61,0x72,0x72,
 
2862
0xF0,0x72,0x85,0x85,0x85,0x61,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2863
};
 
2864
 
 
2865
uint16 to_uni_macroman_general_ci[] = {
 
2866
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
2867
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
2868
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
2869
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
2870
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
2871
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
2872
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
2873
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
2874
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
2875
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
2876
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
2877
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
2878
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
2879
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
2880
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
2881
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
2882
0x00C4,0x00C5,0x00C7,0x00C9,0x00D1,0x00D6,0x00DC,0x00E1,
 
2883
0x00E0,0x00E2,0x00E4,0x00E3,0x00E5,0x00E7,0x00E9,0x00E8,
 
2884
0x00EA,0x00EB,0x00ED,0x00EC,0x00EE,0x00EF,0x00F1,0x00F3,
 
2885
0x00F2,0x00F4,0x00F6,0x00F5,0x00FA,0x00F9,0x00FB,0x00FC,
 
2886
0x2020,0x00B0,0x00A2,0x00A3,0x00A7,0x2022,0x00B6,0x00DF,
 
2887
0x00AE,0x00A9,0x2122,0x00B4,0x00A8,0x2260,0x00C6,0x00D8,
 
2888
0x221E,0x00B1,0x2264,0x2265,0x00A5,0x00B5,0x2202,0x2211,
 
2889
0x220F,0x03C0,0x222B,0x00AA,0x00BA,0x03A9,0x00E6,0x00F8,
 
2890
0x00BF,0x00A1,0x00AC,0x221A,0x0192,0x2248,0x2206,0x00AB,
 
2891
0x00BB,0x2026,0x00A0,0x00C0,0x00C3,0x00D5,0x0152,0x0153,
 
2892
0x2013,0x2014,0x201C,0x201D,0x2018,0x2019,0x00F7,0x25CA,
 
2893
0x00FF,0x0178,0x2044,0x20AC,0x2039,0x203A,0xFB01,0xFB02,
 
2894
0x2021,0x00B7,0x201A,0x201E,0x2030,0x00C2,0x00CA,0x00C1,
 
2895
0x00CB,0x00C8,0x00CD,0x00CE,0x00CF,0x00CC,0x00D3,0x00D4,
 
2896
0xF8FF,0x00D2,0x00DA,0x00DB,0x00D9,0x0131,0x02C6,0x02DC,
 
2897
0x00AF,0x02D8,0x02D9,0x02DA,0x00B8,0x02DD,0x02DB,0x02C7
 
2898
};
 
2899
 
 
2900
#endif
 
2901
 
 
2902
#ifdef HAVE_CHARSET_cp852
 
2903
uchar ctype_cp852_general_ci[] = {
 
2904
0x00,
 
2905
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
2906
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
2907
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
2908
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
2909
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
2910
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
2911
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
2912
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
2913
0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x02,0x02,0x01,0x01,0x01,
 
2914
0x01,0x01,0x02,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x01,0x01,0x02,0x01,0x00,0x02,
 
2915
0x02,0x02,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x00,0x02,0x01,0x01,0x00,0x00,
 
2916
0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x02,0x00,
 
2917
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
2918
0x02,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x01,0x00,
 
2919
0x01,0x02,0x01,0x01,0x02,0x02,0x01,0x02,0x01,0x01,0x02,0x01,0x02,0x01,0x02,0x00,
 
2920
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x02,0x00,0x48
 
2921
};
 
2922
 
 
2923
uchar to_lower_cp852_general_ci[] = {
 
2924
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2925
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2926
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2927
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2928
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2929
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2930
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
2931
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2932
0x87,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8B,0x8B,0x8C,0xAB,0x84,0x86,
 
2933
0x82,0x92,0x92,0x93,0x94,0x96,0x96,0x98,0x98,0x94,0x81,0x9C,0x9C,0x88,0x9E,0x9F,
 
2934
0xA0,0xA1,0xA2,0xA3,0xA5,0xA5,0xA7,0xA7,0xA9,0xA9,0xAA,0xAB,0x9F,0xB8,0xAE,0xAF,
 
2935
0xB0,0xB1,0xB2,0xB3,0xB4,0xA0,0x83,0xD8,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF,
 
2936
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC7,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2937
0xD0,0xD0,0xD4,0x89,0xD4,0xE5,0xA1,0x8C,0xD8,0xD9,0xDA,0xDB,0xDC,0xEE,0x85,0xDF,
 
2938
0xA2,0xE1,0x93,0xE4,0xE4,0xE5,0xE7,0xE7,0xEA,0xA3,0xE8,0xFB,0xEC,0xEC,0xEE,0xEF,
 
2939
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
2940
};
 
2941
 
 
2942
uchar to_upper_cp852_general_ci[] = {
 
2943
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2944
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2945
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2946
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2947
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2948
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
2949
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
2950
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
2951
0x80,0x9A,0x90,0xB6,0x8E,0xDE,0x8F,0x80,0x9D,0xD3,0x8A,0x8A,0xD7,0x8D,0x8E,0x8F,
 
2952
0x90,0x91,0x91,0xE2,0x99,0x95,0x95,0x97,0x97,0x99,0x9A,0x9B,0x9B,0x9D,0x9E,0xAC,
 
2953
0xB5,0xD6,0xE0,0xE9,0xA4,0xA4,0xA6,0xA6,0xA8,0xA8,0xAA,0x8D,0xAC,0xAD,0xAE,0xAF,
 
2954
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xAD,0xB9,0xBA,0xBB,0xBC,0xBE,0xBD,0xBF,
 
2955
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC6,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2956
0xD1,0xD1,0xD2,0xD3,0xD2,0xD5,0xD6,0xD7,0xB7,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
2957
0xE0,0xE1,0xE2,0xE3,0xE3,0xD5,0xE6,0xE6,0xE8,0xE9,0xE8,0xEB,0xED,0xED,0xDD,0xEF,
 
2958
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xEB,0xFC,0xFC,0xFE,0xFF
 
2959
};
 
2960
 
 
2961
uchar sort_order_cp852_general_ci[] = {
 
2962
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
2963
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
2964
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
2965
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
2966
0x40,0x41,0x47,0x48,0x4C,0x4F,0x54,0x55,0x56,0x57,0x5A,0x5B,0x5C,0x5E,0x5F,0x62,
 
2967
0x67,0x68,0x69,0x6C,0x71,0x74,0x75,0x76,0x77,0x78,0x7B,0x90,0x91,0x92,0x93,0x94,
 
2968
0x95,0x41,0x47,0x48,0x4C,0x4F,0x54,0x55,0x56,0x57,0x5A,0x5B,0x5C,0x5E,0x5F,0x62,
 
2969
0x67,0x68,0x69,0x6C,0x71,0x74,0x75,0x76,0x77,0x78,0x7B,0x96,0x97,0x98,0x99,0x9A,
 
2970
0x48,0x74,0x4F,0x41,0x41,0x74,0x48,0x48,0x5C,0x4F,0x62,0x62,0x57,0x7B,0x41,0x48,
 
2971
0x4F,0x5C,0x5C,0x62,0x62,0x5C,0x5C,0x6C,0x6C,0x62,0x74,0x71,0x71,0x5C,0x9E,0x48,
 
2972
0x41,0x57,0x62,0x74,0x41,0x41,0x7B,0x7B,0x4F,0x4F,0xAA,0x7B,0x48,0x6C,0xAE,0xAF,
 
2973
0xB0,0xB1,0xB2,0xB3,0xB4,0x41,0x41,0x4F,0x6C,0xB5,0xBA,0xBB,0xBC,0x7B,0x7B,0xBF,
 
2974
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0x41,0x41,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
2975
0x4C,0x4C,0x4C,0x4F,0x4C,0x60,0x57,0x57,0x4F,0xD9,0xDA,0xDB,0xDC,0x71,0x74,0xDF,
 
2976
0x62,0x70,0x62,0x60,0x60,0x60,0x6C,0x6C,0x69,0x74,0x69,0x74,0x78,0x78,0x71,0xEF,
 
2977
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0x74,0x69,0x69,0xFE,0xFF
 
2978
};
 
2979
 
 
2980
uint16 to_uni_cp852_general_ci[] = {
 
2981
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
2982
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
2983
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
2984
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
2985
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
2986
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
2987
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
2988
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
2989
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
2990
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
2991
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
2992
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
2993
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
2994
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
2995
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
2996
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
2997
0x00C7,0x00FC,0x00E9,0x00E2,0x00E4,0x016F,0x0107,0x00E7,
 
2998
0x0142,0x00EB,0x0150,0x0151,0x00EE,0x0179,0x00C4,0x0106,
 
2999
0x00C9,0x0139,0x013A,0x00F4,0x00F6,0x013D,0x013E,0x015A,
 
3000
0x015B,0x00D6,0x00DC,0x0164,0x0165,0x0141,0x00D7,0x010D,
 
3001
0x00E1,0x00ED,0x00F3,0x00FA,0x0104,0x0105,0x017D,0x017E,
 
3002
0x0118,0x0119,0x00AC,0x017A,0x010C,0x015F,0x00AB,0x00BB,
 
3003
0x2591,0x2592,0x2593,0x2502,0x2524,0x00C1,0x00C2,0x011A,
 
3004
0x015E,0x2563,0x2551,0x2557,0x255D,0x017B,0x017C,0x2510,
 
3005
0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x0102,0x0103,
 
3006
0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x00A4,
 
3007
0x0111,0x0110,0x010E,0x00CB,0x010F,0x0147,0x00CD,0x00CE,
 
3008
0x011B,0x2518,0x250C,0x2588,0x2584,0x0162,0x016E,0x2580,
 
3009
0x00D3,0x00DF,0x00D4,0x0143,0x0144,0x0148,0x0160,0x0161,
 
3010
0x0154,0x00DA,0x0155,0x0170,0x00FD,0x00DD,0x0163,0x00B4,
 
3011
0x00AD,0x02DD,0x02DB,0x02C7,0x02D8,0x00A7,0x00F7,0x00B8,
 
3012
0x00B0,0x00A8,0x02D9,0x0171,0x0158,0x0159,0x25A0,0x00A0
 
3013
};
 
3014
 
 
3015
#endif
 
3016
 
 
3017
#ifdef HAVE_CHARSET_latin7
 
3018
uchar ctype_latin7_general_ci[] = {
 
3019
0x00,
 
3020
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
3021
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
3022
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3023
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
3024
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3025
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
3026
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3027
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
3028
0x01,0x20,0x10,0x20,0x10,0x10,0x00,0x00,0x20,0x10,0x20,0x10,0x20,0x10,0x10,0x10,
 
3029
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x00,0x20,0x10,0x20,0x10,0x10,0x20,
 
3030
0x48,0x20,0x10,0x10,0x10,0x20,0x10,0x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
 
3031
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x02,
 
3032
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3033
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
3034
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3035
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
3036
};
 
3037
 
 
3038
uchar to_lower_latin7_general_ci[] = {
 
3039
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3040
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3041
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3042
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3043
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3044
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3045
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3046
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3047
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3048
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3049
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
3050
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
3051
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3052
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
3053
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3054
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
3055
};
 
3056
 
 
3057
uchar to_upper_latin7_general_ci[] = {
 
3058
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3059
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3060
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3061
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3062
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3063
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3064
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3065
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3066
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3067
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3068
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3069
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xBC,0xBD,0xBE,0xAF,
 
3070
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3071
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3072
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3073
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
3074
};
 
3075
 
 
3076
uchar sort_order_latin7_general_ci[] = {
 
3077
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3078
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3079
0x30,0x32,0x33,0x34,0x35,0x36,0x37,0x2B,0x38,0x39,0x3A,0x5C,0x3B,0x2C,0x3C,0x3D,
 
3080
0x76,0x7A,0x7C,0x7E,0x80,0x81,0x82,0x83,0x84,0x85,0x3E,0x3F,0x5D,0x5E,0x5F,0x40,
 
3081
0x41,0x86,0x92,0x94,0x9A,0x9C,0xA6,0xA8,0xAC,0xAE,0xB4,0xB6,0xBA,0xC0,0xC2,0xC8,
 
3082
0xD4,0xD6,0xD8,0xDC,0xE3,0xE6,0xEE,0xF0,0xF2,0xF4,0xF6,0x42,0x43,0x44,0x45,0x46,
 
3083
0x47,0x86,0x92,0x94,0x9A,0x9C,0xA6,0xA8,0xAC,0xAE,0xB4,0xB6,0xBA,0xC0,0xC2,0xC8,
 
3084
0xD4,0xD6,0xD8,0xDC,0xE2,0xE6,0xEE,0xF0,0xF2,0xF4,0xF6,0x48,0x49,0x4A,0x4B,0x20,
 
3085
0x75,0x21,0x56,0x22,0x59,0x73,0x70,0x71,0x23,0x74,0x24,0x5A,0x25,0x4D,0x51,0x50,
 
3086
0x26,0x54,0x55,0x57,0x58,0x72,0x2E,0x2F,0x27,0xE5,0x28,0x5B,0x29,0x4E,0x53,0x2A,
 
3087
0x31,0xFE,0x65,0x66,0x67,0xFF,0x4C,0x68,0x2D,0x69,0xDA,0x61,0x6A,0x2D,0x6B,0x90,
 
3088
0x6C,0x60,0x7D,0x7F,0x4F,0x6D,0x6E,0x6F,0xD3,0x7B,0xDB,0x62,0x77,0x78,0x79,0x90,
 
3089
0x8E,0xB2,0x8A,0x96,0x88,0x8C,0xA4,0xA2,0x98,0x9E,0xF8,0xA0,0xAA,0xB8,0xB0,0xBE,
 
3090
0xE1,0xC4,0xC6,0xCA,0xCE,0xD0,0xCC,0x63,0xEC,0xBC,0xDE,0xEA,0xE8,0xFA,0xFC,0xE0,
 
3091
0x8E,0xB2,0x8A,0x96,0x88,0x8C,0xA4,0xA2,0x98,0x9E,0xF8,0xA0,0xAA,0xB8,0xB0,0xBE,
 
3092
0xE1,0xC4,0xC6,0xCA,0xCE,0xD0,0xCC,0x64,0xEC,0xBC,0xDE,0xEA,0xE8,0xFA,0xFC,0x52
 
3093
};
 
3094
 
 
3095
uint16 to_uni_latin7_general_ci[] = {
 
3096
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
3097
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
3098
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
3099
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
3100
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
3101
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
3102
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
3103
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
3104
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
3105
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
3106
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
3107
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
3108
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
3109
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
3110
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
3111
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
3112
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
3113
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
3114
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
3115
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
3116
0x00A0,0x201D,0x00A2,0x00A3,0x00A4,0x201E,0x00A6,0x00A7,
 
3117
0x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6,
 
3118
0x00B0,0x00B1,0x00B2,0x00B3,0x201C,0x00B5,0x00B6,0x00B7,
 
3119
0x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6,
 
3120
0x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112,
 
3121
0x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B,
 
3122
0x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7,
 
3123
0x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF,
 
3124
0x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113,
 
3125
0x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C,
 
3126
0x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7,
 
3127
0x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x2019
 
3128
};
 
3129
 
 
3130
#endif
 
3131
 
 
3132
#ifdef HAVE_CHARSET_latin7
 
3133
uchar ctype_latin7_general_cs[] = {
 
3134
0x00,
 
3135
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
3136
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
3137
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3138
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
3139
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3140
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
3141
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3142
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
3143
0x01,0x20,0x10,0x20,0x10,0x10,0x00,0x00,0x20,0x10,0x20,0x10,0x20,0x10,0x10,0x10,
 
3144
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x00,0x20,0x10,0x20,0x10,0x10,0x20,
 
3145
0x48,0x20,0x10,0x10,0x10,0x20,0x10,0x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
 
3146
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x02,
 
3147
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3148
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
3149
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3150
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
3151
};
 
3152
 
 
3153
uchar to_lower_latin7_general_cs[] = {
 
3154
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3155
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3156
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3157
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3158
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3159
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3160
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3161
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3162
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3163
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3164
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
3165
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
3166
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3167
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
3168
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3169
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
3170
};
 
3171
 
 
3172
uchar to_upper_latin7_general_cs[] = {
 
3173
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3174
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3175
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3176
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3177
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3178
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3179
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3180
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3181
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3182
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3183
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3184
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xBC,0xBD,0xBE,0xAF,
 
3185
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3186
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3187
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3188
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
3189
};
 
3190
 
 
3191
uchar sort_order_latin7_general_cs[] = {
 
3192
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3193
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3194
0x30,0x32,0x33,0x34,0x35,0x36,0x37,0x2B,0x38,0x39,0x3A,0x5C,0x3B,0x2C,0x3C,0x3D,
 
3195
0x76,0x7A,0x7C,0x7E,0x80,0x81,0x82,0x83,0x84,0x85,0x3E,0x3F,0x5D,0x5E,0x5F,0x40,
 
3196
0x41,0x86,0x92,0x94,0x9A,0x9C,0xA6,0xA8,0xAC,0xAE,0xB4,0xB6,0xBA,0xC0,0xC2,0xC8,
 
3197
0xD4,0xD6,0xD8,0xDC,0xE3,0xE6,0xEE,0xF0,0xF2,0xF4,0xF6,0x42,0x43,0x44,0x45,0x46,
 
3198
0x47,0x87,0x93,0x95,0x9B,0x9D,0xA7,0xA9,0xAD,0xAF,0xB5,0xB7,0xBB,0xC1,0xC3,0xC9,
 
3199
0xD5,0xD7,0xD9,0xDD,0xE4,0xE7,0xEF,0xF1,0xF3,0xF5,0xF7,0x48,0x49,0x4A,0x4B,0x20,
 
3200
0x75,0x21,0x56,0x22,0x59,0x73,0x70,0x71,0x23,0x74,0x24,0x5A,0x25,0x4D,0x51,0x50,
 
3201
0x26,0x54,0x55,0x57,0x58,0x72,0x2E,0x2F,0x27,0xE5,0x28,0x5B,0x29,0x4E,0x53,0x2A,
 
3202
0x31,0xFE,0x65,0x66,0x67,0xFF,0x4C,0x68,0xD3,0x69,0xDA,0x61,0x6A,0x2D,0x6B,0x90,
 
3203
0x6C,0x60,0x7D,0x7F,0x4F,0x6D,0x6E,0x6F,0xD2,0x7B,0xDB,0x62,0x77,0x78,0x79,0x91,
 
3204
0x8E,0xB2,0x8A,0x96,0x88,0x8C,0xA4,0xA2,0x98,0x9E,0xF8,0xA0,0xAA,0xB8,0xB0,0xBE,
 
3205
0xE1,0xC4,0xC6,0xCA,0xCE,0xD0,0xCC,0x63,0xEC,0xBC,0xDE,0xEA,0xE8,0xFA,0xFC,0xE0,
 
3206
0x8F,0xB3,0x8B,0x97,0x89,0x8D,0xA5,0xA3,0x99,0x9F,0xF9,0xA1,0xAB,0xB9,0xB1,0xBF,
 
3207
0xE2,0xC5,0xC7,0xCB,0xCF,0xD1,0xCD,0x64,0xED,0xBD,0xDF,0xEB,0xE9,0xFB,0xFD,0x52
 
3208
};
 
3209
 
 
3210
uint16 to_uni_latin7_general_cs[] = {
 
3211
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
3212
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
3213
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
3214
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
3215
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
3216
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
3217
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
3218
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
3219
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
3220
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
3221
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
3222
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
3223
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
3224
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
3225
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
3226
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
3227
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
3228
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
3229
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
3230
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
3231
0x00A0,0x201D,0x00A2,0x00A3,0x00A4,0x201E,0x00A6,0x00A7,
 
3232
0x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6,
 
3233
0x00B0,0x00B1,0x00B2,0x00B3,0x201C,0x00B5,0x00B6,0x00B7,
 
3234
0x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6,
 
3235
0x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112,
 
3236
0x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B,
 
3237
0x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7,
 
3238
0x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF,
 
3239
0x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113,
 
3240
0x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C,
 
3241
0x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7,
 
3242
0x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x2019
 
3243
};
 
3244
 
 
3245
#endif
 
3246
 
 
3247
#ifdef HAVE_CHARSET_macce
 
3248
uchar ctype_macce_bin[] = {
 
3249
0x00,
 
3250
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
3251
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
3252
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3253
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
3254
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3255
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
3256
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3257
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
3258
0x01,0x01,0x02,0x01,0x01,0x01,0x01,0x02,0x02,0x01,0x02,0x02,0x01,0x02,0x02,0x01,
 
3259
0x02,0x01,0x02,0x02,0x01,0x02,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x02,0x02,
 
3260
0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x02,0x01,
 
3261
0x02,0x01,0x00,0x00,0x02,0x01,0x00,0x00,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,
 
3262
0x02,0x01,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x01,0x02,0x01,
 
3263
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x02,0x01,0x00,0x00,0x02,0x01,
 
3264
0x02,0x01,0x00,0x00,0x02,0x01,0x02,0x01,0x01,0x02,0x01,0x01,0x02,0x01,0x01,0x01,
 
3265
0x02,0x01,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x02,0x01,0x01,0x02,0x01,0x00
 
3266
};
 
3267
 
 
3268
uchar to_lower_macce_bin[] = {
 
3269
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3270
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3271
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3272
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3273
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3274
0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3275
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3276
0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3277
0x8A,0x82,0x82,0x8E,0x88,0x9A,0x9F,0x87,0x88,0x8B,0x8A,0x8B,0x8D,0x8D,0x8E,0x90,
 
3278
0x90,0x93,0x92,0x93,0x95,0x95,0x98,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9E,0x9E,0x9F,
 
3279
0xA0,0xA1,0xAB,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xB0,
 
3280
0xB0,0xB4,0xB2,0xB3,0xB4,0xFA,0xB6,0xB7,0xB8,0xBA,0xBA,0xBC,0xBC,0xBE,0xBE,0xC0,
 
3281
0xC0,0xC4,0xC2,0xC3,0xC4,0xCB,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCE,0x9B,0xCE,0xD8,
 
3282
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xDA,0xDA,0xDE,0xDC,0xDD,0xDE,0xE0,
 
3283
0xE0,0xE4,0xE2,0xE3,0xE4,0xE6,0xE6,0x87,0xE9,0xE9,0x92,0xEC,0xEC,0xF0,0x97,0x99,
 
3284
0xF0,0xF3,0x9C,0xF3,0xF5,0xF5,0xF7,0xF7,0xF9,0xF9,0xFA,0xFD,0xB8,0xFD,0xAE,0xFF
 
3285
};
 
3286
 
 
3287
uchar to_upper_macce_bin[] = {
 
3288
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3289
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3290
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3291
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3292
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3293
0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3294
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3295
0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3296
0x80,0x81,0x81,0x83,0x84,0x85,0x86,0xE7,0x84,0x89,0x80,0x89,0x8C,0x8C,0x83,0x8F,
 
3297
0x8F,0x91,0xEA,0x91,0x94,0x94,0x96,0xEE,0x96,0xEF,0x85,0xCD,0xF2,0x9D,0x9D,0x86,
 
3298
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xA2,0xAC,0xAD,0xFE,0xAF,
 
3299
0xAF,0xB1,0xB2,0xB3,0xB1,0xB5,0xB6,0xB7,0xFC,0xB9,0xB9,0xBB,0xBB,0xBD,0xBD,0xBF,
 
3300
0xBF,0xC1,0xC2,0xC3,0xC1,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xC5,0xCC,0xCD,0xCC,0xCF,
 
3301
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xCF,0xD9,0xD9,0xDB,0xDC,0xDD,0xDB,0xDF,
 
3302
0xDF,0xE1,0xE2,0xE3,0xE1,0xE5,0xE5,0xE7,0xE8,0xE8,0xEA,0xEB,0xEB,0xED,0xEE,0xEF,
 
3303
0xED,0xF1,0xF2,0xF1,0xF4,0xF4,0xF6,0xF6,0xF8,0xF8,0xB5,0xFB,0xFC,0xFB,0xFE,0xFF
 
3304
};
 
3305
 
 
3306
uint16 to_uni_macce_bin[] = {
 
3307
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
3308
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
3309
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
3310
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
3311
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
3312
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
3313
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
3314
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
3315
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
3316
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
3317
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
3318
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
3319
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
3320
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
3321
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
3322
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
3323
0x00C4,0x0100,0x0101,0x00C9,0x0104,0x00D6,0x00DC,0x00E1,
 
3324
0x0105,0x010C,0x00E4,0x010D,0x0106,0x0107,0x00E9,0x0179,
 
3325
0x017A,0x010E,0x00ED,0x010F,0x0112,0x0113,0x0116,0x00F3,
 
3326
0x0117,0x00F4,0x00F6,0x00F5,0x00FA,0x011A,0x011B,0x00FC,
 
3327
0x2020,0x00B0,0x0118,0x00A3,0x00A7,0x2022,0x00B6,0x00DF,
 
3328
0x00AE,0x00A9,0x2122,0x0119,0x00A8,0x2260,0x0123,0x012E,
 
3329
0x012F,0x012A,0x2264,0x2265,0x012B,0x0136,0x2202,0x2211,
 
3330
0x0142,0x013B,0x013C,0x013D,0x013E,0x0139,0x013A,0x0145,
 
3331
0x0146,0x0143,0x00AC,0x221A,0x0144,0x0147,0x2206,0x00AB,
 
3332
0x00BB,0x2026,0x00A0,0x0148,0x0150,0x00D5,0x0151,0x014C,
 
3333
0x2013,0x2014,0x201C,0x201D,0x2018,0x2019,0x00F7,0x25CA,
 
3334
0x014D,0x0154,0x0155,0x0158,0x2039,0x203A,0x0159,0x0156,
 
3335
0x0157,0x0160,0x201A,0x201E,0x0161,0x015A,0x015B,0x00C1,
 
3336
0x0164,0x0165,0x00CD,0x017D,0x017E,0x016A,0x00D3,0x00D4,
 
3337
0x016B,0x016E,0x00DA,0x016F,0x0170,0x0171,0x0172,0x0173,
 
3338
0x00DD,0x00FD,0x0137,0x017B,0x0141,0x017C,0x0122,0x02C7
 
3339
};
 
3340
 
 
3341
#endif
 
3342
 
 
3343
#ifdef HAVE_CHARSET_cp1250
 
3344
uchar ctype_cp1250_croatian_ci[] = {
 
3345
0x00,
 
3346
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
3347
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
3348
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3349
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
3350
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3351
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
3352
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3353
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
3354
0x20,0x20,0x10,0x20,0x10,0x10,0x10,0x10,0x20,0x10,0x01,0x10,0x01,0x01,0x01,0x01,
 
3355
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x10,0x02,0x10,0x02,0x02,0x02,0x02,
 
3356
0x48,0x10,0x10,0x01,0x10,0x01,0x10,0x01,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
 
3357
0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x02,0x10,0x01,0x10,0x02,0x02,
 
3358
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3359
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
3360
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3361
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
3362
};
 
3363
 
 
3364
uchar to_lower_cp1250_croatian_ci[] = {
 
3365
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3366
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3367
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3368
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3369
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3370
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3371
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3372
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3373
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
 
3374
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3375
0xA0,0xA1,0xA2,0xB3,0xA4,0xB9,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
3376
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBE,0xBD,0xBE,0xBF,
 
3377
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3378
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
3379
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3380
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
3381
};
 
3382
 
 
3383
uchar to_upper_cp1250_croatian_ci[] = {
 
3384
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3385
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3386
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3387
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3388
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3389
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3390
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3391
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3392
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3393
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x8D,0x8E,0x8F,
 
3394
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3395
0xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xA5,0xAA,0xBB,0xBC,0xBD,0xBC,0xAF,
 
3396
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3397
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3398
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3399
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
3400
};
 
3401
 
 
3402
uchar sort_order_cp1250_croatian_ci[] = {
 
3403
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3404
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3405
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3406
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3407
0x40,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
 
3408
0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x90,0x91,0x92,0x93,0x94,
 
3409
0x95,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
 
3410
0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x96,0x97,0x98,0x99,0x9A,
 
3411
0x9B,0x9C,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x60,0xA6,0x5F,0x62,0x6C,0x6B,
 
3412
0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0x60,0xB1,0x5F,0x62,0x6C,0x6B,
 
3413
0xB2,0xB3,0xB4,0x54,0xB5,0x41,0xB6,0xB7,0xB8,0xB9,0x5F,0xBA,0xBB,0xBC,0xBD,0x6B,
 
3414
0xBE,0xBF,0xC0,0x54,0xC1,0xC2,0xC3,0xC4,0xC5,0x41,0x5F,0xC6,0x54,0xC7,0x54,0x6B,
 
3415
0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48,
 
3416
0x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xC8,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0x5F,
 
3417
0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48,
 
3418
0x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xC9,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0xFF
 
3419
};
 
3420
 
 
3421
uint16 to_uni_cp1250_croatian_ci[] = {
 
3422
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
3423
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
3424
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
3425
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
3426
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
3427
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
3428
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
3429
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
3430
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
3431
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
3432
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
3433
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
3434
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
3435
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
3436
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
3437
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
3438
0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
 
3439
0x0000,0x2030,0x0160,0x2039,0x015A,0x0164,0x017D,0x0179,
 
3440
0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
3441
0x0000,0x2122,0x0161,0x203A,0x015B,0x0165,0x017E,0x017A,
 
3442
0x00A0,0x02C7,0x02D8,0x0141,0x00A4,0x0104,0x00A6,0x00A7,
 
3443
0x00A8,0x00A9,0x015E,0x00AB,0x00AC,0x00AD,0x00AE,0x017B,
 
3444
0x00B0,0x00B1,0x02DB,0x0142,0x00B4,0x00B5,0x00B6,0x00B7,
 
3445
0x00B8,0x0105,0x015F,0x00BB,0x013D,0x02DD,0x013E,0x017C,
 
3446
0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
 
3447
0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
 
3448
0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
 
3449
0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
 
3450
0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
 
3451
0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
 
3452
0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
 
3453
0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
 
3454
};
 
3455
 
 
3456
#endif
 
3457
 
 
3458
#ifdef HAVE_CHARSET_latin1
 
3459
uchar ctype_latin1_general_ci[] = {
 
3460
0x00,
 
3461
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
3462
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
3463
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3464
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
3465
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3466
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
3467
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3468
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
3469
0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
 
3470
0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
 
3471
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3472
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3473
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3474
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
3475
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3476
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
3477
};
 
3478
 
 
3479
uchar to_lower_latin1_general_ci[] = {
 
3480
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3481
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3482
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3483
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3484
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3485
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3486
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3487
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3488
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3489
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3490
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3491
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
3492
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3493
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
3494
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3495
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
3496
};
 
3497
 
 
3498
uchar to_upper_latin1_general_ci[] = {
 
3499
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3500
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3501
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3502
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3503
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3504
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3505
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3506
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3507
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3508
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3509
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3510
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
3511
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3512
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3513
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3514
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
3515
};
 
3516
 
 
3517
uchar sort_order_latin1_general_ci[] = {
 
3518
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3519
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3520
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3521
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3522
0x40,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
 
3523
0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB3,0xB4,0xB5,0xB6,0xB7,
 
3524
0xB8,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
 
3525
0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB9,0xBA,0xBB,0xBC,0xBF,
 
3526
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3527
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3528
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3529
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
3530
0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x55,0x5D,0x5F,0x61,0x63,0x6D,0x6F,0x71,0x73,
 
3531
0x59,0x7F,0x83,0x85,0x87,0x89,0x8B,0xBD,0x8D,0x9C,0x9E,0xA0,0xA2,0xAC,0xB1,0x97,
 
3532
0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x55,0x5D,0x5F,0x61,0x63,0x6D,0x6F,0x71,0x73,
 
3533
0x59,0x7F,0x83,0x85,0x87,0x89,0x8B,0xBE,0x8D,0x9C,0x9E,0xA0,0xA2,0xAC,0xB1,0xAE
 
3534
};
 
3535
 
 
3536
uint16 to_uni_latin1_general_ci[] = {
 
3537
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
3538
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
3539
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
3540
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
3541
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
3542
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
3543
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
3544
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
3545
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
3546
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
3547
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
3548
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
3549
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
3550
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
3551
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
3552
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
3553
0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
 
3554
0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
 
3555
0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
3556
0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
 
3557
0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
3558
0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
3559
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
3560
0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
 
3561
0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
 
3562
0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
 
3563
0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
 
3564
0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
 
3565
0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
 
3566
0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
 
3567
0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
 
3568
0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF
 
3569
};
 
3570
 
 
3571
#endif
 
3572
 
 
3573
#ifdef HAVE_CHARSET_latin1
 
3574
uchar ctype_latin1_general_cs[] = {
 
3575
0x00,
 
3576
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
3577
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
3578
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3579
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
3580
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3581
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
3582
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3583
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
3584
0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
 
3585
0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
 
3586
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3587
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3588
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3589
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
3590
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3591
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
3592
};
 
3593
 
 
3594
uchar to_lower_latin1_general_cs[] = {
 
3595
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3596
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3597
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3598
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3599
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3600
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3601
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3602
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3603
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3604
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3605
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3606
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
3607
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3608
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
3609
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3610
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
3611
};
 
3612
 
 
3613
uchar to_upper_latin1_general_cs[] = {
 
3614
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3615
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3616
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3617
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3618
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3619
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3620
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3621
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3622
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3623
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3624
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3625
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
3626
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3627
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3628
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3629
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
3630
};
 
3631
 
 
3632
uchar sort_order_latin1_general_cs[] = {
 
3633
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3634
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3635
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3636
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3637
0x40,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
 
3638
0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB3,0xB4,0xB5,0xB6,0xB7,
 
3639
0xB8,0x42,0x52,0x54,0x58,0x5C,0x66,0x68,0x6A,0x6C,0x76,0x78,0x7A,0x7C,0x7E,0x82,
 
3640
0x90,0x92,0x94,0x96,0x99,0x9B,0xA5,0xA7,0xA9,0xAB,0xB0,0xB9,0xBA,0xBB,0xBC,0xBF,
 
3641
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3642
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3643
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3644
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
3645
0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x55,0x5D,0x5F,0x61,0x63,0x6D,0x6F,0x71,0x73,
 
3646
0x59,0x7F,0x83,0x85,0x87,0x89,0x8B,0xBD,0x8D,0x9C,0x9E,0xA0,0xA2,0xAC,0xB1,0x97,
 
3647
0x44,0x46,0x48,0x4A,0x4C,0x4E,0x50,0x56,0x5E,0x60,0x62,0x64,0x6E,0x70,0x72,0x74,
 
3648
0x5A,0x80,0x84,0x86,0x88,0x8A,0x8C,0xBE,0x8E,0x9D,0x9F,0xA1,0xA3,0xAD,0xB2,0xAE
 
3649
};
 
3650
 
 
3651
uint16 to_uni_latin1_general_cs[] = {
 
3652
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
3653
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
3654
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
3655
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
3656
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
3657
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
3658
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
3659
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
3660
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
3661
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
3662
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
3663
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
3664
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
3665
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
3666
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
3667
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
3668
0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
 
3669
0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
 
3670
0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
3671
0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
 
3672
0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
3673
0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
3674
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
3675
0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
 
3676
0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
 
3677
0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
 
3678
0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
 
3679
0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
 
3680
0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
 
3681
0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
 
3682
0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
 
3683
0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF
 
3684
};
 
3685
 
 
3686
#endif
 
3687
 
 
3688
#ifdef HAVE_CHARSET_cp1251
 
3689
uchar ctype_cp1251_bin[] = {
 
3690
0x00,
 
3691
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
3692
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
3693
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3694
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
3695
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3696
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
3697
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3698
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
3699
0x01,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01,
 
3700
0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x02,0x02,0x02,
 
3701
0x00,0x01,0x02,0x01,0x00,0x01,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
 
3702
0x00,0x00,0x01,0x02,0x02,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x02,0x01,0x02,0x02,
 
3703
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3704
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3705
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3706
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
3707
};
 
3708
 
 
3709
uchar to_lower_cp1251_bin[] = {
 
3710
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3711
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3712
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3713
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3714
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3715
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3716
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3717
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3718
0x90,0x83,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
 
3719
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3720
0xA0,0xA2,0xA2,0xBC,0xA4,0xB4,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
3721
0xB0,0xB1,0xB3,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF,
 
3722
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3723
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
3724
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3725
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
3726
};
 
3727
 
 
3728
uchar to_upper_cp1251_bin[] = {
 
3729
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3730
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3731
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3732
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3733
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3734
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3735
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3736
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3737
0x80,0x81,0x82,0x81,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3738
0x80,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x9D,0x8E,0x8F,
 
3739
0xA0,0xA1,0xA1,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3740
0xB0,0xB1,0xB2,0xB2,0xA5,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xA3,0xBD,0xBD,0xAF,
 
3741
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3742
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3743
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3744
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
 
3745
};
 
3746
 
 
3747
uint16 to_uni_cp1251_bin[] = {
 
3748
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
3749
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
3750
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
3751
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
3752
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
3753
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
3754
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
3755
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
3756
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
3757
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
3758
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
3759
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
3760
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
3761
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
3762
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
3763
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
3764
0x0402,0x0403,0x201A,0x0453,0x201E,0x2026,0x2020,0x2021,
 
3765
0x0000,0x2030,0x0409,0x2039,0x040A,0x040C,0x040B,0x040F,
 
3766
0x0452,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
3767
0x0000,0x2122,0x0459,0x203A,0x045A,0x045C,0x045B,0x045F,
 
3768
0x00A0,0x040E,0x045E,0x0408,0x00A4,0x0490,0x00A6,0x00A7,
 
3769
0x0401,0x00A9,0x0404,0x00AB,0x00AC,0x00AD,0x00AE,0x0407,
 
3770
0x00B0,0x00B1,0x0406,0x0456,0x0491,0x00B5,0x00B6,0x00B7,
 
3771
0x0451,0x2116,0x0454,0x00BB,0x0458,0x0405,0x0455,0x0457,
 
3772
0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
 
3773
0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F,
 
3774
0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
 
3775
0x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F,
 
3776
0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
 
3777
0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F,
 
3778
0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
 
3779
0x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F
 
3780
};
 
3781
 
 
3782
#endif
 
3783
 
 
3784
#ifdef HAVE_CHARSET_cp1251
 
3785
uchar ctype_cp1251_general_ci[] = {
 
3786
0x00,
 
3787
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
3788
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
3789
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3790
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
3791
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3792
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
3793
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3794
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
3795
0x01,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01,
 
3796
0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x02,0x02,0x02,
 
3797
0x00,0x01,0x02,0x01,0x00,0x01,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
 
3798
0x00,0x00,0x01,0x02,0x02,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x02,0x01,0x02,0x02,
 
3799
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3800
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3801
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3802
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
3803
};
 
3804
 
 
3805
uchar to_lower_cp1251_general_ci[] = {
 
3806
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3807
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3808
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3809
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3810
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3811
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3812
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3813
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3814
0x90,0x83,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
 
3815
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3816
0xA0,0xA2,0xA2,0xBC,0xA4,0xB4,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
3817
0xB0,0xB1,0xB3,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF,
 
3818
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3819
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
3820
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3821
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
3822
};
 
3823
 
 
3824
uchar to_upper_cp1251_general_ci[] = {
 
3825
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3826
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3827
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3828
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3829
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3830
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3831
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3832
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3833
0x80,0x81,0x82,0x81,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3834
0x80,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x9D,0x8E,0x8F,
 
3835
0xA0,0xA1,0xA1,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3836
0xB0,0xB1,0xB2,0xB2,0xA5,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xA3,0xBD,0xBD,0xAF,
 
3837
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3838
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3839
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3840
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
 
3841
};
 
3842
 
 
3843
uchar sort_order_cp1251_general_ci[] = {
 
3844
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3845
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3846
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3847
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3848
0x40,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D,
 
3849
0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xD3,0xD4,0xD5,0xD6,0xD7,
 
3850
0xD8,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D,
 
3851
0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xD9,0xDA,0xDB,0xDC,0xDD,
 
3852
0x81,0x83,0xDE,0x83,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,0xA1,0xE5,0xA7,0x9D,0xB3,0xC1,
 
3853
0x81,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xA1,0xEF,0xA7,0x9D,0xB3,0xC1,
 
3854
0xF0,0xB7,0xB7,0x99,0xF1,0x7D,0xF2,0xF3,0x87,0xF4,0x89,0xF5,0xF6,0xF7,0xF8,0x95,
 
3855
0xF9,0xFA,0x93,0x93,0x7D,0xFB,0xFC,0xFD,0x87,0xFE,0x89,0xFF,0x99,0x8F,0x8F,0x95,
 
3856
0x75,0x77,0x79,0x7B,0x7F,0x85,0x8B,0x8D,0x91,0x97,0x9B,0x9F,0xA3,0xA5,0xA9,0xAB,
 
3857
0xAD,0xAF,0xB1,0xB5,0xB9,0xBB,0xBD,0xBF,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1,
 
3858
0x75,0x77,0x79,0x7B,0x7F,0x85,0x8B,0x8D,0x91,0x97,0x9B,0x9F,0xA3,0xA5,0xA9,0xAB,
 
3859
0xAD,0xAF,0xB1,0xB5,0xB9,0xBB,0xBD,0xBF,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1
 
3860
};
 
3861
 
 
3862
uint16 to_uni_cp1251_general_ci[] = {
 
3863
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
3864
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
3865
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
3866
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
3867
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
3868
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
3869
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
3870
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
3871
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
3872
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
3873
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
3874
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
3875
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
3876
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
3877
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
3878
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
3879
0x0402,0x0403,0x201A,0x0453,0x201E,0x2026,0x2020,0x2021,
 
3880
0x0000,0x2030,0x0409,0x2039,0x040A,0x040C,0x040B,0x040F,
 
3881
0x0452,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
3882
0x0000,0x2122,0x0459,0x203A,0x045A,0x045C,0x045B,0x045F,
 
3883
0x00A0,0x040E,0x045E,0x0408,0x00A4,0x0490,0x00A6,0x00A7,
 
3884
0x0401,0x00A9,0x0404,0x00AB,0x00AC,0x00AD,0x00AE,0x0407,
 
3885
0x00B0,0x00B1,0x0406,0x0456,0x0491,0x00B5,0x00B6,0x00B7,
 
3886
0x0451,0x2116,0x0454,0x00BB,0x0458,0x0405,0x0455,0x0457,
 
3887
0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
 
3888
0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F,
 
3889
0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
 
3890
0x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F,
 
3891
0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
 
3892
0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F,
 
3893
0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
 
3894
0x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F
 
3895
};
 
3896
 
 
3897
#endif
 
3898
 
 
3899
#ifdef HAVE_CHARSET_cp1251
 
3900
uchar ctype_cp1251_general_cs[] = {
 
3901
0x00,
 
3902
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
3903
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
3904
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
3905
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
3906
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3907
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
3908
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3909
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
3910
0x01,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01,
 
3911
0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x02,0x02,0x02,
 
3912
0x00,0x01,0x02,0x01,0x00,0x01,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
 
3913
0x00,0x00,0x01,0x02,0x02,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x02,0x01,0x02,0x02,
 
3914
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3915
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
3916
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
3917
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
3918
};
 
3919
 
 
3920
uchar to_lower_cp1251_general_cs[] = {
 
3921
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3922
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3923
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3924
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3925
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3926
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3927
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
3928
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3929
0x90,0x83,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
 
3930
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
3931
0xA0,0xA2,0xA2,0xBC,0xA4,0xB4,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
3932
0xB0,0xB1,0xB3,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF,
 
3933
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3934
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
3935
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
3936
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
3937
};
 
3938
 
 
3939
uchar to_upper_cp1251_general_cs[] = {
 
3940
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3941
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3942
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3943
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3944
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3945
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
3946
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
3947
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
3948
0x80,0x81,0x82,0x81,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
3949
0x80,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x9D,0x8E,0x8F,
 
3950
0xA0,0xA1,0xA1,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
3951
0xB0,0xB1,0xB2,0xB2,0xA5,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xA3,0xBD,0xBD,0xAF,
 
3952
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3953
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
3954
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
3955
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
 
3956
};
 
3957
 
 
3958
uchar sort_order_cp1251_general_cs[] = {
 
3959
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
3960
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
3961
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
3962
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
3963
0x40,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D,
 
3964
0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xD3,0xD4,0xD5,0xD6,0xD7,
 
3965
0xD8,0x42,0x44,0x46,0x48,0x4A,0x4C,0x4E,0x50,0x52,0x54,0x56,0x58,0x5A,0x5C,0x5E,
 
3966
0x60,0x62,0x64,0x66,0x68,0x6A,0x6C,0x6E,0x70,0x72,0x74,0xD9,0xDA,0xDB,0xDC,0xDD,
 
3967
0x81,0x83,0xDE,0x84,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,0xA1,0xE5,0xA7,0x9D,0xB3,0xC1,
 
3968
0x82,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xA2,0xEF,0xA8,0x9E,0xB4,0xC2,
 
3969
0xF0,0xB7,0xB8,0x99,0xF1,0x7D,0xF2,0xF3,0x87,0xF4,0x89,0xF5,0xF6,0xF7,0xF8,0x95,
 
3970
0xF9,0xFA,0x93,0x94,0x7E,0xFB,0xFC,0xFD,0x88,0xFE,0x8A,0xFF,0x9A,0x8F,0x90,0x96,
 
3971
0x75,0x77,0x79,0x7B,0x7F,0x85,0x8B,0x8D,0x91,0x97,0x9B,0x9F,0xA3,0xA5,0xA9,0xAB,
 
3972
0xAD,0xAF,0xB1,0xB5,0xB9,0xBB,0xBD,0xBF,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1,
 
3973
0x76,0x78,0x7A,0x7C,0x80,0x86,0x8C,0x8E,0x92,0x98,0x9C,0xA0,0xA4,0xA6,0xAA,0xAC,
 
3974
0xAE,0xB0,0xB2,0xB6,0xBA,0xBC,0xBE,0xC0,0xC4,0xC6,0xC8,0xCA,0xCC,0xCE,0xD0,0xD2
 
3975
};
 
3976
 
 
3977
uint16 to_uni_cp1251_general_cs[] = {
 
3978
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
3979
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
3980
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
3981
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
3982
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
3983
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
3984
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
3985
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
3986
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
3987
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
3988
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
3989
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
3990
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
3991
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
3992
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
3993
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
3994
0x0402,0x0403,0x201A,0x0453,0x201E,0x2026,0x2020,0x2021,
 
3995
0x0000,0x2030,0x0409,0x2039,0x040A,0x040C,0x040B,0x040F,
 
3996
0x0452,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
3997
0x0000,0x2122,0x0459,0x203A,0x045A,0x045C,0x045B,0x045F,
 
3998
0x00A0,0x040E,0x045E,0x0408,0x00A4,0x0490,0x00A6,0x00A7,
 
3999
0x0401,0x00A9,0x0404,0x00AB,0x00AC,0x00AD,0x00AE,0x0407,
 
4000
0x00B0,0x00B1,0x0406,0x0456,0x0491,0x00B5,0x00B6,0x00B7,
 
4001
0x0451,0x2116,0x0454,0x00BB,0x0458,0x0405,0x0455,0x0457,
 
4002
0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
 
4003
0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F,
 
4004
0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
 
4005
0x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F,
 
4006
0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
 
4007
0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F,
 
4008
0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
 
4009
0x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F
 
4010
};
 
4011
 
 
4012
#endif
 
4013
 
 
4014
#ifdef HAVE_CHARSET_macroman
 
4015
uchar ctype_macroman_bin[] = {
 
4016
0x00,
 
4017
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4018
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4019
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4020
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4021
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4022
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
4023
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4024
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x10,
 
4025
0x20,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4026
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4027
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,
 
4028
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,
 
4029
0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x01,0x01,0x00,0x00,
 
4030
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
 
4031
0x00,0x00,0x00,0x00,0x00,0x20,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4032
0x00,0x01,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
 
4033
};
 
4034
 
 
4035
uchar to_lower_macroman_bin[] = {
 
4036
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4037
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4038
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4039
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4040
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4041
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4042
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4043
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4044
0x8A,0x8C,0x8D,0x8E,0x96,0x9A,0x9F,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4045
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4046
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xBE,0xBF,
 
4047
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4048
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0x88,0x8B,0x9B,0xCE,0xCF,
 
4049
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD8,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4050
0xE0,0xE1,0xE2,0xE3,0xE4,0x89,0x90,0x87,0x91,0x8F,0x92,0x94,0x95,0x93,0x97,0x99,
 
4051
0xF0,0x98,0x9C,0x9E,0x9D,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4052
};
 
4053
 
 
4054
uchar to_upper_macroman_bin[] = {
 
4055
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4056
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4057
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4058
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4059
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4060
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4061
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4062
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4063
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0xE7,0xCB,0xE5,0x80,0xCC,0x81,0x82,0x83,0xE9,
 
4064
0xE6,0xE8,0xEA,0xED,0xEB,0xEC,0x84,0xEE,0xF1,0xEF,0x85,0xCD,0xF2,0xF4,0xF3,0x86,
 
4065
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4066
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xAE,0xAF,
 
4067
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4068
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD9,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4069
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4070
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4071
};
 
4072
 
 
4073
uint16 to_uni_macroman_bin[] = {
 
4074
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4075
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4076
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4077
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4078
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4079
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4080
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4081
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4082
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4083
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4084
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4085
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4086
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4087
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4088
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4089
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4090
0x00C4,0x00C5,0x00C7,0x00C9,0x00D1,0x00D6,0x00DC,0x00E1,
 
4091
0x00E0,0x00E2,0x00E4,0x00E3,0x00E5,0x00E7,0x00E9,0x00E8,
 
4092
0x00EA,0x00EB,0x00ED,0x00EC,0x00EE,0x00EF,0x00F1,0x00F3,
 
4093
0x00F2,0x00F4,0x00F6,0x00F5,0x00FA,0x00F9,0x00FB,0x00FC,
 
4094
0x2020,0x00B0,0x00A2,0x00A3,0x00A7,0x2022,0x00B6,0x00DF,
 
4095
0x00AE,0x00A9,0x2122,0x00B4,0x00A8,0x2260,0x00C6,0x00D8,
 
4096
0x221E,0x00B1,0x2264,0x2265,0x00A5,0x00B5,0x2202,0x2211,
 
4097
0x220F,0x03C0,0x222B,0x00AA,0x00BA,0x03A9,0x00E6,0x00F8,
 
4098
0x00BF,0x00A1,0x00AC,0x221A,0x0192,0x2248,0x2206,0x00AB,
 
4099
0x00BB,0x2026,0x00A0,0x00C0,0x00C3,0x00D5,0x0152,0x0153,
 
4100
0x2013,0x2014,0x201C,0x201D,0x2018,0x2019,0x00F7,0x25CA,
 
4101
0x00FF,0x0178,0x2044,0x20AC,0x2039,0x203A,0xFB01,0xFB02,
 
4102
0x2021,0x00B7,0x201A,0x201E,0x2030,0x00C2,0x00CA,0x00C1,
 
4103
0x00CB,0x00C8,0x00CD,0x00CE,0x00CF,0x00CC,0x00D3,0x00D4,
 
4104
0xF8FF,0x00D2,0x00DA,0x00DB,0x00D9,0x0131,0x02C6,0x02DC,
 
4105
0x00AF,0x02D8,0x02D9,0x02DA,0x00B8,0x02DD,0x02DB,0x02C7
 
4106
};
 
4107
 
 
4108
#endif
 
4109
 
 
4110
#ifdef HAVE_CHARSET_cp1256
 
4111
uchar ctype_cp1256_general_ci[] = {
 
4112
0x00,
 
4113
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4114
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4115
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4116
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4117
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4118
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x00,0x00,
 
4119
0x00,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4120
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
4121
0x00,0x03,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x03,0x00,
 
4122
0x03,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,
 
4123
0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x10,0x00,0x00,
 
4124
0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x10,
 
4125
0x00,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
 
4126
0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
 
4127
0x02,0x03,0x02,0x03,0x03,0x03,0x03,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x02,0x02,
 
4128
0x03,0x03,0x03,0x03,0x02,0x03,0x03,0x00,0x03,0x02,0x03,0x02,0x02,0x00,0x00,0x00
 
4129
};
 
4130
 
 
4131
uchar to_lower_cp1256_general_ci[] = {
 
4132
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4133
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4134
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4135
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4136
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4137
0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4138
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4139
0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4140
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x9C,0x8D,0x8E,0x8F,
 
4141
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4142
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4143
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4144
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4145
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4146
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4147
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4148
};
 
4149
 
 
4150
uchar to_upper_cp1256_general_ci[] = {
 
4151
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4152
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4153
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4154
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4155
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4156
0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5F,0x5E,0x5F,
 
4157
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4158
0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7F,0x7E,0x7F,
 
4159
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4160
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x8C,0x9D,0x9E,0x9F,
 
4161
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4162
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4163
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4164
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4165
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4166
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4167
};
 
4168
 
 
4169
uchar sort_order_cp1256_general_ci[] = {
 
4170
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4171
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4172
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4173
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4174
0x40,0x41,0x45,0x47,0x4A,0x4C,0x52,0x55,0x57,0x59,0x5D,0x5F,0x61,0x63,0x65,0x67,
 
4175
0x6C,0x6E,0x70,0x72,0x74,0x76,0x7B,0x7D,0x7F,0x81,0x83,0xB9,0xBA,0xBB,0xBC,0xBD,
 
4176
0xBE,0x41,0x45,0x47,0x4A,0x4C,0x52,0x55,0x57,0x59,0x5D,0x5F,0x61,0x63,0x65,0x67,
 
4177
0x6C,0x6E,0x70,0x72,0x74,0x76,0x7B,0x7D,0x7F,0x81,0x83,0xBF,0xC0,0xC1,0xC2,0xC3,
 
4178
0xC4,0x8E,0xC5,0x54,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0x6A,0x92,0x99,0xCE,
 
4179
0xA5,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0x6A,0xDA,0xDB,0xDC,
 
4180
0xDD,0xB6,0xDE,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,
 
4181
0xEC,0xED,0xEE,0xEF,0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xB7,0xF6,0xF7,0xF8,0xF9,0xB8,
 
4182
0xFA,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x9F,0x90,0x91,0x93,0x94,0x95,
 
4183
0x96,0x97,0x98,0x9A,0x9B,0x9C,0x9D,0xFB,0x9E,0x9F,0xA0,0xA1,0xAD,0xA2,0xA3,0xA4,
 
4184
0x43,0xA6,0x44,0xA7,0xA8,0xA9,0xAA,0x49,0x4E,0x4F,0x50,0x51,0xAB,0xAC,0x5B,0x5C,
 
4185
0xAE,0xAF,0xB0,0xB1,0x69,0xB2,0xB3,0xFC,0xB4,0x78,0xB5,0x79,0x7A,0xFD,0xFE,0xFF
 
4186
};
 
4187
 
 
4188
uint16 to_uni_cp1256_general_ci[] = {
 
4189
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4190
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4191
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4192
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4193
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4194
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4195
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4196
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4197
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4198
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4199
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4200
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4201
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4202
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4203
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4204
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4205
0x20AC,0x067E,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
 
4206
0x02C6,0x2030,0x0000,0x2039,0x0152,0x0686,0x0698,0x0000,
 
4207
0x06AF,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
4208
0x0000,0x2122,0x0000,0x203A,0x0153,0x200C,0x200D,0x0000,
 
4209
0x00A0,0x060C,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
4210
0x00A8,0x00A9,0x0000,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
4211
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
4212
0x00B8,0x00B9,0x061B,0x00BB,0x00BC,0x00BD,0x00BE,0x061F,
 
4213
0x0000,0x0621,0x0622,0x0623,0x0624,0x0625,0x0626,0x0627,
 
4214
0x0628,0x0629,0x062A,0x062B,0x062C,0x062D,0x062E,0x062F,
 
4215
0x0630,0x0631,0x0632,0x0633,0x0634,0x0635,0x0636,0x00D7,
 
4216
0x0637,0x0638,0x0639,0x063A,0x0640,0x0641,0x0642,0x0643,
 
4217
0x00E0,0x0644,0x00E2,0x0645,0x0646,0x0647,0x0648,0x00E7,
 
4218
0x00E8,0x00E9,0x00EA,0x00EB,0x0649,0x064A,0x00EE,0x00EF,
 
4219
0x064B,0x064C,0x064D,0x064E,0x00F4,0x064F,0x0650,0x00F7,
 
4220
0x0651,0x00F9,0x0652,0x00FB,0x00FC,0x200E,0x200F,0x0000
 
4221
};
 
4222
 
 
4223
#endif
 
4224
 
 
4225
#ifdef HAVE_CHARSET_cp1257
 
4226
uchar ctype_cp1257_bin[] = {
 
4227
0x00,
 
4228
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4229
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4230
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4231
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4232
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4233
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
4234
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4235
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
4236
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4237
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4238
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
 
4239
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x02,
 
4240
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4241
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
4242
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4243
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00
 
4244
};
 
4245
 
 
4246
uchar to_lower_cp1257_bin[] = {
 
4247
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4248
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4249
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4250
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4251
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4252
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4253
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4254
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4255
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4256
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4257
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
4258
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4259
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4260
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
4261
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4262
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4263
};
 
4264
 
 
4265
uchar to_upper_cp1257_bin[] = {
 
4266
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4267
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4268
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4269
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4270
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4271
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4272
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4273
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4274
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4275
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4276
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4277
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xAF,
 
4278
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4279
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4280
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4281
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
4282
};
 
4283
 
 
4284
uint16 to_uni_cp1257_bin[] = {
 
4285
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4286
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4287
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4288
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4289
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4290
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4291
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4292
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4293
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4294
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4295
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4296
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4297
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4298
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4299
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4300
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4301
0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
 
4302
0x0000,0x2030,0x0000,0x2039,0x0000,0x00A8,0x02C7,0x00B8,
 
4303
0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
4304
0x0000,0x2122,0x0000,0x203A,0x0000,0x00AF,0x02DB,0x0000,
 
4305
0x00A0,0x0000,0x00A2,0x00A3,0x00A4,0x0000,0x00A6,0x00A7,
 
4306
0x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6,
 
4307
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
4308
0x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6,
 
4309
0x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112,
 
4310
0x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B,
 
4311
0x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7,
 
4312
0x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF,
 
4313
0x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113,
 
4314
0x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C,
 
4315
0x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7,
 
4316
0x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x02D9
 
4317
};
 
4318
 
 
4319
#endif
 
4320
 
 
4321
#ifdef HAVE_CHARSET_cp1257
 
4322
uchar ctype_cp1257_general_ci[] = {
 
4323
0x00,
 
4324
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4325
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4326
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4327
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4328
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4329
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
4330
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4331
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
4332
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4333
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4334
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
 
4335
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x02,
 
4336
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4337
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
4338
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4339
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00
 
4340
};
 
4341
 
 
4342
uchar to_lower_cp1257_general_ci[] = {
 
4343
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4344
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4345
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4346
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4347
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4348
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4349
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4350
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4351
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4352
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4353
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
4354
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4355
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4356
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
4357
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4358
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4359
};
 
4360
 
 
4361
uchar to_upper_cp1257_general_ci[] = {
 
4362
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4363
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4364
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4365
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4366
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4367
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4368
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4369
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4370
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4371
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4372
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4373
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xAF,
 
4374
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4375
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4376
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4377
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
4378
};
 
4379
 
 
4380
uchar sort_order_cp1257_general_ci[] = {
 
4381
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4382
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4383
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4384
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4385
0x40,0x41,0x4D,0x4F,0x55,0x57,0x61,0x63,0x67,0x69,0x6F,0x71,0x75,0x7B,0x7D,0x83,
 
4386
0x8F,0x91,0x93,0x97,0x9E,0xA0,0xA8,0xAA,0xAC,0xAE,0xB0,0xB8,0xB9,0xBA,0xBB,0xBC,
 
4387
0xBD,0x41,0x4D,0x4F,0x55,0x57,0x61,0x63,0x67,0x69,0x6F,0x71,0x75,0x7B,0x7D,0x83,
 
4388
0x8F,0x91,0x93,0x97,0x9E,0xA0,0xA8,0xAA,0xAC,0xAE,0xB0,0xBE,0xBF,0xC0,0xC1,0xC4,
 
4389
0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,
 
4390
0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,
 
4391
0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0x83,0xED,0x93,0xEE,0xEF,0xF0,0xF1,0x41,
 
4392
0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0x83,0xFA,0x93,0xFB,0xFC,0xFD,0xFE,0x41,
 
4393
0x41,0x69,0x41,0x4F,0x41,0x41,0x57,0x57,0x4F,0x57,0xB0,0x57,0x63,0x71,0x69,0x75,
 
4394
0x97,0x7D,0x7D,0x83,0x83,0x83,0x83,0xC2,0xA0,0x75,0x97,0xA0,0xA0,0xB0,0xB0,0x97,
 
4395
0x41,0x69,0x41,0x4F,0x41,0x41,0x57,0x57,0x4F,0x57,0xB0,0x57,0x63,0x71,0x69,0x75,
 
4396
0x97,0x7D,0x7D,0x83,0x83,0x83,0x83,0xC3,0xA0,0x75,0x97,0xA0,0xA0,0xB0,0xB0,0xFF
 
4397
};
 
4398
 
 
4399
uint16 to_uni_cp1257_general_ci[] = {
 
4400
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4401
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4402
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4403
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4404
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4405
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4406
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4407
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4408
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4409
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4410
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4411
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4412
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4413
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4414
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4415
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4416
0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
 
4417
0x0000,0x2030,0x0000,0x2039,0x0000,0x00A8,0x02C7,0x00B8,
 
4418
0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
4419
0x0000,0x2122,0x0000,0x203A,0x0000,0x00AF,0x02DB,0x0000,
 
4420
0x00A0,0x0000,0x00A2,0x00A3,0x00A4,0x0000,0x00A6,0x00A7,
 
4421
0x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6,
 
4422
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
4423
0x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6,
 
4424
0x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112,
 
4425
0x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B,
 
4426
0x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7,
 
4427
0x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF,
 
4428
0x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113,
 
4429
0x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C,
 
4430
0x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7,
 
4431
0x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x02D9
 
4432
};
 
4433
 
 
4434
#endif
 
4435
 
 
4436
#ifdef HAVE_CHARSET_armscii8
 
4437
uchar ctype_armscii8_bin[] = {
 
4438
0x00,
 
4439
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4440
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4441
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4442
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4443
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4444
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
4445
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4446
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
4447
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4448
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4449
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4450
0x10,0x10,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
 
4451
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
 
4452
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
 
4453
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
 
4454
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x10,0x10
 
4455
};
 
4456
 
 
4457
uchar to_lower_armscii8_bin[] = {
 
4458
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4459
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4460
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4461
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4462
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4463
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4464
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4465
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4466
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4467
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4468
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4469
0xB0,0xB1,0xB3,0xB3,0xB5,0xB5,0xB7,0xB7,0xB9,0xB9,0xBB,0xBB,0xBD,0xBD,0xBF,0xBF,
 
4470
0xC1,0xC1,0xC3,0xC3,0xC5,0xC5,0xC7,0xC7,0xC9,0xC9,0xCB,0xCB,0xCD,0xCD,0xCF,0xCF,
 
4471
0xD1,0xD1,0xD3,0xD3,0xD5,0xD5,0xD7,0xD7,0xD9,0xD9,0xDB,0xDB,0xDD,0xDD,0xDF,0xDF,
 
4472
0xE1,0xE1,0xE3,0xE3,0xE5,0xE5,0xE7,0xE7,0xE9,0xE9,0xEB,0xEB,0xED,0xED,0xEF,0xEF,
 
4473
0xF1,0xF1,0xF3,0xF3,0xF5,0xF5,0xF7,0xF7,0xF9,0xF9,0xFB,0xFB,0xFD,0xFD,0xFE,0xFF
 
4474
};
 
4475
 
 
4476
uchar to_upper_armscii8_bin[] = {
 
4477
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4478
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4479
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4480
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4481
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4482
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4483
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4484
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4485
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4486
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4487
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4488
0xB0,0xB1,0xB2,0xB2,0xB4,0xB4,0xB6,0xB6,0xB8,0xB8,0xBA,0xBA,0xBC,0xBC,0xBE,0xBE,
 
4489
0xC0,0xC0,0xC2,0xC2,0xC4,0xC4,0xC6,0xC6,0xC8,0xC8,0xCA,0xCA,0xCC,0xCC,0xCE,0xCE,
 
4490
0xD0,0xD0,0xD2,0xD2,0xD4,0xD4,0xD6,0xD6,0xD8,0xD8,0xDA,0xDA,0xDC,0xDC,0xDE,0xDE,
 
4491
0xE0,0xE0,0xE2,0xE2,0xE4,0xE4,0xE6,0xE6,0xE8,0xE8,0xEA,0xEA,0xEC,0xEC,0xEE,0xEE,
 
4492
0xF0,0xF0,0xF2,0xF2,0xF4,0xF4,0xF6,0xF6,0xF8,0xF8,0xFA,0xFA,0xFC,0xFC,0xFE,0xFF
 
4493
};
 
4494
 
 
4495
uint16 to_uni_armscii8_bin[] = {
 
4496
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4497
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4498
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4499
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4500
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4501
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4502
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4503
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4504
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4505
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4506
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4507
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4508
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4509
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4510
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4511
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4512
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
4513
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
4514
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
4515
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
4516
0x00A0,0x2741,0x00A7,0x0589,0x0029,0x0028,0x00BB,0x00AB,
 
4517
0x2014,0x002E,0x055D,0x002C,0x002D,0x055F,0x2026,0x055C,
 
4518
0x055B,0x055E,0x0531,0x0561,0x0532,0x0562,0x0533,0x0563,
 
4519
0x0534,0x0564,0x0535,0x0565,0x0536,0x0566,0x0537,0x0567,
 
4520
0x0538,0x0568,0x0539,0x0569,0x053A,0x056A,0x053B,0x056B,
 
4521
0x053C,0x056C,0x053D,0x056D,0x053E,0x056E,0x053F,0x056F,
 
4522
0x0540,0x0570,0x0541,0x0571,0x0542,0x0572,0x0543,0x0573,
 
4523
0x0544,0x0574,0x0545,0x0575,0x0546,0x0576,0x0547,0x0577,
 
4524
0x0548,0x0578,0x0549,0x0579,0x054A,0x057A,0x054B,0x057B,
 
4525
0x054C,0x057C,0x054D,0x057D,0x054E,0x057E,0x054F,0x057F,
 
4526
0x0550,0x0580,0x0551,0x0581,0x0552,0x0582,0x0553,0x0583,
 
4527
0x0554,0x0584,0x0555,0x0585,0x0556,0x0586,0x2019,0x0027
 
4528
};
 
4529
 
 
4530
#endif
 
4531
 
 
4532
#ifdef HAVE_CHARSET_ascii
 
4533
uchar ctype_ascii_bin[] = {
 
4534
0x00,
 
4535
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4536
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4537
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4538
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4539
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4540
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
4541
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4542
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
4543
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4544
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4545
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4546
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4547
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4548
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4549
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4550
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
 
4551
};
 
4552
 
 
4553
uchar to_lower_ascii_bin[] = {
 
4554
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4555
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4556
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4557
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4558
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4559
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4560
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4561
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4562
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4563
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4564
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4565
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4566
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4567
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4568
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4569
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4570
};
 
4571
 
 
4572
uchar to_upper_ascii_bin[] = {
 
4573
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4574
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4575
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4576
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4577
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4578
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4579
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4580
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4581
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4582
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4583
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4584
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4585
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4586
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4587
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4588
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4589
};
 
4590
 
 
4591
uint16 to_uni_ascii_bin[] = {
 
4592
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4593
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4594
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4595
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4596
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4597
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4598
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4599
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4600
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4601
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4602
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4603
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4604
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4605
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4606
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4607
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4608
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4609
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4610
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4611
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4612
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4613
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4614
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4615
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4616
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4617
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4618
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4619
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4620
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4621
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4622
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
4623
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
 
4624
};
 
4625
 
 
4626
#endif
 
4627
 
 
4628
#ifdef HAVE_CHARSET_cp1250
 
4629
uchar ctype_cp1250_bin[] = {
 
4630
0x00,
 
4631
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4632
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4633
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4634
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4635
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4636
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
4637
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4638
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
4639
0x20,0x20,0x10,0x20,0x10,0x10,0x10,0x10,0x20,0x10,0x01,0x10,0x01,0x01,0x01,0x01,
 
4640
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x10,0x02,0x10,0x02,0x02,0x02,0x02,
 
4641
0x48,0x10,0x10,0x01,0x10,0x01,0x10,0x01,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
 
4642
0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x02,0x10,0x01,0x10,0x02,0x02,
 
4643
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4644
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
4645
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4646
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
4647
};
 
4648
 
 
4649
uchar to_lower_cp1250_bin[] = {
 
4650
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4651
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4652
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4653
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4654
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4655
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4656
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4657
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4658
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
 
4659
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4660
0xA0,0xA1,0xA2,0xB3,0xA4,0xB9,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
4661
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBE,0xBD,0xBE,0xBF,
 
4662
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4663
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
4664
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4665
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4666
};
 
4667
 
 
4668
uchar to_upper_cp1250_bin[] = {
 
4669
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4670
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4671
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4672
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4673
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4674
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4675
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4676
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4677
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4678
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x8D,0x8E,0x8F,
 
4679
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4680
0xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xA5,0xAA,0xBB,0xBC,0xBD,0xBC,0xAF,
 
4681
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4682
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4683
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4684
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
4685
};
 
4686
 
 
4687
uint16 to_uni_cp1250_bin[] = {
 
4688
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4689
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4690
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4691
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4692
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4693
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4694
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4695
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4696
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4697
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4698
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4699
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4700
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4701
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4702
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4703
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4704
0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
 
4705
0x0000,0x2030,0x0160,0x2039,0x015A,0x0164,0x017D,0x0179,
 
4706
0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
4707
0x0000,0x2122,0x0161,0x203A,0x015B,0x0165,0x017E,0x017A,
 
4708
0x00A0,0x02C7,0x02D8,0x0141,0x00A4,0x0104,0x00A6,0x00A7,
 
4709
0x00A8,0x00A9,0x015E,0x00AB,0x00AC,0x00AD,0x00AE,0x017B,
 
4710
0x00B0,0x00B1,0x02DB,0x0142,0x00B4,0x00B5,0x00B6,0x00B7,
 
4711
0x00B8,0x0105,0x015F,0x00BB,0x013D,0x02DD,0x013E,0x017C,
 
4712
0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
 
4713
0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
 
4714
0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
 
4715
0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
 
4716
0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
 
4717
0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
 
4718
0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
 
4719
0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
 
4720
};
 
4721
 
 
4722
#endif
 
4723
 
 
4724
#ifdef HAVE_CHARSET_cp1256
 
4725
uchar ctype_cp1256_bin[] = {
 
4726
0x00,
 
4727
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4728
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4729
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4730
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4731
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4732
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x00,0x00,
 
4733
0x00,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4734
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
4735
0x00,0x03,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x03,0x00,
 
4736
0x03,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,
 
4737
0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x10,0x00,0x00,
 
4738
0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x10,
 
4739
0x00,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
 
4740
0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
 
4741
0x02,0x03,0x02,0x03,0x03,0x03,0x03,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x02,0x02,
 
4742
0x03,0x03,0x03,0x03,0x02,0x03,0x03,0x00,0x03,0x02,0x03,0x02,0x02,0x00,0x00,0x00
 
4743
};
 
4744
 
 
4745
uchar to_lower_cp1256_bin[] = {
 
4746
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4747
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4748
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4749
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4750
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4751
0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4752
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4753
0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4754
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x9C,0x8D,0x8E,0x8F,
 
4755
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4756
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4757
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4758
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4759
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4760
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4761
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4762
};
 
4763
 
 
4764
uchar to_upper_cp1256_bin[] = {
 
4765
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4766
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4767
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4768
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4769
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4770
0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5F,0x5E,0x5F,
 
4771
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4772
0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7F,0x7E,0x7F,
 
4773
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4774
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x8C,0x9D,0x9E,0x9F,
 
4775
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4776
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4777
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4778
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4779
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4780
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4781
};
 
4782
 
 
4783
uint16 to_uni_cp1256_bin[] = {
 
4784
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4785
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4786
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4787
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4788
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4789
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4790
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4791
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4792
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4793
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4794
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4795
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4796
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4797
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4798
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4799
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4800
0x20AC,0x067E,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
 
4801
0x02C6,0x2030,0x0000,0x2039,0x0152,0x0686,0x0698,0x0000,
 
4802
0x06AF,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
4803
0x0000,0x2122,0x0000,0x203A,0x0153,0x200C,0x200D,0x0000,
 
4804
0x00A0,0x060C,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
4805
0x00A8,0x00A9,0x0000,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
4806
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
4807
0x00B8,0x00B9,0x061B,0x00BB,0x00BC,0x00BD,0x00BE,0x061F,
 
4808
0x0000,0x0621,0x0622,0x0623,0x0624,0x0625,0x0626,0x0627,
 
4809
0x0628,0x0629,0x062A,0x062B,0x062C,0x062D,0x062E,0x062F,
 
4810
0x0630,0x0631,0x0632,0x0633,0x0634,0x0635,0x0636,0x00D7,
 
4811
0x0637,0x0638,0x0639,0x063A,0x0640,0x0641,0x0642,0x0643,
 
4812
0x00E0,0x0644,0x00E2,0x0645,0x0646,0x0647,0x0648,0x00E7,
 
4813
0x00E8,0x00E9,0x00EA,0x00EB,0x0649,0x064A,0x00EE,0x00EF,
 
4814
0x064B,0x064C,0x064D,0x064E,0x00F4,0x064F,0x0650,0x00F7,
 
4815
0x0651,0x00F9,0x0652,0x00FB,0x00FC,0x200E,0x200F,0x0000
 
4816
};
 
4817
 
 
4818
#endif
 
4819
 
 
4820
#ifdef HAVE_CHARSET_cp866
 
4821
uchar ctype_cp866_bin[] = {
 
4822
0x00,
 
4823
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4824
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4825
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4826
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4827
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4828
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
4829
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4830
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
4831
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4832
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4833
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4834
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4835
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4836
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4837
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4838
0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48
 
4839
};
 
4840
 
 
4841
uchar to_lower_cp866_bin[] = {
 
4842
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4843
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4844
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4845
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4846
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4847
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4848
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4849
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4850
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x86,0x87,0x88,0x89,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4851
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4852
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x86,0x87,0x88,0x89,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4853
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4854
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4855
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4856
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4857
0xF1,0xF1,0xF3,0xF3,0xF5,0xF5,0xF7,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4858
};
 
4859
 
 
4860
uchar to_upper_cp866_bin[] = {
 
4861
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4862
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4863
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4864
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4865
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4866
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4867
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4868
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4869
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4870
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4871
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4872
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4873
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4874
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4875
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4876
0xF0,0xF0,0xF2,0xF2,0xF4,0xF4,0xF6,0xF6,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4877
};
 
4878
 
 
4879
uint16 to_uni_cp866_bin[] = {
 
4880
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4881
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4882
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4883
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4884
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4885
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4886
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4887
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4888
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4889
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4890
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4891
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4892
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4893
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4894
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4895
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4896
0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
 
4897
0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F,
 
4898
0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
 
4899
0x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F,
 
4900
0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
 
4901
0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F,
 
4902
0x2591,0x2592,0x2593,0x2502,0x2524,0x2561,0x2562,0x2556,
 
4903
0x2555,0x2563,0x2551,0x2557,0x255D,0x255C,0x255B,0x2510,
 
4904
0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x255E,0x255F,
 
4905
0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x2567,
 
4906
0x2568,0x2564,0x2565,0x2559,0x2558,0x2552,0x2553,0x256B,
 
4907
0x256A,0x2518,0x250C,0x2588,0x2584,0x258C,0x2590,0x2580,
 
4908
0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
 
4909
0x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F,
 
4910
0x0401,0x0451,0x0404,0x0454,0x0407,0x0457,0x040E,0x045E,
 
4911
0x00B0,0x2219,0x00B7,0x221A,0x207F,0x00B2,0x25A0,0x00A0
 
4912
};
 
4913
 
 
4914
#endif
 
4915
 
 
4916
#ifdef HAVE_CHARSET_dec8
 
4917
uchar ctype_dec8_bin[] = {
 
4918
0x00,
 
4919
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
4920
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
4921
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4922
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
4923
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4924
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
4925
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4926
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
4927
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4928
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
4929
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4930
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
4931
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
4932
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
4933
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
4934
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
4935
};
 
4936
 
 
4937
uchar to_lower_dec8_bin[] = {
 
4938
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4939
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4940
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4941
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4942
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4943
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4944
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
4945
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4946
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4947
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4948
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4949
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4950
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4951
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
4952
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
4953
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
4954
};
 
4955
 
 
4956
uchar to_upper_dec8_bin[] = {
 
4957
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
4958
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
4959
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
4960
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
4961
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4962
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
4963
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
4964
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
4965
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
4966
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
4967
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
4968
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
4969
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4970
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
4971
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
4972
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
4973
};
 
4974
 
 
4975
uint16 to_uni_dec8_bin[] = {
 
4976
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
4977
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
4978
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
4979
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
4980
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
4981
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
4982
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
4983
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
4984
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
4985
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
4986
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
4987
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
4988
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
4989
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
4990
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
4991
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
4992
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
4993
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
4994
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
4995
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
4996
0x00A0,0x00A1,0x00A2,0x00A3,0x0000,0x00A5,0x0000,0x00A7,
 
4997
0x00A4,0x00A9,0x00AA,0x00AB,0x0000,0x0000,0x0000,0x0000,
 
4998
0x00B0,0x00B1,0x00B2,0x00B3,0x0000,0x00B5,0x00B6,0x00B7,
 
4999
0x0000,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x0000,0x00BF,
 
5000
0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
 
5001
0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
 
5002
0x0000,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x0152,
 
5003
0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x0178,0x0000,0x00DF,
 
5004
0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
 
5005
0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
 
5006
0x0000,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x0153,
 
5007
0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FF,0x0000,0x0000
 
5008
};
 
5009
 
 
5010
#endif
 
5011
 
 
5012
#ifdef HAVE_CHARSET_greek
 
5013
uchar ctype_greek_bin[] = {
 
5014
0x00,
 
5015
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5016
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5017
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5018
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5019
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5020
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5021
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5022
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
5023
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5024
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5025
0x48,0x10,0x10,0x10,0x00,0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x10,0x10,0x00,0x10,
 
5026
0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x01,0x01,0x10,0x01,0x10,0x01,0x01,
 
5027
0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5028
0x01,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,
 
5029
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5030
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00
 
5031
};
 
5032
 
 
5033
uchar to_lower_greek_bin[] = {
 
5034
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5035
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5036
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5037
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5038
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5039
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5040
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5041
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5042
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5043
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5044
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5045
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xDC,0xB7,0xDD,0xDE,0xDF,0xBB,0xFC,0xBD,0xFD,0xFE,
 
5046
0xC0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5047
0xF0,0xF1,0xD2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xDC,0xDD,0xDE,0xDF,
 
5048
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5049
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5050
};
 
5051
 
 
5052
uchar to_upper_greek_bin[] = {
 
5053
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5054
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5055
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5056
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5057
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5058
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5059
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5060
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5061
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5062
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5063
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5064
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5065
0xDA,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5066
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xC1,0xC5,0xC7,0xC9,
 
5067
0xDB,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5068
0xD0,0xD1,0xD3,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xCF,0xD5,0xD9,0xFF
 
5069
};
 
5070
 
 
5071
uint16 to_uni_greek_bin[] = {
 
5072
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5073
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5074
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5075
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5076
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5077
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5078
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5079
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5080
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5081
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5082
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5083
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5084
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5085
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5086
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5087
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5088
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
5089
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
5090
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
5091
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
5092
0x00A0,0x02BD,0x02BC,0x00A3,0x0000,0x0000,0x00A6,0x00A7,
 
5093
0x00A8,0x00A9,0x0000,0x00AB,0x00AC,0x00AD,0x0000,0x2015,
 
5094
0x00B0,0x00B1,0x00B2,0x00B3,0x0384,0x0385,0x0386,0x00B7,
 
5095
0x0388,0x0389,0x038A,0x00BB,0x038C,0x00BD,0x038E,0x038F,
 
5096
0x0390,0x0391,0x0392,0x0393,0x0394,0x0395,0x0396,0x0397,
 
5097
0x0398,0x0399,0x039A,0x039B,0x039C,0x039D,0x039E,0x039F,
 
5098
0x03A0,0x03A1,0x0000,0x03A3,0x03A4,0x03A5,0x03A6,0x03A7,
 
5099
0x03A8,0x03A9,0x03AA,0x03AB,0x03AC,0x03AD,0x03AE,0x03AF,
 
5100
0x03B0,0x03B1,0x03B2,0x03B3,0x03B4,0x03B5,0x03B6,0x03B7,
 
5101
0x03B8,0x03B9,0x03BA,0x03BB,0x03BC,0x03BD,0x03BE,0x03BF,
 
5102
0x03C0,0x03C1,0x03C2,0x03C3,0x03C4,0x03C5,0x03C6,0x03C7,
 
5103
0x03C8,0x03C9,0x03CA,0x03CB,0x03CC,0x03CD,0x03CE,0x0000
 
5104
};
 
5105
 
 
5106
#endif
 
5107
 
 
5108
#ifdef HAVE_CHARSET_hebrew
 
5109
uchar ctype_hebrew_bin[] = {
 
5110
0x00,
 
5111
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5112
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5113
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5114
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5115
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5116
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5117
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5118
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
5119
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5120
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5121
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5122
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5123
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5124
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5125
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5126
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x00,0x20,0x20,0x00
 
5127
};
 
5128
 
 
5129
uchar to_lower_hebrew_bin[] = {
 
5130
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5131
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5132
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5133
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5134
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5135
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5136
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5137
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5138
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5139
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5140
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5141
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5142
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5143
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5144
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5145
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5146
};
 
5147
 
 
5148
uchar to_upper_hebrew_bin[] = {
 
5149
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5150
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5151
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5152
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5153
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5154
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5155
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5156
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5157
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5158
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5159
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5160
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5161
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5162
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5163
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5164
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5165
};
 
5166
 
 
5167
uint16 to_uni_hebrew_bin[] = {
 
5168
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5169
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5170
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5171
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5172
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5173
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5174
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5175
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5176
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5177
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5178
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5179
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5180
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5181
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5182
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5183
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5184
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
5185
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
5186
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
5187
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
5188
0x00A0,0x0000,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
5189
0x00A8,0x00A9,0x00D7,0x00AB,0x00AC,0x00AD,0x00AE,0x203E,
 
5190
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
5191
0x00B8,0x00B9,0x00F7,0x00BB,0x00BC,0x00BD,0x00BE,0x0000,
 
5192
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
5193
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
5194
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
5195
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x2017,
 
5196
0x05D0,0x05D1,0x05D2,0x05D3,0x05D4,0x05D5,0x05D6,0x05D7,
 
5197
0x05D8,0x05D9,0x05DA,0x05DB,0x05DC,0x05DD,0x05DE,0x05DF,
 
5198
0x05E0,0x05E1,0x05E2,0x05E3,0x05E4,0x05E5,0x05E6,0x05E7,
 
5199
0x05E8,0x05E9,0x05EA,0x0000,0x0000,0x200E,0x200F,0x0000
 
5200
};
 
5201
 
 
5202
#endif
 
5203
 
 
5204
#ifdef HAVE_CHARSET_hp8
 
5205
uchar ctype_hp8_bin[] = {
 
5206
0x00,
 
5207
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5208
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5209
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5210
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5211
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5212
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5213
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5214
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
5215
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5216
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5217
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5218
0x10,0x20,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5219
0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x02,
 
5220
0x01,0x10,0x10,0x01,0x02,0x10,0x10,0x02,0x01,0x10,0x01,0x01,0x01,0x10,0x10,0x10,
 
5221
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5222
0x10,0x10,0x20,0x20,0x20,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20
 
5223
};
 
5224
 
 
5225
uchar to_lower_hp8_bin[] = {
 
5226
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5227
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5228
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5229
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5230
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5231
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5232
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5233
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5234
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5235
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5236
0xA0,0xC8,0xC0,0xC9,0xC1,0xCD,0xD1,0xDD,0xA8,0xA9,0xAA,0xAB,0xAC,0xCB,0xC3,0xAF,
 
5237
0xB0,0xB2,0xB2,0xB3,0xB5,0xB5,0xB7,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5238
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5239
0xD4,0xD1,0xD6,0xD7,0xD4,0xD5,0xD6,0xD7,0xCC,0xD9,0xCE,0xCF,0xC5,0xDD,0xDE,0xC2,
 
5240
0xC4,0xE2,0xE2,0xE4,0xE4,0xD5,0xD9,0xC6,0xCA,0xEA,0xEA,0xEC,0xEC,0xC7,0xEF,0xEF,
 
5241
0xF1,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5242
};
 
5243
 
 
5244
uchar to_upper_hp8_bin[] = {
 
5245
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5246
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5247
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5248
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5249
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5250
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5251
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5252
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5253
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5254
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5255
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5256
0xB0,0xB1,0xB1,0xB3,0xB4,0xB4,0xB6,0xB6,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5257
0xA2,0xA4,0xDF,0xAE,0xE0,0xDC,0xE7,0xED,0xA1,0xA3,0xE8,0xAD,0xD8,0xA5,0xDA,0xDB,
 
5258
0xD0,0xA6,0xD2,0xD3,0xD0,0xE5,0xD2,0xD3,0xD8,0xE6,0xDA,0xDB,0xDC,0xA7,0xDE,0xDF,
 
5259
0xE0,0xE1,0xE1,0xE3,0xE3,0xE5,0xE6,0xE7,0xE8,0xE9,0xE9,0xEB,0xEB,0xED,0xEE,0xEE,
 
5260
0xF0,0xF0,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5261
};
 
5262
 
 
5263
uint16 to_uni_hp8_bin[] = {
 
5264
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5265
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5266
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5267
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5268
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5269
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5270
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5271
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5272
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5273
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5274
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5275
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5276
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5277
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5278
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5279
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5280
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
5281
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
5282
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
5283
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
5284
0x00A0,0x00C0,0x00C2,0x00C8,0x00CA,0x00CB,0x00CE,0x00CF,
 
5285
0x00B4,0x02CB,0x02C6,0x00A8,0x02DC,0x00D9,0x00DB,0x20A4,
 
5286
0x00AF,0x00DD,0x00FD,0x00B0,0x00C7,0x00E7,0x00D1,0x00F1,
 
5287
0x00A1,0x00BF,0x00A4,0x00A3,0x00A5,0x00A7,0x0192,0x00A2,
 
5288
0x00E2,0x00EA,0x00F4,0x00FB,0x00E1,0x00E9,0x00F3,0x00FA,
 
5289
0x00E0,0x00E8,0x00F2,0x00F9,0x00E4,0x00EB,0x00F6,0x00FC,
 
5290
0x00C5,0x00EE,0x00D8,0x00C6,0x00E5,0x00ED,0x00F8,0x00E6,
 
5291
0x00C4,0x00EC,0x00D6,0x00DC,0x00C9,0x00EF,0x00DF,0x00D4,
 
5292
0x00C1,0x00C3,0x00E3,0x00D0,0x00F0,0x00CD,0x00CC,0x00D3,
 
5293
0x00D2,0x00D5,0x00F5,0x0160,0x0161,0x00DA,0x0178,0x00FF,
 
5294
0x00DE,0x00FE,0x00B7,0x00B5,0x00B6,0x00BE,0x2014,0x00BC,
 
5295
0x00BD,0x00AA,0x00BA,0x00AB,0x25A0,0x00BB,0x00B1,0x0000
 
5296
};
 
5297
 
 
5298
#endif
 
5299
 
 
5300
#ifdef HAVE_CHARSET_keybcs2
 
5301
uchar ctype_keybcs2_bin[] = {
 
5302
0x00,
 
5303
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5304
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5305
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5306
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5307
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5308
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5309
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5310
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
5311
0x01,0x02,0x82,0x02,0x02,0x01,0x01,0x02,0x82,0x81,0x01,0x01,0x02,0x02,0x01,0x01,
 
5312
0x81,0x02,0x01,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
5313
0x02,0x02,0x02,0x02,0x02,0x01,0x01,0x01,0x02,0x02,0x02,0x01,0x00,0x00,0x00,0x00,
 
5314
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5315
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5316
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5317
0x02,0x02,0x01,0x02,0x01,0x02,0x00,0x02,0x01,0x01,0x01,0x02,0x00,0x02,0x02,0x00,
 
5318
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48
 
5319
};
 
5320
 
 
5321
uchar to_lower_keybcs2_bin[] = {
 
5322
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5323
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5324
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5325
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5326
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5327
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5328
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5329
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5330
0x87,0x81,0x82,0x83,0x84,0x83,0x86,0x87,0x88,0x88,0x8D,0xA1,0x8C,0x8D,0x84,0xA0,
 
5331
0x82,0x91,0x91,0x93,0x94,0xA2,0x96,0xA3,0x98,0x94,0x81,0x9B,0x8C,0x98,0xA9,0x9F,
 
5332
0xA0,0xA1,0xA2,0xA3,0xA4,0xA4,0x96,0x93,0x9B,0xA9,0xAA,0xAA,0xAC,0xAD,0xAE,0xAF,
 
5333
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5334
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5335
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5336
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xED,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5337
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5338
};
 
5339
 
 
5340
uchar to_upper_keybcs2_bin[] = {
 
5341
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5342
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5343
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5344
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5345
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5346
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5347
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5348
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x68,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5349
0x87,0x9A,0x90,0x85,0x8E,0x85,0x86,0x80,0x89,0x89,0x8A,0x8B,0x9C,0x8A,0x8E,0x8F,
 
5350
0x90,0x92,0x92,0xA7,0x99,0x95,0xA6,0x97,0x9D,0x99,0x9A,0xA8,0x9C,0x9D,0x9E,0x9F,
 
5351
0x8F,0x8B,0x95,0x97,0xA5,0xA5,0xA6,0xA7,0xA8,0x9E,0xAB,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5352
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5353
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5354
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5355
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xE8,0xEE,0xEF,
 
5356
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5357
};
 
5358
 
 
5359
uint16 to_uni_keybcs2_bin[] = {
 
5360
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5361
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5362
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5363
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5364
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5365
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5366
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5367
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5368
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5369
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5370
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5371
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5372
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5373
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5374
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5375
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5376
0x010C,0x00FC,0x00E9,0x010F,0x00E4,0x010E,0x0164,0x010D,
 
5377
0x011B,0x011A,0x0139,0x00CD,0x013E,0x013A,0x00C4,0x00C1,
 
5378
0x00C9,0x017E,0x017D,0x00F4,0x00F6,0x00D3,0x016F,0x00DA,
 
5379
0x00FD,0x00D6,0x00DC,0x0160,0x013D,0x00DD,0x0158,0x0165,
 
5380
0x00E1,0x00ED,0x00F3,0x00FA,0x0148,0x0147,0x016E,0x00D4,
 
5381
0x0161,0x0159,0x0155,0x0154,0x00BC,0x00A1,0x00AB,0x00BB,
 
5382
0x2591,0x2592,0x2593,0x2502,0x2524,0x2561,0x2562,0x2556,
 
5383
0x2555,0x2563,0x2551,0x2557,0x255D,0x255C,0x255B,0x2510,
 
5384
0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x255E,0x255F,
 
5385
0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x2567,
 
5386
0x2568,0x2564,0x2565,0x2559,0x2558,0x2552,0x2553,0x256B,
 
5387
0x256A,0x2518,0x250C,0x2588,0x2584,0x258C,0x2590,0x2580,
 
5388
0x03B1,0x00DF,0x0393,0x03C0,0x03A3,0x03C3,0x00B5,0x03C4,
 
5389
0x03A6,0x0398,0x03A9,0x03B4,0x221E,0x03C6,0x03B5,0x2229,
 
5390
0x2261,0x00B1,0x2265,0x2264,0x2320,0x2321,0x00F7,0x2248,
 
5391
0x00B0,0x2219,0x00B7,0x221A,0x207F,0x00B2,0x25A0,0x00A0
 
5392
};
 
5393
 
 
5394
#endif
 
5395
 
 
5396
#ifdef HAVE_CHARSET_koi8r
 
5397
uchar ctype_koi8r_bin[] = {
 
5398
0x00,
 
5399
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5400
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5401
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5402
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5403
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5404
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5405
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5406
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
5407
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5408
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5409
0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5410
0x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5411
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5412
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5413
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5414
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01
 
5415
};
 
5416
 
 
5417
uchar to_lower_koi8r_bin[] = {
 
5418
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5419
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5420
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5421
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5422
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5423
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5424
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5425
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5426
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5427
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5428
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5429
0xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5430
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5431
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5432
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5433
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
 
5434
};
 
5435
 
 
5436
uchar to_upper_koi8r_bin[] = {
 
5437
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5438
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5439
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5440
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5441
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5442
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5443
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5444
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5445
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5446
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5447
0xA0,0xA1,0xA2,0xB3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5448
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5449
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5450
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
5451
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5452
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5453
};
 
5454
 
 
5455
uint16 to_uni_koi8r_bin[] = {
 
5456
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5457
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5458
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5459
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5460
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5461
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5462
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5463
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5464
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5465
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5466
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5467
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5468
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5469
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5470
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5471
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5472
0x2500,0x2502,0x250C,0x2510,0x2514,0x2518,0x251C,0x2524,
 
5473
0x252C,0x2534,0x253C,0x2580,0x2584,0x2588,0x258C,0x2590,
 
5474
0x2591,0x2592,0x2593,0x2320,0x25A0,0x2219,0x221A,0x2248,
 
5475
0x2264,0x2265,0x00A0,0x2321,0x00B0,0x00B2,0x00B7,0x00F7,
 
5476
0x2550,0x2551,0x2552,0x0451,0x2553,0x2554,0x2555,0x2556,
 
5477
0x2557,0x2558,0x2559,0x255A,0x255B,0x255C,0x255D,0x255E,
 
5478
0x255F,0x2560,0x2561,0x0401,0x2562,0x2563,0x2564,0x2565,
 
5479
0x2566,0x2567,0x2568,0x2569,0x256A,0x256B,0x256C,0x00A9,
 
5480
0x044E,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433,
 
5481
0x0445,0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,
 
5482
0x043F,0x044F,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432,
 
5483
0x044C,0x044B,0x0437,0x0448,0x044D,0x0449,0x0447,0x044A,
 
5484
0x042E,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413,
 
5485
0x0425,0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,
 
5486
0x041F,0x042F,0x0420,0x0421,0x0422,0x0423,0x0416,0x0412,
 
5487
0x042C,0x042B,0x0417,0x0428,0x042D,0x0429,0x0427,0x042A
 
5488
};
 
5489
 
 
5490
#endif
 
5491
 
 
5492
#ifdef HAVE_CHARSET_koi8u
 
5493
uchar ctype_koi8u_bin[] = {
 
5494
0x00,
 
5495
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5496
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5497
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5498
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5499
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5500
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5501
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5502
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
5503
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5504
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5505
0x10,0x10,0x10,0x02,0x02,0x10,0x02,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,
 
5506
0x10,0x10,0x10,0x01,0x01,0x10,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x10,
 
5507
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5508
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5509
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5510
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01
 
5511
};
 
5512
 
 
5513
uchar to_lower_koi8u_bin[] = {
 
5514
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5515
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5516
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5517
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5518
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5519
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5520
0x20,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5521
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5522
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5523
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5524
0x20,0x20,0x20,0xA3,0xA4,0x20,0xA6,0xA7,0x20,0x20,0x20,0x20,0x20,0xAD,0x20,0x20,
 
5525
0x20,0x20,0x20,0xA3,0xA4,0x20,0xA6,0xA7,0x20,0x20,0x20,0x20,0x20,0xAD,0x20,0x20,
 
5526
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5527
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5528
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5529
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
 
5530
};
 
5531
 
 
5532
uchar to_upper_koi8u_bin[] = {
 
5533
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5534
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5535
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5536
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5537
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5538
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5539
0x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5540
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5541
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5542
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5543
0x20,0x20,0x20,0xB3,0xB4,0x20,0xB6,0xB7,0x20,0x20,0x20,0x20,0x20,0xBD,0x20,0x20,
 
5544
0x20,0x20,0x20,0xB3,0xB4,0x20,0xB6,0xB7,0x20,0x20,0x20,0x20,0x20,0xBD,0x20,0x20,
 
5545
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5546
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
5547
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5548
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5549
};
 
5550
 
 
5551
uint16 to_uni_koi8u_bin[] = {
 
5552
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5553
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5554
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5555
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5556
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5557
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5558
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5559
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5560
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5561
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5562
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5563
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5564
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5565
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5566
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5567
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5568
0x2500,0x2502,0x250C,0x2510,0x2514,0x2518,0x251C,0x2524,
 
5569
0x252C,0x2534,0x253C,0x2580,0x2584,0x2588,0x258C,0x2590,
 
5570
0x2591,0x2592,0x2593,0x2320,0x25A0,0x2022,0x221A,0x2248,
 
5571
0x2264,0x2265,0x00A0,0x2321,0x00B0,0x00B2,0x00B7,0x00F7,
 
5572
0x2550,0x2551,0x2552,0x0451,0x0454,0x2554,0x0456,0x0457,
 
5573
0x2557,0x2558,0x2559,0x255A,0x255B,0x0491,0x255D,0x255E,
 
5574
0x255F,0x2560,0x2561,0x0401,0x0404,0x2563,0x0406,0x0407,
 
5575
0x2566,0x2567,0x2568,0x2569,0x256A,0x0490,0x256C,0x00A9,
 
5576
0x044E,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433,
 
5577
0x0445,0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,
 
5578
0x043F,0x044F,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432,
 
5579
0x044C,0x044B,0x0437,0x0448,0x044D,0x0449,0x0447,0x044A,
 
5580
0x042E,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413,
 
5581
0x0425,0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,
 
5582
0x041F,0x042F,0x0420,0x0421,0x0422,0x0423,0x0416,0x0412,
 
5583
0x042C,0x042B,0x0417,0x0428,0x042D,0x0429,0x0427,0x042A
 
5584
};
 
5585
 
 
5586
#endif
 
5587
 
 
5588
#ifdef HAVE_CHARSET_latin2
 
5589
uchar ctype_latin2_bin[] = {
 
5590
0x00,
 
5591
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5592
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5593
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5594
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5595
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5596
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5597
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5598
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
5599
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5600
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5601
0x48,0x01,0x10,0x01,0x10,0x01,0x01,0x10,0x10,0x01,0x01,0x01,0x01,0x10,0x01,0x01,
 
5602
0x10,0x02,0x10,0x02,0x10,0x02,0x02,0x10,0x10,0x02,0x02,0x02,0x02,0x10,0x02,0x02,
 
5603
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5604
0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,
 
5605
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5606
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
5607
};
 
5608
 
 
5609
uchar to_lower_latin2_bin[] = {
 
5610
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5611
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5612
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5613
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5614
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5615
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5616
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5617
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5618
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5619
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5620
0xA0,0xB1,0xA2,0xB3,0xA4,0xB5,0xB6,0xA7,0xA8,0xB9,0xBA,0xBB,0xBC,0xAD,0xBE,0xBF,
 
5621
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5622
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5623
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
5624
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5625
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5626
};
 
5627
 
 
5628
uchar to_upper_latin2_bin[] = {
 
5629
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5630
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5631
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5632
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5633
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5634
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5635
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5636
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5637
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5638
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5639
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5640
0xB0,0xA1,0xB2,0xA3,0xB4,0xA5,0xA6,0xB7,0xB8,0xA9,0xAA,0xAB,0xAC,0xBD,0xAE,0xAF,
 
5641
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5642
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5643
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5644
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
5645
};
 
5646
 
 
5647
uint16 to_uni_latin2_bin[] = {
 
5648
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5649
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5650
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5651
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5652
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5653
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5654
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5655
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5656
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5657
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5658
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5659
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5660
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5661
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5662
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5663
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5664
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
5665
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
5666
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
5667
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
5668
0x00A0,0x0104,0x02D8,0x0141,0x00A4,0x013D,0x015A,0x00A7,
 
5669
0x00A8,0x0160,0x015E,0x0164,0x0179,0x00AD,0x017D,0x017B,
 
5670
0x00B0,0x0105,0x02DB,0x0142,0x00B4,0x013E,0x015B,0x02C7,
 
5671
0x00B8,0x0161,0x015F,0x0165,0x017A,0x02DD,0x017E,0x017C,
 
5672
0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
 
5673
0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
 
5674
0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
 
5675
0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
 
5676
0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
 
5677
0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
 
5678
0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
 
5679
0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
 
5680
};
 
5681
 
 
5682
#endif
 
5683
 
 
5684
#ifdef HAVE_CHARSET_latin5
 
5685
uchar ctype_latin5_bin[] = {
 
5686
0x00,
 
5687
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5688
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5689
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5690
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5691
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5692
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5693
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5694
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
5695
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5696
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5697
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5698
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5699
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5700
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
5701
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5702
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
5703
};
 
5704
 
 
5705
uchar to_lower_latin5_bin[] = {
 
5706
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5707
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5708
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5709
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5710
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0xFD,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5711
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5712
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5713
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5714
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5715
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5716
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5717
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5718
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5719
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0x69,0xFE,0xDF,
 
5720
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5721
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5722
};
 
5723
 
 
5724
uchar to_upper_latin5_bin[] = {
 
5725
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5726
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5727
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5728
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5729
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5730
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5731
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0xDD,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5732
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5733
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5734
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5735
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5736
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5737
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5738
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5739
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5740
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0x49,0xDE,0xFF
 
5741
};
 
5742
 
 
5743
uint16 to_uni_latin5_bin[] = {
 
5744
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5745
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5746
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5747
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5748
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5749
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5750
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5751
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5752
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5753
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5754
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5755
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5756
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5757
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5758
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5759
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5760
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
5761
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
5762
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
5763
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
5764
0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
5765
0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
5766
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
5767
0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
 
5768
0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
 
5769
0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
 
5770
0x011E,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
 
5771
0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x0130,0x015E,0x00DF,
 
5772
0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
 
5773
0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
 
5774
0x011F,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
 
5775
0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x0131,0x015F,0x00FF
 
5776
};
 
5777
 
 
5778
#endif
 
5779
 
 
5780
#ifdef HAVE_CHARSET_latin7
 
5781
uchar ctype_latin7_bin[] = {
 
5782
0x00,
 
5783
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5784
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5785
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5786
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5787
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5788
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5789
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5790
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
5791
0x01,0x20,0x10,0x20,0x10,0x10,0x00,0x00,0x20,0x10,0x20,0x10,0x20,0x10,0x10,0x10,
 
5792
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x00,0x20,0x10,0x20,0x10,0x10,0x20,
 
5793
0x48,0x20,0x10,0x10,0x10,0x20,0x10,0x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
 
5794
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x02,
 
5795
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5796
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
5797
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5798
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
5799
};
 
5800
 
 
5801
uchar to_lower_latin7_bin[] = {
 
5802
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5803
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5804
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5805
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5806
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5807
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5808
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5809
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5810
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5811
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5812
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
5813
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5814
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5815
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
5816
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5817
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5818
};
 
5819
 
 
5820
uchar to_upper_latin7_bin[] = {
 
5821
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5822
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5823
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5824
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5825
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5826
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5827
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5828
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5829
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
5830
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5831
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5832
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xBC,0xBD,0xBE,0xAF,
 
5833
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5834
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5835
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5836
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
5837
};
 
5838
 
 
5839
uint16 to_uni_latin7_bin[] = {
 
5840
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5841
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5842
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5843
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5844
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5845
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5846
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5847
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5848
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5849
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5850
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5851
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5852
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5853
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5854
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5855
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5856
0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
 
5857
0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
 
5858
0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
 
5859
0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
 
5860
0x00A0,0x201D,0x00A2,0x00A3,0x00A4,0x201E,0x00A6,0x00A7,
 
5861
0x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6,
 
5862
0x00B0,0x00B1,0x00B2,0x00B3,0x201C,0x00B5,0x00B6,0x00B7,
 
5863
0x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6,
 
5864
0x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112,
 
5865
0x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B,
 
5866
0x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7,
 
5867
0x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF,
 
5868
0x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113,
 
5869
0x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C,
 
5870
0x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7,
 
5871
0x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x2019
 
5872
};
 
5873
 
 
5874
#endif
 
5875
 
 
5876
#ifdef HAVE_CHARSET_cp850
 
5877
uchar ctype_cp850_bin[] = {
 
5878
0x00,
 
5879
0x20,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x30,0x30,
 
5880
0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x30,0x30,0x30,0x30,0x30,
 
5881
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5882
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5883
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5884
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5885
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5886
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x30,
 
5887
0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x01,
 
5888
0x01,0x02,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x01,0x02,0x10,0x01,0x10,0x10,
 
5889
0x02,0x02,0x02,0x02,0x02,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5890
0x10,0x10,0x10,0x10,0x10,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5891
0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5892
0x02,0x01,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x01,0x10,
 
5893
0x01,0x02,0x01,0x01,0x02,0x01,0x10,0x02,0x01,0x01,0x01,0x01,0x02,0x01,0x10,0x10,
 
5894
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20
 
5895
};
 
5896
 
 
5897
uchar to_lower_cp850_bin[] = {
 
5898
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5899
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5900
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5901
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5902
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5903
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5904
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5905
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5906
0x87,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x84,0x86,
 
5907
0x82,0x91,0x91,0x93,0x94,0x95,0x96,0x97,0x98,0x94,0x81,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5908
0xA0,0xA1,0xA2,0xA3,0xA4,0xA4,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5909
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5910
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5911
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5912
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5913
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5914
};
 
5915
 
 
5916
uchar to_upper_cp850_bin[] = {
 
5917
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5918
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5919
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5920
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5921
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5922
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
5923
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
5924
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
5925
0x80,0x9A,0x90,0x41,0x8E,0x41,0x8F,0x80,0x45,0x45,0x45,0x49,0x49,0x49,0x8E,0x8F,
 
5926
0x90,0x92,0x92,0x4F,0x99,0x4F,0x55,0x55,0x59,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
5927
0x41,0x49,0x4F,0x55,0xA5,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
5928
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
5929
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
5930
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
5931
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
5932
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
5933
};
 
5934
 
 
5935
uint16 to_uni_cp850_bin[] = {
 
5936
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
5937
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
5938
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
5939
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
5940
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
5941
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
5942
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
5943
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
5944
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
5945
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
5946
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
5947
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
5948
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
5949
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
5950
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
5951
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
5952
0x00C7,0x00FC,0x00E9,0x00E2,0x00E4,0x00E0,0x00E5,0x00E7,
 
5953
0x00EA,0x00EB,0x00E8,0x00EF,0x00EE,0x00EC,0x00C4,0x00C5,
 
5954
0x00C9,0x00E6,0x00C6,0x00F4,0x00F6,0x00F2,0x00FB,0x00F9,
 
5955
0x00FF,0x00D6,0x00DC,0x00F8,0x00A3,0x00D8,0x00D7,0x0192,
 
5956
0x00E1,0x00ED,0x00F3,0x00FA,0x00F1,0x00D1,0x00AA,0x00BA,
 
5957
0x00BF,0x00AE,0x00AC,0x00BD,0x00BC,0x00A1,0x00AB,0x00BB,
 
5958
0x2591,0x2592,0x2593,0x2502,0x2524,0x00C1,0x00C2,0x00C0,
 
5959
0x00A9,0x2563,0x2551,0x2557,0x255D,0x00A2,0x00A5,0x2510,
 
5960
0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x00E3,0x00C3,
 
5961
0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x00A4,
 
5962
0x00F0,0x00D0,0x00CA,0x00CB,0x00C8,0x0131,0x00CD,0x00CE,
 
5963
0x00CF,0x2518,0x250C,0x2588,0x2584,0x00A6,0x00CC,0x2580,
 
5964
0x00D3,0x00DF,0x00D4,0x00D2,0x00F5,0x00D5,0x00B5,0x00FE,
 
5965
0x00DE,0x00DA,0x00DB,0x00D9,0x00FD,0x00DD,0x00AF,0x00B4,
 
5966
0x00AD,0x00B1,0x2017,0x00BE,0x00B6,0x00A7,0x00F7,0x00B8,
 
5967
0x00B0,0x00A8,0x00B7,0x00B9,0x00B3,0x00B2,0x25A0,0x00A0
 
5968
};
 
5969
 
 
5970
#endif
 
5971
 
 
5972
#ifdef HAVE_CHARSET_cp852
 
5973
uchar ctype_cp852_bin[] = {
 
5974
0x00,
 
5975
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
5976
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
5977
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
5978
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
5979
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
5980
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
5981
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
5982
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
 
5983
0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x02,0x02,0x01,0x01,0x01,
 
5984
0x01,0x01,0x02,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x01,0x01,0x02,0x01,0x00,0x02,
 
5985
0x02,0x02,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x00,0x02,0x01,0x01,0x00,0x00,
 
5986
0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x02,0x00,
 
5987
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
5988
0x02,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x01,0x00,
 
5989
0x01,0x02,0x01,0x01,0x02,0x02,0x01,0x02,0x01,0x01,0x02,0x01,0x02,0x01,0x02,0x00,
 
5990
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x02,0x00,0x48
 
5991
};
 
5992
 
 
5993
uchar to_lower_cp852_bin[] = {
 
5994
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
5995
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
5996
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
5997
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
5998
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
5999
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6000
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6001
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6002
0x87,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8B,0x8B,0x8C,0xAB,0x84,0x86,
 
6003
0x82,0x92,0x92,0x93,0x94,0x96,0x96,0x98,0x98,0x94,0x81,0x9C,0x9C,0x88,0x9E,0x9F,
 
6004
0xA0,0xA1,0xA2,0xA3,0xA5,0xA5,0xA7,0xA7,0xA9,0xA9,0xAA,0xAB,0x9F,0xB8,0xAE,0xAF,
 
6005
0xB0,0xB1,0xB2,0xB3,0xB4,0xA0,0x83,0xD8,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF,
 
6006
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC7,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6007
0xD0,0xD0,0xD4,0x89,0xD4,0xE5,0xA1,0x8C,0xD8,0xD9,0xDA,0xDB,0xDC,0xEE,0x85,0xDF,
 
6008
0xA2,0xE1,0x93,0xE4,0xE4,0xE5,0xE7,0xE7,0xEA,0xA3,0xE8,0xFB,0xEC,0xEC,0xEE,0xEF,
 
6009
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6010
};
 
6011
 
 
6012
uchar to_upper_cp852_bin[] = {
 
6013
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6014
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6015
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6016
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6017
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6018
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6019
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6020
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6021
0x80,0x9A,0x90,0xB6,0x8E,0xDE,0x8F,0x80,0x9D,0xD3,0x8A,0x8A,0xD7,0x8D,0x8E,0x8F,
 
6022
0x90,0x91,0x91,0xE2,0x99,0x95,0x95,0x97,0x97,0x99,0x9A,0x9B,0x9B,0x9D,0x9E,0xAC,
 
6023
0xB5,0xD6,0xE0,0xE9,0xA4,0xA4,0xA6,0xA6,0xA8,0xA8,0xAA,0x8D,0xAC,0xAD,0xAE,0xAF,
 
6024
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xAD,0xB9,0xBA,0xBB,0xBC,0xBE,0xBD,0xBF,
 
6025
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC6,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6026
0xD1,0xD1,0xD2,0xD3,0xD2,0xD5,0xD6,0xD7,0xB7,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6027
0xE0,0xE1,0xE2,0xE3,0xE3,0xD5,0xE6,0xE6,0xE8,0xE9,0xE8,0xEB,0xED,0xED,0xDD,0xEF,
 
6028
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xEB,0xFC,0xFC,0xFE,0xFF
 
6029
};
 
6030
 
 
6031
uint16 to_uni_cp852_bin[] = {
 
6032
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
6033
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
6034
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
6035
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
6036
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
6037
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
6038
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
6039
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
6040
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
6041
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
6042
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
6043
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
6044
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
6045
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
6046
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
6047
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
6048
0x00C7,0x00FC,0x00E9,0x00E2,0x00E4,0x016F,0x0107,0x00E7,
 
6049
0x0142,0x00EB,0x0150,0x0151,0x00EE,0x0179,0x00C4,0x0106,
 
6050
0x00C9,0x0139,0x013A,0x00F4,0x00F6,0x013D,0x013E,0x015A,
 
6051
0x015B,0x00D6,0x00DC,0x0164,0x0165,0x0141,0x00D7,0x010D,
 
6052
0x00E1,0x00ED,0x00F3,0x00FA,0x0104,0x0105,0x017D,0x017E,
 
6053
0x0118,0x0119,0x00AC,0x017A,0x010C,0x015F,0x00AB,0x00BB,
 
6054
0x2591,0x2592,0x2593,0x2502,0x2524,0x00C1,0x00C2,0x011A,
 
6055
0x015E,0x2563,0x2551,0x2557,0x255D,0x017B,0x017C,0x2510,
 
6056
0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x0102,0x0103,
 
6057
0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x00A4,
 
6058
0x0111,0x0110,0x010E,0x00CB,0x010F,0x0147,0x00CD,0x00CE,
 
6059
0x011B,0x2518,0x250C,0x2588,0x2584,0x0162,0x016E,0x2580,
 
6060
0x00D3,0x00DF,0x00D4,0x0143,0x0144,0x0148,0x0160,0x0161,
 
6061
0x0154,0x00DA,0x0155,0x0170,0x00FD,0x00DD,0x0163,0x00B4,
 
6062
0x00AD,0x02DD,0x02DB,0x02C7,0x02D8,0x00A7,0x00F7,0x00B8,
 
6063
0x00B0,0x00A8,0x02D9,0x0171,0x0158,0x0159,0x25A0,0x00A0
 
6064
};
 
6065
 
 
6066
#endif
 
6067
 
 
6068
#ifdef HAVE_CHARSET_swe7
 
6069
uchar ctype_swe7_bin[] = {
 
6070
0x00,
 
6071
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
6072
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
6073
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
6074
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
6075
0x01,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
6076
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,
 
6077
0x01,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
6078
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x20,
 
6079
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6080
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6081
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6082
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6083
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6084
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6085
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6086
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
 
6087
};
 
6088
 
 
6089
uchar to_lower_swe7_bin[] = {
 
6090
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6091
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6092
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6093
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6094
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6095
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x5F,
 
6096
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6097
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6098
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6099
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6100
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6101
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
6102
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6103
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6104
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6105
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6106
};
 
6107
 
 
6108
uchar to_upper_swe7_bin[] = {
 
6109
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6110
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6111
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6112
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6113
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6114
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6115
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6116
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x7F,
 
6117
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6118
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6119
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6120
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
6121
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6122
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6123
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6124
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6125
};
 
6126
 
 
6127
uint16 to_uni_swe7_bin[] = {
 
6128
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
6129
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
6130
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
6131
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
6132
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
6133
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
6134
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
6135
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
6136
0x00C9,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
6137
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
6138
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
6139
0x0058,0x0059,0x005A,0x00C4,0x00D6,0x00C5,0x00DC,0x005F,
 
6140
0x00E9,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
6141
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
6142
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
6143
0x0078,0x0079,0x007A,0x00E4,0x00F6,0x00E5,0x00FC,0x0000,
 
6144
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6145
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6146
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6147
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6148
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6149
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6150
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6151
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6152
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6153
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6154
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6155
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6156
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6157
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6158
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6159
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
 
6160
};
 
6161
 
 
6162
#endif
 
6163
 
 
6164
#ifdef HAVE_CHARSET_geostd8
 
6165
uchar ctype_geostd8_general_ci[] = {
 
6166
0x00,
 
6167
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
6168
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
6169
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
6170
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
6171
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
6172
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
6173
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
6174
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
6175
0x00,0x00,0x10,0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x00,0x10,0x00,0x00,0x00,0x00,
 
6176
0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,
 
6177
0x48,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6178
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6179
0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
 
6180
0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
 
6181
0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6182
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
 
6183
};
 
6184
 
 
6185
uchar to_lower_geostd8_general_ci[] = {
 
6186
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6187
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6188
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6189
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6190
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6191
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6192
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6193
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6194
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6195
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6196
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6197
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
6198
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6199
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6200
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6201
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6202
};
 
6203
 
 
6204
uchar to_upper_geostd8_general_ci[] = {
 
6205
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6206
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6207
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6208
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6209
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6210
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6211
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6212
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6213
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6214
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6215
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6216
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
6217
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6218
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6219
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6220
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6221
};
 
6222
 
 
6223
uchar sort_order_geostd8_general_ci[] = {
 
6224
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6225
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6226
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6227
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6228
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6229
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6230
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6231
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6232
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6233
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6234
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6235
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
6236
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6237
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6238
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6239
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6240
};
 
6241
 
 
6242
uint16 to_uni_geostd8_general_ci[] = {
 
6243
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
6244
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
6245
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
6246
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
6247
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
6248
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
6249
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
6250
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
6251
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
6252
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
6253
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
6254
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
6255
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
6256
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
6257
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
6258
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
6259
0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
 
6260
0x0000,0x2030,0x0000,0x2039,0x0000,0x0000,0x0000,0x0000,
 
6261
0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
6262
0x0000,0x0000,0x0000,0x203A,0x0000,0x0000,0x0000,0x0000,
 
6263
0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
6264
0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
6265
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
6266
0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
 
6267
0x10D0,0x10D1,0x10D2,0x10D3,0x10D4,0x10D5,0x10D6,0x10F1,
 
6268
0x10D7,0x10D8,0x10D9,0x10DA,0x10DB,0x10DC,0x10F2,0x10DD,
 
6269
0x10DE,0x10DF,0x10E0,0x10E1,0x10E2,0x10F3,0x10E3,0x10E4,
 
6270
0x10E5,0x10E6,0x10E7,0x10E8,0x10E9,0x10EA,0x10EB,0x10EC,
 
6271
0x10ED,0x10EE,0x10F4,0x10EF,0x10F0,0x10F5,0x0000,0x0000,
 
6272
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6273
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6274
0x0000,0x0000,0x0000,0x0000,0x0000,0x2116,0x0000,0x0000
 
6275
};
 
6276
 
 
6277
#endif
 
6278
 
 
6279
#ifdef HAVE_CHARSET_geostd8
 
6280
uchar ctype_geostd8_bin[] = {
 
6281
0x00,
 
6282
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
6283
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
6284
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
6285
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
6286
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
6287
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
6288
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
6289
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
6290
0x00,0x00,0x10,0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x00,0x10,0x00,0x00,0x00,0x00,
 
6291
0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,
 
6292
0x48,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6293
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6294
0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
 
6295
0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
 
6296
0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
 
6297
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
 
6298
};
 
6299
 
 
6300
uchar to_lower_geostd8_bin[] = {
 
6301
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6302
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6303
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6304
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6305
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6306
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6307
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6308
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6309
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6310
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6311
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6312
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
6313
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6314
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6315
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6316
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6317
};
 
6318
 
 
6319
uchar to_upper_geostd8_bin[] = {
 
6320
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6321
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6322
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6323
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6324
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6325
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6326
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6327
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6328
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6329
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6330
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6331
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
6332
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6333
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6334
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6335
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6336
};
 
6337
 
 
6338
uint16 to_uni_geostd8_bin[] = {
 
6339
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
6340
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
6341
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
6342
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
6343
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
6344
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
6345
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
6346
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
6347
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
6348
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
6349
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
6350
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
6351
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
6352
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
6353
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
6354
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
6355
0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
 
6356
0x0000,0x2030,0x0000,0x2039,0x0000,0x0000,0x0000,0x0000,
 
6357
0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
6358
0x0000,0x0000,0x0000,0x203A,0x0000,0x0000,0x0000,0x0000,
 
6359
0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
6360
0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
6361
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
6362
0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
 
6363
0x10D0,0x10D1,0x10D2,0x10D3,0x10D4,0x10D5,0x10D6,0x10F1,
 
6364
0x10D7,0x10D8,0x10D9,0x10DA,0x10DB,0x10DC,0x10F2,0x10DD,
 
6365
0x10DE,0x10DF,0x10E0,0x10E1,0x10E2,0x10F3,0x10E3,0x10E4,
 
6366
0x10E5,0x10E6,0x10E7,0x10E8,0x10E9,0x10EA,0x10EB,0x10EC,
 
6367
0x10ED,0x10EE,0x10F4,0x10EF,0x10F0,0x10F5,0x0000,0x0000,
 
6368
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6369
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
 
6370
0x0000,0x0000,0x0000,0x0000,0x0000,0x2116,0x0000,0x0000
 
6371
};
 
6372
 
 
6373
#endif
 
6374
 
 
6375
#ifdef HAVE_CHARSET_latin1
 
6376
uchar ctype_latin1_spanish_ci[] = {
 
6377
0x00,
 
6378
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
6379
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
6380
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
6381
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
6382
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
6383
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
6384
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
6385
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
6386
0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
 
6387
0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
 
6388
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
6389
0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
6390
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
6391
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
6392
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
6393
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
 
6394
};
 
6395
 
 
6396
uchar to_lower_latin1_spanish_ci[] = {
 
6397
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6398
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6399
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6400
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6401
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6402
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6403
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6404
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6405
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6406
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6407
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6408
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
6409
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6410
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
6411
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6412
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6413
};
 
6414
 
 
6415
uchar to_upper_latin1_spanish_ci[] = {
 
6416
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6417
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6418
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6419
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6420
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6421
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6422
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6423
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6424
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6425
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6426
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6427
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
 
6428
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6429
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6430
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6431
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
6432
};
 
6433
 
 
6434
uchar sort_order_latin1_spanish_ci[] = {
 
6435
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6436
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6437
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6438
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6439
0x40,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
 
6440
0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB3,0xB4,0xB5,0xB6,0xB7,
 
6441
0xB8,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
 
6442
0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB9,0xBA,0xBB,0xBC,0xBF,
 
6443
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6444
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6445
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6446
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
 
6447
0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x53,0x5B,0x5B,0x5B,0x5B,0x6B,0x6B,0x6B,0x6B,
 
6448
0x57,0x7F,0x81,0x81,0x81,0x81,0x81,0xBD,0x81,0x9A,0x9A,0x9A,0x9A,0xAA,0xB1,0x97,
 
6449
0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x53,0x5B,0x5B,0x5B,0x5B,0x6B,0x6B,0x6B,0x6B,
 
6450
0x57,0x7F,0x81,0x81,0x81,0x81,0x81,0xBE,0x81,0x9A,0x9A,0x9A,0x9A,0xAA,0xB1,0xAA
 
6451
};
 
6452
 
 
6453
uint16 to_uni_latin1_spanish_ci[] = {
 
6454
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
6455
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
6456
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
6457
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
6458
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
6459
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
6460
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
6461
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
6462
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
6463
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
6464
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
6465
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
6466
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
6467
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
6468
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
6469
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
6470
0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
 
6471
0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
 
6472
0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
6473
0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
 
6474
0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
 
6475
0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
 
6476
0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
 
6477
0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
 
6478
0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
 
6479
0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
 
6480
0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
 
6481
0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
 
6482
0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
 
6483
0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
 
6484
0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
 
6485
0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF
 
6486
};
 
6487
 
 
6488
#endif
 
6489
 
 
6490
#ifdef HAVE_CHARSET_cp1250
 
6491
uchar ctype_cp1250_polish_ci[] = {
 
6492
0x00,
 
6493
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
 
6494
0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
 
6495
0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
 
6496
0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
 
6497
0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
6498
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
 
6499
0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
6500
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
 
6501
0x20,0x20,0x10,0x20,0x10,0x10,0x10,0x10,0x20,0x10,0x01,0x10,0x01,0x01,0x01,0x01,
 
6502
0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x10,0x02,0x10,0x02,0x02,0x02,0x02,
 
6503
0x48,0x10,0x10,0x01,0x10,0x01,0x10,0x01,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
 
6504
0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x02,0x10,0x01,0x10,0x02,0x02,
 
6505
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
 
6506
0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
 
6507
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
 
6508
0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
 
6509
};
 
6510
 
 
6511
uchar to_lower_cp1250_polish_ci[] = {
 
6512
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6513
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6514
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6515
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6516
0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6517
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6518
0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
 
6519
0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6520
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
 
6521
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
 
6522
0xA0,0xA1,0xA2,0xB3,0xA4,0xB9,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
 
6523
0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBE,0xBD,0xBE,0xBF,
 
6524
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6525
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
 
6526
0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
 
6527
0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
 
6528
};
 
6529
 
 
6530
uchar to_upper_cp1250_polish_ci[] = {
 
6531
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6532
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6533
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6534
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6535
0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6536
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
 
6537
0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
 
6538
0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
 
6539
0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
 
6540
0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x8D,0x8E,0x8F,
 
6541
0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
 
6542
0xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xA5,0xAA,0xBB,0xBC,0xBD,0xBC,0xAF,
 
6543
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6544
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
 
6545
0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
 
6546
0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
 
6547
};
 
6548
 
 
6549
uchar sort_order_cp1250_polish_ci[] = {
 
6550
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
 
6551
0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
 
6552
0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
 
6553
0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
 
6554
0x40,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
 
6555
0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x90,0x91,0x92,0x93,0x94,
 
6556
0x95,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
 
6557
0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x96,0x97,0x98,0x99,0x9A,
 
6558
0x9B,0x9C,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x5F,0xA6,0x60,0x62,0x6B,0x6C,
 
6559
0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0x5F,0xB1,0x60,0x62,0x6B,0x6C,
 
6560
0xB2,0xB3,0xB4,0x55,0xB5,0x42,0xB6,0xB7,0xB8,0xB9,0x5F,0xBA,0xBB,0xBC,0xBD,0x6D,
 
6561
0xBE,0xBF,0xC0,0x55,0xC1,0xC2,0xC3,0xC4,0xC5,0x42,0x5F,0xC6,0x54,0xC7,0x54,0x6D,
 
6562
0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x44,0x4B,0x4C,0x4B,0x4B,0x50,0x50,0x48,
 
6563
0x48,0x58,0x57,0x5A,0x59,0x59,0x59,0xC8,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0x5F,
 
6564
0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x44,0x4B,0x4C,0x4B,0x4B,0x50,0x50,0x48,
 
6565
0x48,0x58,0x57,0x5A,0x59,0x59,0x59,0xC9,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0xFF
 
6566
};
 
6567
 
 
6568
uint16 to_uni_cp1250_polish_ci[] = {
 
6569
0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
 
6570
0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
 
6571
0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
 
6572
0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
 
6573
0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
 
6574
0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
 
6575
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
 
6576
0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
 
6577
0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
 
6578
0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
 
6579
0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
 
6580
0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
 
6581
0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
 
6582
0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
 
6583
0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
 
6584
0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
 
6585
0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
 
6586
0x0000,0x2030,0x0160,0x2039,0x015A,0x0164,0x017D,0x0179,
 
6587
0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
 
6588
0x0000,0x2122,0x0161,0x203A,0x015B,0x0165,0x017E,0x017A,
 
6589
0x00A0,0x02C7,0x02D8,0x0141,0x00A4,0x0104,0x00A6,0x00A7,
 
6590
0x00A8,0x00A9,0x015E,0x00AB,0x00AC,0x00AD,0x00AE,0x017B,
 
6591
0x00B0,0x00B1,0x02DB,0x0142,0x00B4,0x00B5,0x00B6,0x00B7,
 
6592
0x00B8,0x0105,0x015F,0x00BB,0x013D,0x02DD,0x013E,0x017C,
 
6593
0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
 
6594
0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
 
6595
0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
 
6596
0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
 
6597
0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
 
6598
0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
 
6599
0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
 
6600
0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
 
6601
};
 
6602
 
 
6603
#endif
 
6604
 
 
6605
CHARSET_INFO compiled_charsets[] = {
 
6606
#ifdef HAVE_CHARSET_dec8
 
6607
{
 
6608
  3,0,0,
 
6609
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
6610
  "dec8",                     /* cset name     */
 
6611
  "dec8_swedish_ci",                     /* coll name     */
 
6612
  "",                       /* comment       */
 
6613
  NULL,                       /* tailoring     */
 
6614
  ctype_dec8_swedish_ci,                   /* ctype         */
 
6615
  to_lower_dec8_swedish_ci,                /* lower         */
 
6616
  to_upper_dec8_swedish_ci,                /* upper         */
 
6617
  sort_order_dec8_swedish_ci,            /* sort_order    */
 
6618
  NULL,                       /* contractions  */
 
6619
  NULL,                       /* sort_order_big*/
 
6620
  to_uni_dec8_swedish_ci,                  /* to_uni        */
 
6621
  NULL,                       /* from_uni      */
 
6622
  my_unicase_default,         /* caseinfo      */
 
6623
  NULL,                       /* state map     */
 
6624
  NULL,                       /* ident map     */
 
6625
  1,                          /* strxfrm_multiply*/
 
6626
  1,                          /* caseup_multiply*/
 
6627
  1,                          /* casedn_multiply*/
 
6628
  1,                          /* mbminlen      */
 
6629
  1,                          /* mbmaxlen      */
 
6630
  0,                          /* min_sort_char */
 
6631
  255,                        /* max_sort_char */
 
6632
  ' ',                        /* pad_char      */
 
6633
  0,                          /* escape_with_backslash_is_dangerous */
 
6634
  &my_charset_8bit_handler,
 
6635
  &my_collation_8bit_simple_ci_handler,
 
6636
}
 
6637
,
 
6638
#endif
 
6639
#ifdef HAVE_CHARSET_cp850
 
6640
{
 
6641
  4,0,0,
 
6642
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
6643
  "cp850",                     /* cset name     */
 
6644
  "cp850_general_ci",                     /* coll name     */
 
6645
  "",                       /* comment       */
 
6646
  NULL,                       /* tailoring     */
 
6647
  ctype_cp850_general_ci,                   /* ctype         */
 
6648
  to_lower_cp850_general_ci,                /* lower         */
 
6649
  to_upper_cp850_general_ci,                /* upper         */
 
6650
  sort_order_cp850_general_ci,            /* sort_order    */
 
6651
  NULL,                       /* contractions  */
 
6652
  NULL,                       /* sort_order_big*/
 
6653
  to_uni_cp850_general_ci,                  /* to_uni        */
 
6654
  NULL,                       /* from_uni      */
 
6655
  my_unicase_default,         /* caseinfo      */
 
6656
  NULL,                       /* state map     */
 
6657
  NULL,                       /* ident map     */
 
6658
  1,                          /* strxfrm_multiply*/
 
6659
  1,                          /* caseup_multiply*/
 
6660
  1,                          /* casedn_multiply*/
 
6661
  1,                          /* mbminlen      */
 
6662
  1,                          /* mbmaxlen      */
 
6663
  0,                          /* min_sort_char */
 
6664
  255,                        /* max_sort_char */
 
6665
  ' ',                        /* pad_char      */
 
6666
  0,                          /* escape_with_backslash_is_dangerous */
 
6667
  &my_charset_8bit_handler,
 
6668
  &my_collation_8bit_simple_ci_handler,
 
6669
}
 
6670
,
 
6671
#endif
 
6672
#ifdef HAVE_CHARSET_latin1
 
6673
{
 
6674
  5,0,0,
 
6675
  MY_CS_COMPILED,
 
6676
  "latin1",                     /* cset name     */
 
6677
  "latin1_german1_ci",                     /* coll name     */
 
6678
  "",                       /* comment       */
 
6679
  NULL,                       /* tailoring     */
 
6680
  ctype_latin1_german1_ci,                   /* ctype         */
 
6681
  to_lower_latin1_german1_ci,                /* lower         */
 
6682
  to_upper_latin1_german1_ci,                /* upper         */
 
6683
  sort_order_latin1_german1_ci,            /* sort_order    */
 
6684
  NULL,                       /* contractions  */
 
6685
  NULL,                       /* sort_order_big*/
 
6686
  to_uni_latin1_german1_ci,                  /* to_uni        */
 
6687
  NULL,                       /* from_uni      */
 
6688
  my_unicase_default,         /* caseinfo      */
 
6689
  NULL,                       /* state map     */
 
6690
  NULL,                       /* ident map     */
 
6691
  1,                          /* strxfrm_multiply*/
 
6692
  1,                          /* caseup_multiply*/
 
6693
  1,                          /* casedn_multiply*/
 
6694
  1,                          /* mbminlen      */
 
6695
  1,                          /* mbmaxlen      */
 
6696
  0,                          /* min_sort_char */
 
6697
  255,                        /* max_sort_char */
 
6698
  ' ',                        /* pad_char      */
 
6699
  0,                          /* escape_with_backslash_is_dangerous */
 
6700
  &my_charset_8bit_handler,
 
6701
  &my_collation_8bit_simple_ci_handler,
 
6702
}
 
6703
,
 
6704
#endif
 
6705
#ifdef HAVE_CHARSET_hp8
 
6706
{
 
6707
  6,0,0,
 
6708
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
6709
  "hp8",                     /* cset name     */
 
6710
  "hp8_english_ci",                     /* coll name     */
 
6711
  "",                       /* comment       */
 
6712
  NULL,                       /* tailoring     */
 
6713
  ctype_hp8_english_ci,                   /* ctype         */
 
6714
  to_lower_hp8_english_ci,                /* lower         */
 
6715
  to_upper_hp8_english_ci,                /* upper         */
 
6716
  sort_order_hp8_english_ci,            /* sort_order    */
 
6717
  NULL,                       /* contractions  */
 
6718
  NULL,                       /* sort_order_big*/
 
6719
  to_uni_hp8_english_ci,                  /* to_uni        */
 
6720
  NULL,                       /* from_uni      */
 
6721
  my_unicase_default,         /* caseinfo      */
 
6722
  NULL,                       /* state map     */
 
6723
  NULL,                       /* ident map     */
 
6724
  1,                          /* strxfrm_multiply*/
 
6725
  1,                          /* caseup_multiply*/
 
6726
  1,                          /* casedn_multiply*/
 
6727
  1,                          /* mbminlen      */
 
6728
  1,                          /* mbmaxlen      */
 
6729
  0,                          /* min_sort_char */
 
6730
  255,                        /* max_sort_char */
 
6731
  ' ',                        /* pad_char      */
 
6732
  0,                          /* escape_with_backslash_is_dangerous */
 
6733
  &my_charset_8bit_handler,
 
6734
  &my_collation_8bit_simple_ci_handler,
 
6735
}
 
6736
,
 
6737
#endif
 
6738
#ifdef HAVE_CHARSET_koi8r
 
6739
{
 
6740
  7,0,0,
 
6741
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
6742
  "koi8r",                     /* cset name     */
 
6743
  "koi8r_general_ci",                     /* coll name     */
 
6744
  "",                       /* comment       */
 
6745
  NULL,                       /* tailoring     */
 
6746
  ctype_koi8r_general_ci,                   /* ctype         */
 
6747
  to_lower_koi8r_general_ci,                /* lower         */
 
6748
  to_upper_koi8r_general_ci,                /* upper         */
 
6749
  sort_order_koi8r_general_ci,            /* sort_order    */
 
6750
  NULL,                       /* contractions  */
 
6751
  NULL,                       /* sort_order_big*/
 
6752
  to_uni_koi8r_general_ci,                  /* to_uni        */
 
6753
  NULL,                       /* from_uni      */
 
6754
  my_unicase_default,         /* caseinfo      */
 
6755
  NULL,                       /* state map     */
 
6756
  NULL,                       /* ident map     */
 
6757
  1,                          /* strxfrm_multiply*/
 
6758
  1,                          /* caseup_multiply*/
 
6759
  1,                          /* casedn_multiply*/
 
6760
  1,                          /* mbminlen      */
 
6761
  1,                          /* mbmaxlen      */
 
6762
  0,                          /* min_sort_char */
 
6763
  255,                        /* max_sort_char */
 
6764
  ' ',                        /* pad_char      */
 
6765
  0,                          /* escape_with_backslash_is_dangerous */
 
6766
  &my_charset_8bit_handler,
 
6767
  &my_collation_8bit_simple_ci_handler,
 
6768
}
 
6769
,
 
6770
#endif
 
6771
#ifdef HAVE_CHARSET_latin2
 
6772
{
 
6773
  9,0,0,
 
6774
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
6775
  "latin2",                     /* cset name     */
 
6776
  "latin2_general_ci",                     /* coll name     */
 
6777
  "",                       /* comment       */
 
6778
  NULL,                       /* tailoring     */
 
6779
  ctype_latin2_general_ci,                   /* ctype         */
 
6780
  to_lower_latin2_general_ci,                /* lower         */
 
6781
  to_upper_latin2_general_ci,                /* upper         */
 
6782
  sort_order_latin2_general_ci,            /* sort_order    */
 
6783
  NULL,                       /* contractions  */
 
6784
  NULL,                       /* sort_order_big*/
 
6785
  to_uni_latin2_general_ci,                  /* to_uni        */
 
6786
  NULL,                       /* from_uni      */
 
6787
  my_unicase_default,         /* caseinfo      */
 
6788
  NULL,                       /* state map     */
 
6789
  NULL,                       /* ident map     */
 
6790
  1,                          /* strxfrm_multiply*/
 
6791
  1,                          /* caseup_multiply*/
 
6792
  1,                          /* casedn_multiply*/
 
6793
  1,                          /* mbminlen      */
 
6794
  1,                          /* mbmaxlen      */
 
6795
  0,                          /* min_sort_char */
 
6796
  255,                        /* max_sort_char */
 
6797
  ' ',                        /* pad_char      */
 
6798
  0,                          /* escape_with_backslash_is_dangerous */
 
6799
  &my_charset_8bit_handler,
 
6800
  &my_collation_8bit_simple_ci_handler,
 
6801
}
 
6802
,
 
6803
#endif
 
6804
#ifdef HAVE_CHARSET_swe7
 
6805
{
 
6806
  10,0,0,
 
6807
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
6808
  "swe7",                     /* cset name     */
 
6809
  "swe7_swedish_ci",                     /* coll name     */
 
6810
  "",                       /* comment       */
 
6811
  NULL,                       /* tailoring     */
 
6812
  ctype_swe7_swedish_ci,                   /* ctype         */
 
6813
  to_lower_swe7_swedish_ci,                /* lower         */
 
6814
  to_upper_swe7_swedish_ci,                /* upper         */
 
6815
  sort_order_swe7_swedish_ci,            /* sort_order    */
 
6816
  NULL,                       /* contractions  */
 
6817
  NULL,                       /* sort_order_big*/
 
6818
  to_uni_swe7_swedish_ci,                  /* to_uni        */
 
6819
  NULL,                       /* from_uni      */
 
6820
  my_unicase_default,         /* caseinfo      */
 
6821
  NULL,                       /* state map     */
 
6822
  NULL,                       /* ident map     */
 
6823
  1,                          /* strxfrm_multiply*/
 
6824
  1,                          /* caseup_multiply*/
 
6825
  1,                          /* casedn_multiply*/
 
6826
  1,                          /* mbminlen      */
 
6827
  1,                          /* mbmaxlen      */
 
6828
  0,                          /* min_sort_char */
 
6829
  255,                        /* max_sort_char */
 
6830
  ' ',                        /* pad_char      */
 
6831
  0,                          /* escape_with_backslash_is_dangerous */
 
6832
  &my_charset_8bit_handler,
 
6833
  &my_collation_8bit_simple_ci_handler,
 
6834
}
 
6835
,
 
6836
#endif
 
6837
#ifdef HAVE_CHARSET_ascii
 
6838
{
 
6839
  11,0,0,
 
6840
  MY_CS_COMPILED|MY_CS_PRIMARY|MY_CS_PUREASCII,
 
6841
  "ascii",                     /* cset name     */
 
6842
  "ascii_general_ci",                     /* coll name     */
 
6843
  "",                       /* comment       */
 
6844
  NULL,                       /* tailoring     */
 
6845
  ctype_ascii_general_ci,                   /* ctype         */
 
6846
  to_lower_ascii_general_ci,                /* lower         */
 
6847
  to_upper_ascii_general_ci,                /* upper         */
 
6848
  sort_order_ascii_general_ci,            /* sort_order    */
 
6849
  NULL,                       /* contractions  */
 
6850
  NULL,                       /* sort_order_big*/
 
6851
  to_uni_ascii_general_ci,                  /* to_uni        */
 
6852
  NULL,                       /* from_uni      */
 
6853
  my_unicase_default,         /* caseinfo      */
 
6854
  NULL,                       /* state map     */
 
6855
  NULL,                       /* ident map     */
 
6856
  1,                          /* strxfrm_multiply*/
 
6857
  1,                          /* caseup_multiply*/
 
6858
  1,                          /* casedn_multiply*/
 
6859
  1,                          /* mbminlen      */
 
6860
  1,                          /* mbmaxlen      */
 
6861
  0,                          /* min_sort_char */
 
6862
  255,                        /* max_sort_char */
 
6863
  ' ',                        /* pad_char      */
 
6864
  0,                          /* escape_with_backslash_is_dangerous */
 
6865
  &my_charset_8bit_handler,
 
6866
  &my_collation_8bit_simple_ci_handler,
 
6867
}
 
6868
,
 
6869
#endif
 
6870
#ifdef HAVE_CHARSET_cp1251
 
6871
{
 
6872
  14,0,0,
 
6873
  MY_CS_COMPILED,
 
6874
  "cp1251",                     /* cset name     */
 
6875
  "cp1251_bulgarian_ci",                     /* coll name     */
 
6876
  "",                       /* comment       */
 
6877
  NULL,                       /* tailoring     */
 
6878
  ctype_cp1251_bulgarian_ci,                   /* ctype         */
 
6879
  to_lower_cp1251_bulgarian_ci,                /* lower         */
 
6880
  to_upper_cp1251_bulgarian_ci,                /* upper         */
 
6881
  sort_order_cp1251_bulgarian_ci,            /* sort_order    */
 
6882
  NULL,                       /* contractions  */
 
6883
  NULL,                       /* sort_order_big*/
 
6884
  to_uni_cp1251_bulgarian_ci,                  /* to_uni        */
 
6885
  NULL,                       /* from_uni      */
 
6886
  my_unicase_default,         /* caseinfo      */
 
6887
  NULL,                       /* state map     */
 
6888
  NULL,                       /* ident map     */
 
6889
  1,                          /* strxfrm_multiply*/
 
6890
  1,                          /* caseup_multiply*/
 
6891
  1,                          /* casedn_multiply*/
 
6892
  1,                          /* mbminlen      */
 
6893
  1,                          /* mbmaxlen      */
 
6894
  0,                          /* min_sort_char */
 
6895
  255,                        /* max_sort_char */
 
6896
  ' ',                        /* pad_char      */
 
6897
  0,                          /* escape_with_backslash_is_dangerous */
 
6898
  &my_charset_8bit_handler,
 
6899
  &my_collation_8bit_simple_ci_handler,
 
6900
}
 
6901
,
 
6902
#endif
 
6903
#ifdef HAVE_CHARSET_latin1
 
6904
{
 
6905
  15,0,0,
 
6906
  MY_CS_COMPILED,
 
6907
  "latin1",                     /* cset name     */
 
6908
  "latin1_danish_ci",                     /* coll name     */
 
6909
  "",                       /* comment       */
 
6910
  NULL,                       /* tailoring     */
 
6911
  ctype_latin1_danish_ci,                   /* ctype         */
 
6912
  to_lower_latin1_danish_ci,                /* lower         */
 
6913
  to_upper_latin1_danish_ci,                /* upper         */
 
6914
  sort_order_latin1_danish_ci,            /* sort_order    */
 
6915
  NULL,                       /* contractions  */
 
6916
  NULL,                       /* sort_order_big*/
 
6917
  to_uni_latin1_danish_ci,                  /* to_uni        */
 
6918
  NULL,                       /* from_uni      */
 
6919
  my_unicase_default,         /* caseinfo      */
 
6920
  NULL,                       /* state map     */
 
6921
  NULL,                       /* ident map     */
 
6922
  1,                          /* strxfrm_multiply*/
 
6923
  1,                          /* caseup_multiply*/
 
6924
  1,                          /* casedn_multiply*/
 
6925
  1,                          /* mbminlen      */
 
6926
  1,                          /* mbmaxlen      */
 
6927
  0,                          /* min_sort_char */
 
6928
  255,                        /* max_sort_char */
 
6929
  ' ',                        /* pad_char      */
 
6930
  0,                          /* escape_with_backslash_is_dangerous */
 
6931
  &my_charset_8bit_handler,
 
6932
  &my_collation_8bit_simple_ci_handler,
 
6933
}
 
6934
,
 
6935
#endif
 
6936
#ifdef HAVE_CHARSET_hebrew
 
6937
{
 
6938
  16,0,0,
 
6939
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
6940
  "hebrew",                     /* cset name     */
 
6941
  "hebrew_general_ci",                     /* coll name     */
 
6942
  "",                       /* comment       */
 
6943
  NULL,                       /* tailoring     */
 
6944
  ctype_hebrew_general_ci,                   /* ctype         */
 
6945
  to_lower_hebrew_general_ci,                /* lower         */
 
6946
  to_upper_hebrew_general_ci,                /* upper         */
 
6947
  sort_order_hebrew_general_ci,            /* sort_order    */
 
6948
  NULL,                       /* contractions  */
 
6949
  NULL,                       /* sort_order_big*/
 
6950
  to_uni_hebrew_general_ci,                  /* to_uni        */
 
6951
  NULL,                       /* from_uni      */
 
6952
  my_unicase_default,         /* caseinfo      */
 
6953
  NULL,                       /* state map     */
 
6954
  NULL,                       /* ident map     */
 
6955
  1,                          /* strxfrm_multiply*/
 
6956
  1,                          /* caseup_multiply*/
 
6957
  1,                          /* casedn_multiply*/
 
6958
  1,                          /* mbminlen      */
 
6959
  1,                          /* mbmaxlen      */
 
6960
  0,                          /* min_sort_char */
 
6961
  255,                        /* max_sort_char */
 
6962
  ' ',                        /* pad_char      */
 
6963
  0,                          /* escape_with_backslash_is_dangerous */
 
6964
  &my_charset_8bit_handler,
 
6965
  &my_collation_8bit_simple_ci_handler,
 
6966
}
 
6967
,
 
6968
#endif
 
6969
#ifdef HAVE_CHARSET_latin7
 
6970
{
 
6971
  20,0,0,
 
6972
  MY_CS_COMPILED|MY_CS_CSSORT,
 
6973
  "latin7",                     /* cset name     */
 
6974
  "latin7_estonian_cs",                     /* coll name     */
 
6975
  "",                       /* comment       */
 
6976
  NULL,                       /* tailoring     */
 
6977
  ctype_latin7_estonian_cs,                   /* ctype         */
 
6978
  to_lower_latin7_estonian_cs,                /* lower         */
 
6979
  to_upper_latin7_estonian_cs,                /* upper         */
 
6980
  sort_order_latin7_estonian_cs,            /* sort_order    */
 
6981
  NULL,                       /* contractions  */
 
6982
  NULL,                       /* sort_order_big*/
 
6983
  to_uni_latin7_estonian_cs,                  /* to_uni        */
 
6984
  NULL,                       /* from_uni      */
 
6985
  my_unicase_default,         /* caseinfo      */
 
6986
  NULL,                       /* state map     */
 
6987
  NULL,                       /* ident map     */
 
6988
  1,                          /* strxfrm_multiply*/
 
6989
  1,                          /* caseup_multiply*/
 
6990
  1,                          /* casedn_multiply*/
 
6991
  1,                          /* mbminlen      */
 
6992
  1,                          /* mbmaxlen      */
 
6993
  0,                          /* min_sort_char */
 
6994
  255,                        /* max_sort_char */
 
6995
  ' ',                        /* pad_char      */
 
6996
  0,                          /* escape_with_backslash_is_dangerous */
 
6997
  &my_charset_8bit_handler,
 
6998
  &my_collation_8bit_simple_ci_handler,
 
6999
}
 
7000
,
 
7001
#endif
 
7002
#ifdef HAVE_CHARSET_latin2
 
7003
{
 
7004
  21,0,0,
 
7005
  MY_CS_COMPILED,
 
7006
  "latin2",                     /* cset name     */
 
7007
  "latin2_hungarian_ci",                     /* coll name     */
 
7008
  "",                       /* comment       */
 
7009
  NULL,                       /* tailoring     */
 
7010
  ctype_latin2_hungarian_ci,                   /* ctype         */
 
7011
  to_lower_latin2_hungarian_ci,                /* lower         */
 
7012
  to_upper_latin2_hungarian_ci,                /* upper         */
 
7013
  sort_order_latin2_hungarian_ci,            /* sort_order    */
 
7014
  NULL,                       /* contractions  */
 
7015
  NULL,                       /* sort_order_big*/
 
7016
  to_uni_latin2_hungarian_ci,                  /* to_uni        */
 
7017
  NULL,                       /* from_uni      */
 
7018
  my_unicase_default,         /* caseinfo      */
 
7019
  NULL,                       /* state map     */
 
7020
  NULL,                       /* ident map     */
 
7021
  1,                          /* strxfrm_multiply*/
 
7022
  1,                          /* caseup_multiply*/
 
7023
  1,                          /* casedn_multiply*/
 
7024
  1,                          /* mbminlen      */
 
7025
  1,                          /* mbmaxlen      */
 
7026
  0,                          /* min_sort_char */
 
7027
  255,                        /* max_sort_char */
 
7028
  ' ',                        /* pad_char      */
 
7029
  0,                          /* escape_with_backslash_is_dangerous */
 
7030
  &my_charset_8bit_handler,
 
7031
  &my_collation_8bit_simple_ci_handler,
 
7032
}
 
7033
,
 
7034
#endif
 
7035
#ifdef HAVE_CHARSET_koi8u
 
7036
{
 
7037
  22,0,0,
 
7038
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7039
  "koi8u",                     /* cset name     */
 
7040
  "koi8u_general_ci",                     /* coll name     */
 
7041
  "",                       /* comment       */
 
7042
  NULL,                       /* tailoring     */
 
7043
  ctype_koi8u_general_ci,                   /* ctype         */
 
7044
  to_lower_koi8u_general_ci,                /* lower         */
 
7045
  to_upper_koi8u_general_ci,                /* upper         */
 
7046
  sort_order_koi8u_general_ci,            /* sort_order    */
 
7047
  NULL,                       /* contractions  */
 
7048
  NULL,                       /* sort_order_big*/
 
7049
  to_uni_koi8u_general_ci,                  /* to_uni        */
 
7050
  NULL,                       /* from_uni      */
 
7051
  my_unicase_default,         /* caseinfo      */
 
7052
  NULL,                       /* state map     */
 
7053
  NULL,                       /* ident map     */
 
7054
  1,                          /* strxfrm_multiply*/
 
7055
  1,                          /* caseup_multiply*/
 
7056
  1,                          /* casedn_multiply*/
 
7057
  1,                          /* mbminlen      */
 
7058
  1,                          /* mbmaxlen      */
 
7059
  0,                          /* min_sort_char */
 
7060
  255,                        /* max_sort_char */
 
7061
  ' ',                        /* pad_char      */
 
7062
  0,                          /* escape_with_backslash_is_dangerous */
 
7063
  &my_charset_8bit_handler,
 
7064
  &my_collation_8bit_simple_ci_handler,
 
7065
}
 
7066
,
 
7067
#endif
 
7068
#ifdef HAVE_CHARSET_cp1251
 
7069
{
 
7070
  23,0,0,
 
7071
  MY_CS_COMPILED,
 
7072
  "cp1251",                     /* cset name     */
 
7073
  "cp1251_ukrainian_ci",                     /* coll name     */
 
7074
  "",                       /* comment       */
 
7075
  NULL,                       /* tailoring     */
 
7076
  ctype_cp1251_ukrainian_ci,                   /* ctype         */
 
7077
  to_lower_cp1251_ukrainian_ci,                /* lower         */
 
7078
  to_upper_cp1251_ukrainian_ci,                /* upper         */
 
7079
  sort_order_cp1251_ukrainian_ci,            /* sort_order    */
 
7080
  NULL,                       /* contractions  */
 
7081
  NULL,                       /* sort_order_big*/
 
7082
  to_uni_cp1251_ukrainian_ci,                  /* to_uni        */
 
7083
  NULL,                       /* from_uni      */
 
7084
  my_unicase_default,         /* caseinfo      */
 
7085
  NULL,                       /* state map     */
 
7086
  NULL,                       /* ident map     */
 
7087
  1,                          /* strxfrm_multiply*/
 
7088
  1,                          /* caseup_multiply*/
 
7089
  1,                          /* casedn_multiply*/
 
7090
  1,                          /* mbminlen      */
 
7091
  1,                          /* mbmaxlen      */
 
7092
  0,                          /* min_sort_char */
 
7093
  255,                        /* max_sort_char */
 
7094
  ' ',                        /* pad_char      */
 
7095
  0,                          /* escape_with_backslash_is_dangerous */
 
7096
  &my_charset_8bit_handler,
 
7097
  &my_collation_8bit_simple_ci_handler,
 
7098
}
 
7099
,
 
7100
#endif
 
7101
#ifdef HAVE_CHARSET_greek
 
7102
{
 
7103
  25,0,0,
 
7104
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7105
  "greek",                     /* cset name     */
 
7106
  "greek_general_ci",                     /* coll name     */
 
7107
  "",                       /* comment       */
 
7108
  NULL,                       /* tailoring     */
 
7109
  ctype_greek_general_ci,                   /* ctype         */
 
7110
  to_lower_greek_general_ci,                /* lower         */
 
7111
  to_upper_greek_general_ci,                /* upper         */
 
7112
  sort_order_greek_general_ci,            /* sort_order    */
 
7113
  NULL,                       /* contractions  */
 
7114
  NULL,                       /* sort_order_big*/
 
7115
  to_uni_greek_general_ci,                  /* to_uni        */
 
7116
  NULL,                       /* from_uni      */
 
7117
  my_unicase_default,         /* caseinfo      */
 
7118
  NULL,                       /* state map     */
 
7119
  NULL,                       /* ident map     */
 
7120
  1,                          /* strxfrm_multiply*/
 
7121
  1,                          /* caseup_multiply*/
 
7122
  1,                          /* casedn_multiply*/
 
7123
  1,                          /* mbminlen      */
 
7124
  1,                          /* mbmaxlen      */
 
7125
  0,                          /* min_sort_char */
 
7126
  255,                        /* max_sort_char */
 
7127
  ' ',                        /* pad_char      */
 
7128
  0,                          /* escape_with_backslash_is_dangerous */
 
7129
  &my_charset_8bit_handler,
 
7130
  &my_collation_8bit_simple_ci_handler,
 
7131
}
 
7132
,
 
7133
#endif
 
7134
#ifdef HAVE_CHARSET_cp1250
 
7135
{
 
7136
  26,0,0,
 
7137
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7138
  "cp1250",                     /* cset name     */
 
7139
  "cp1250_general_ci",                     /* coll name     */
 
7140
  "",                       /* comment       */
 
7141
  NULL,                       /* tailoring     */
 
7142
  ctype_cp1250_general_ci,                   /* ctype         */
 
7143
  to_lower_cp1250_general_ci,                /* lower         */
 
7144
  to_upper_cp1250_general_ci,                /* upper         */
 
7145
  sort_order_cp1250_general_ci,            /* sort_order    */
 
7146
  NULL,                       /* contractions  */
 
7147
  NULL,                       /* sort_order_big*/
 
7148
  to_uni_cp1250_general_ci,                  /* to_uni        */
 
7149
  NULL,                       /* from_uni      */
 
7150
  my_unicase_default,         /* caseinfo      */
 
7151
  NULL,                       /* state map     */
 
7152
  NULL,                       /* ident map     */
 
7153
  1,                          /* strxfrm_multiply*/
 
7154
  1,                          /* caseup_multiply*/
 
7155
  1,                          /* casedn_multiply*/
 
7156
  1,                          /* mbminlen      */
 
7157
  1,                          /* mbmaxlen      */
 
7158
  0,                          /* min_sort_char */
 
7159
  255,                        /* max_sort_char */
 
7160
  ' ',                        /* pad_char      */
 
7161
  0,                          /* escape_with_backslash_is_dangerous */
 
7162
  &my_charset_8bit_handler,
 
7163
  &my_collation_8bit_simple_ci_handler,
 
7164
}
 
7165
,
 
7166
#endif
 
7167
#ifdef HAVE_CHARSET_latin2
 
7168
{
 
7169
  27,0,0,
 
7170
  MY_CS_COMPILED,
 
7171
  "latin2",                     /* cset name     */
 
7172
  "latin2_croatian_ci",                     /* coll name     */
 
7173
  "",                       /* comment       */
 
7174
  NULL,                       /* tailoring     */
 
7175
  ctype_latin2_croatian_ci,                   /* ctype         */
 
7176
  to_lower_latin2_croatian_ci,                /* lower         */
 
7177
  to_upper_latin2_croatian_ci,                /* upper         */
 
7178
  sort_order_latin2_croatian_ci,            /* sort_order    */
 
7179
  NULL,                       /* contractions  */
 
7180
  NULL,                       /* sort_order_big*/
 
7181
  to_uni_latin2_croatian_ci,                  /* to_uni        */
 
7182
  NULL,                       /* from_uni      */
 
7183
  my_unicase_default,         /* caseinfo      */
 
7184
  NULL,                       /* state map     */
 
7185
  NULL,                       /* ident map     */
 
7186
  1,                          /* strxfrm_multiply*/
 
7187
  1,                          /* caseup_multiply*/
 
7188
  1,                          /* casedn_multiply*/
 
7189
  1,                          /* mbminlen      */
 
7190
  1,                          /* mbmaxlen      */
 
7191
  0,                          /* min_sort_char */
 
7192
  255,                        /* max_sort_char */
 
7193
  ' ',                        /* pad_char      */
 
7194
  0,                          /* escape_with_backslash_is_dangerous */
 
7195
  &my_charset_8bit_handler,
 
7196
  &my_collation_8bit_simple_ci_handler,
 
7197
}
 
7198
,
 
7199
#endif
 
7200
#ifdef HAVE_CHARSET_cp1257
 
7201
{
 
7202
  29,0,0,
 
7203
  MY_CS_COMPILED,
 
7204
  "cp1257",                     /* cset name     */
 
7205
  "cp1257_lithuanian_ci",                     /* coll name     */
 
7206
  "",                       /* comment       */
 
7207
  NULL,                       /* tailoring     */
 
7208
  ctype_cp1257_lithuanian_ci,                   /* ctype         */
 
7209
  to_lower_cp1257_lithuanian_ci,                /* lower         */
 
7210
  to_upper_cp1257_lithuanian_ci,                /* upper         */
 
7211
  sort_order_cp1257_lithuanian_ci,            /* sort_order    */
 
7212
  NULL,                       /* contractions  */
 
7213
  NULL,                       /* sort_order_big*/
 
7214
  to_uni_cp1257_lithuanian_ci,                  /* to_uni        */
 
7215
  NULL,                       /* from_uni      */
 
7216
  my_unicase_default,         /* caseinfo      */
 
7217
  NULL,                       /* state map     */
 
7218
  NULL,                       /* ident map     */
 
7219
  1,                          /* strxfrm_multiply*/
 
7220
  1,                          /* caseup_multiply*/
 
7221
  1,                          /* casedn_multiply*/
 
7222
  1,                          /* mbminlen      */
 
7223
  1,                          /* mbmaxlen      */
 
7224
  0,                          /* min_sort_char */
 
7225
  255,                        /* max_sort_char */
 
7226
  ' ',                        /* pad_char      */
 
7227
  0,                          /* escape_with_backslash_is_dangerous */
 
7228
  &my_charset_8bit_handler,
 
7229
  &my_collation_8bit_simple_ci_handler,
 
7230
}
 
7231
,
 
7232
#endif
 
7233
#ifdef HAVE_CHARSET_latin5
 
7234
{
 
7235
  30,0,0,
 
7236
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7237
  "latin5",                     /* cset name     */
 
7238
  "latin5_turkish_ci",                     /* coll name     */
 
7239
  "",                       /* comment       */
 
7240
  NULL,                       /* tailoring     */
 
7241
  ctype_latin5_turkish_ci,                   /* ctype         */
 
7242
  to_lower_latin5_turkish_ci,                /* lower         */
 
7243
  to_upper_latin5_turkish_ci,                /* upper         */
 
7244
  sort_order_latin5_turkish_ci,            /* sort_order    */
 
7245
  NULL,                       /* contractions  */
 
7246
  NULL,                       /* sort_order_big*/
 
7247
  to_uni_latin5_turkish_ci,                  /* to_uni        */
 
7248
  NULL,                       /* from_uni      */
 
7249
  my_unicase_default,         /* caseinfo      */
 
7250
  NULL,                       /* state map     */
 
7251
  NULL,                       /* ident map     */
 
7252
  1,                          /* strxfrm_multiply*/
 
7253
  1,                          /* caseup_multiply*/
 
7254
  1,                          /* casedn_multiply*/
 
7255
  1,                          /* mbminlen      */
 
7256
  1,                          /* mbmaxlen      */
 
7257
  0,                          /* min_sort_char */
 
7258
  255,                        /* max_sort_char */
 
7259
  ' ',                        /* pad_char      */
 
7260
  0,                          /* escape_with_backslash_is_dangerous */
 
7261
  &my_charset_8bit_handler,
 
7262
  &my_collation_8bit_simple_ci_handler,
 
7263
}
 
7264
,
 
7265
#endif
 
7266
#ifdef HAVE_CHARSET_armscii8
 
7267
{
 
7268
  32,0,0,
 
7269
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7270
  "armscii8",                     /* cset name     */
 
7271
  "armscii8_general_ci",                     /* coll name     */
 
7272
  "",                       /* comment       */
 
7273
  NULL,                       /* tailoring     */
 
7274
  ctype_armscii8_general_ci,                   /* ctype         */
 
7275
  to_lower_armscii8_general_ci,                /* lower         */
 
7276
  to_upper_armscii8_general_ci,                /* upper         */
 
7277
  sort_order_armscii8_general_ci,            /* sort_order    */
 
7278
  NULL,                       /* contractions  */
 
7279
  NULL,                       /* sort_order_big*/
 
7280
  to_uni_armscii8_general_ci,                  /* to_uni        */
 
7281
  NULL,                       /* from_uni      */
 
7282
  my_unicase_default,         /* caseinfo      */
 
7283
  NULL,                       /* state map     */
 
7284
  NULL,                       /* ident map     */
 
7285
  1,                          /* strxfrm_multiply*/
 
7286
  1,                          /* caseup_multiply*/
 
7287
  1,                          /* casedn_multiply*/
 
7288
  1,                          /* mbminlen      */
 
7289
  1,                          /* mbmaxlen      */
 
7290
  0,                          /* min_sort_char */
 
7291
  255,                        /* max_sort_char */
 
7292
  ' ',                        /* pad_char      */
 
7293
  0,                          /* escape_with_backslash_is_dangerous */
 
7294
  &my_charset_8bit_handler,
 
7295
  &my_collation_8bit_simple_ci_handler,
 
7296
}
 
7297
,
 
7298
#endif
 
7299
#ifdef HAVE_CHARSET_cp866
 
7300
{
 
7301
  36,0,0,
 
7302
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7303
  "cp866",                     /* cset name     */
 
7304
  "cp866_general_ci",                     /* coll name     */
 
7305
  "",                       /* comment       */
 
7306
  NULL,                       /* tailoring     */
 
7307
  ctype_cp866_general_ci,                   /* ctype         */
 
7308
  to_lower_cp866_general_ci,                /* lower         */
 
7309
  to_upper_cp866_general_ci,                /* upper         */
 
7310
  sort_order_cp866_general_ci,            /* sort_order    */
 
7311
  NULL,                       /* contractions  */
 
7312
  NULL,                       /* sort_order_big*/
 
7313
  to_uni_cp866_general_ci,                  /* to_uni        */
 
7314
  NULL,                       /* from_uni      */
 
7315
  my_unicase_default,         /* caseinfo      */
 
7316
  NULL,                       /* state map     */
 
7317
  NULL,                       /* ident map     */
 
7318
  1,                          /* strxfrm_multiply*/
 
7319
  1,                          /* caseup_multiply*/
 
7320
  1,                          /* casedn_multiply*/
 
7321
  1,                          /* mbminlen      */
 
7322
  1,                          /* mbmaxlen      */
 
7323
  0,                          /* min_sort_char */
 
7324
  255,                        /* max_sort_char */
 
7325
  ' ',                        /* pad_char      */
 
7326
  0,                          /* escape_with_backslash_is_dangerous */
 
7327
  &my_charset_8bit_handler,
 
7328
  &my_collation_8bit_simple_ci_handler,
 
7329
}
 
7330
,
 
7331
#endif
 
7332
#ifdef HAVE_CHARSET_keybcs2
 
7333
{
 
7334
  37,0,0,
 
7335
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7336
  "keybcs2",                     /* cset name     */
 
7337
  "keybcs2_general_ci",                     /* coll name     */
 
7338
  "",                       /* comment       */
 
7339
  NULL,                       /* tailoring     */
 
7340
  ctype_keybcs2_general_ci,                   /* ctype         */
 
7341
  to_lower_keybcs2_general_ci,                /* lower         */
 
7342
  to_upper_keybcs2_general_ci,                /* upper         */
 
7343
  sort_order_keybcs2_general_ci,            /* sort_order    */
 
7344
  NULL,                       /* contractions  */
 
7345
  NULL,                       /* sort_order_big*/
 
7346
  to_uni_keybcs2_general_ci,                  /* to_uni        */
 
7347
  NULL,                       /* from_uni      */
 
7348
  my_unicase_default,         /* caseinfo      */
 
7349
  NULL,                       /* state map     */
 
7350
  NULL,                       /* ident map     */
 
7351
  1,                          /* strxfrm_multiply*/
 
7352
  1,                          /* caseup_multiply*/
 
7353
  1,                          /* casedn_multiply*/
 
7354
  1,                          /* mbminlen      */
 
7355
  1,                          /* mbmaxlen      */
 
7356
  0,                          /* min_sort_char */
 
7357
  255,                        /* max_sort_char */
 
7358
  ' ',                        /* pad_char      */
 
7359
  0,                          /* escape_with_backslash_is_dangerous */
 
7360
  &my_charset_8bit_handler,
 
7361
  &my_collation_8bit_simple_ci_handler,
 
7362
}
 
7363
,
 
7364
#endif
 
7365
#ifdef HAVE_CHARSET_macce
 
7366
{
 
7367
  38,0,0,
 
7368
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7369
  "macce",                     /* cset name     */
 
7370
  "macce_general_ci",                     /* coll name     */
 
7371
  "",                       /* comment       */
 
7372
  NULL,                       /* tailoring     */
 
7373
  ctype_macce_general_ci,                   /* ctype         */
 
7374
  to_lower_macce_general_ci,                /* lower         */
 
7375
  to_upper_macce_general_ci,                /* upper         */
 
7376
  sort_order_macce_general_ci,            /* sort_order    */
 
7377
  NULL,                       /* contractions  */
 
7378
  NULL,                       /* sort_order_big*/
 
7379
  to_uni_macce_general_ci,                  /* to_uni        */
 
7380
  NULL,                       /* from_uni      */
 
7381
  my_unicase_default,         /* caseinfo      */
 
7382
  NULL,                       /* state map     */
 
7383
  NULL,                       /* ident map     */
 
7384
  1,                          /* strxfrm_multiply*/
 
7385
  1,                          /* caseup_multiply*/
 
7386
  1,                          /* casedn_multiply*/
 
7387
  1,                          /* mbminlen      */
 
7388
  1,                          /* mbmaxlen      */
 
7389
  0,                          /* min_sort_char */
 
7390
  255,                        /* max_sort_char */
 
7391
  ' ',                        /* pad_char      */
 
7392
  0,                          /* escape_with_backslash_is_dangerous */
 
7393
  &my_charset_8bit_handler,
 
7394
  &my_collation_8bit_simple_ci_handler,
 
7395
}
 
7396
,
 
7397
#endif
 
7398
#ifdef HAVE_CHARSET_macroman
 
7399
{
 
7400
  39,0,0,
 
7401
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7402
  "macroman",                     /* cset name     */
 
7403
  "macroman_general_ci",                     /* coll name     */
 
7404
  "",                       /* comment       */
 
7405
  NULL,                       /* tailoring     */
 
7406
  ctype_macroman_general_ci,                   /* ctype         */
 
7407
  to_lower_macroman_general_ci,                /* lower         */
 
7408
  to_upper_macroman_general_ci,                /* upper         */
 
7409
  sort_order_macroman_general_ci,            /* sort_order    */
 
7410
  NULL,                       /* contractions  */
 
7411
  NULL,                       /* sort_order_big*/
 
7412
  to_uni_macroman_general_ci,                  /* to_uni        */
 
7413
  NULL,                       /* from_uni      */
 
7414
  my_unicase_default,         /* caseinfo      */
 
7415
  NULL,                       /* state map     */
 
7416
  NULL,                       /* ident map     */
 
7417
  1,                          /* strxfrm_multiply*/
 
7418
  1,                          /* caseup_multiply*/
 
7419
  1,                          /* casedn_multiply*/
 
7420
  1,                          /* mbminlen      */
 
7421
  1,                          /* mbmaxlen      */
 
7422
  0,                          /* min_sort_char */
 
7423
  255,                        /* max_sort_char */
 
7424
  ' ',                        /* pad_char      */
 
7425
  0,                          /* escape_with_backslash_is_dangerous */
 
7426
  &my_charset_8bit_handler,
 
7427
  &my_collation_8bit_simple_ci_handler,
 
7428
}
 
7429
,
 
7430
#endif
 
7431
#ifdef HAVE_CHARSET_cp852
 
7432
{
 
7433
  40,0,0,
 
7434
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7435
  "cp852",                     /* cset name     */
 
7436
  "cp852_general_ci",                     /* coll name     */
 
7437
  "",                       /* comment       */
 
7438
  NULL,                       /* tailoring     */
 
7439
  ctype_cp852_general_ci,                   /* ctype         */
 
7440
  to_lower_cp852_general_ci,                /* lower         */
 
7441
  to_upper_cp852_general_ci,                /* upper         */
 
7442
  sort_order_cp852_general_ci,            /* sort_order    */
 
7443
  NULL,                       /* contractions  */
 
7444
  NULL,                       /* sort_order_big*/
 
7445
  to_uni_cp852_general_ci,                  /* to_uni        */
 
7446
  NULL,                       /* from_uni      */
 
7447
  my_unicase_default,         /* caseinfo      */
 
7448
  NULL,                       /* state map     */
 
7449
  NULL,                       /* ident map     */
 
7450
  1,                          /* strxfrm_multiply*/
 
7451
  1,                          /* caseup_multiply*/
 
7452
  1,                          /* casedn_multiply*/
 
7453
  1,                          /* mbminlen      */
 
7454
  1,                          /* mbmaxlen      */
 
7455
  0,                          /* min_sort_char */
 
7456
  255,                        /* max_sort_char */
 
7457
  ' ',                        /* pad_char      */
 
7458
  0,                          /* escape_with_backslash_is_dangerous */
 
7459
  &my_charset_8bit_handler,
 
7460
  &my_collation_8bit_simple_ci_handler,
 
7461
}
 
7462
,
 
7463
#endif
 
7464
#ifdef HAVE_CHARSET_latin7
 
7465
{
 
7466
  41,0,0,
 
7467
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7468
  "latin7",                     /* cset name     */
 
7469
  "latin7_general_ci",                     /* coll name     */
 
7470
  "",                       /* comment       */
 
7471
  NULL,                       /* tailoring     */
 
7472
  ctype_latin7_general_ci,                   /* ctype         */
 
7473
  to_lower_latin7_general_ci,                /* lower         */
 
7474
  to_upper_latin7_general_ci,                /* upper         */
 
7475
  sort_order_latin7_general_ci,            /* sort_order    */
 
7476
  NULL,                       /* contractions  */
 
7477
  NULL,                       /* sort_order_big*/
 
7478
  to_uni_latin7_general_ci,                  /* to_uni        */
 
7479
  NULL,                       /* from_uni      */
 
7480
  my_unicase_default,         /* caseinfo      */
 
7481
  NULL,                       /* state map     */
 
7482
  NULL,                       /* ident map     */
 
7483
  1,                          /* strxfrm_multiply*/
 
7484
  1,                          /* caseup_multiply*/
 
7485
  1,                          /* casedn_multiply*/
 
7486
  1,                          /* mbminlen      */
 
7487
  1,                          /* mbmaxlen      */
 
7488
  0,                          /* min_sort_char */
 
7489
  255,                        /* max_sort_char */
 
7490
  ' ',                        /* pad_char      */
 
7491
  0,                          /* escape_with_backslash_is_dangerous */
 
7492
  &my_charset_8bit_handler,
 
7493
  &my_collation_8bit_simple_ci_handler,
 
7494
}
 
7495
,
 
7496
#endif
 
7497
#ifdef HAVE_CHARSET_latin7
 
7498
{
 
7499
  42,0,0,
 
7500
  MY_CS_COMPILED|MY_CS_CSSORT,
 
7501
  "latin7",                     /* cset name     */
 
7502
  "latin7_general_cs",                     /* coll name     */
 
7503
  "",                       /* comment       */
 
7504
  NULL,                       /* tailoring     */
 
7505
  ctype_latin7_general_cs,                   /* ctype         */
 
7506
  to_lower_latin7_general_cs,                /* lower         */
 
7507
  to_upper_latin7_general_cs,                /* upper         */
 
7508
  sort_order_latin7_general_cs,            /* sort_order    */
 
7509
  NULL,                       /* contractions  */
 
7510
  NULL,                       /* sort_order_big*/
 
7511
  to_uni_latin7_general_cs,                  /* to_uni        */
 
7512
  NULL,                       /* from_uni      */
 
7513
  my_unicase_default,         /* caseinfo      */
 
7514
  NULL,                       /* state map     */
 
7515
  NULL,                       /* ident map     */
 
7516
  1,                          /* strxfrm_multiply*/
 
7517
  1,                          /* caseup_multiply*/
 
7518
  1,                          /* casedn_multiply*/
 
7519
  1,                          /* mbminlen      */
 
7520
  1,                          /* mbmaxlen      */
 
7521
  0,                          /* min_sort_char */
 
7522
  255,                        /* max_sort_char */
 
7523
  ' ',                        /* pad_char      */
 
7524
  0,                          /* escape_with_backslash_is_dangerous */
 
7525
  &my_charset_8bit_handler,
 
7526
  &my_collation_8bit_simple_ci_handler,
 
7527
}
 
7528
,
 
7529
#endif
 
7530
#ifdef HAVE_CHARSET_macce
 
7531
{
 
7532
  43,0,0,
 
7533
  MY_CS_COMPILED|MY_CS_BINSORT,
 
7534
  "macce",                     /* cset name     */
 
7535
  "macce_bin",                     /* coll name     */
 
7536
  "",                       /* comment       */
 
7537
  NULL,                       /* tailoring     */
 
7538
  ctype_macce_bin,                   /* ctype         */
 
7539
  to_lower_macce_bin,                /* lower         */
 
7540
  to_upper_macce_bin,                /* upper         */
 
7541
  NULL,                     /* sort_order    */
 
7542
  NULL,                       /* contractions  */
 
7543
  NULL,                       /* sort_order_big*/
 
7544
  to_uni_macce_bin,                  /* to_uni        */
 
7545
  NULL,                       /* from_uni      */
 
7546
  my_unicase_default,         /* caseinfo      */
 
7547
  NULL,                       /* state map     */
 
7548
  NULL,                       /* ident map     */
 
7549
  1,                          /* strxfrm_multiply*/
 
7550
  1,                          /* caseup_multiply*/
 
7551
  1,                          /* casedn_multiply*/
 
7552
  1,                          /* mbminlen      */
 
7553
  1,                          /* mbmaxlen      */
 
7554
  0,                          /* min_sort_char */
 
7555
  255,                        /* max_sort_char */
 
7556
  ' ',                        /* pad_char      */
 
7557
  0,                          /* escape_with_backslash_is_dangerous */
 
7558
  &my_charset_8bit_handler,
 
7559
  &my_collation_8bit_bin_handler,
 
7560
}
 
7561
,
 
7562
#endif
 
7563
#ifdef HAVE_CHARSET_cp1250
 
7564
{
 
7565
  44,0,0,
 
7566
  MY_CS_COMPILED,
 
7567
  "cp1250",                     /* cset name     */
 
7568
  "cp1250_croatian_ci",                     /* coll name     */
 
7569
  "",                       /* comment       */
 
7570
  NULL,                       /* tailoring     */
 
7571
  ctype_cp1250_croatian_ci,                   /* ctype         */
 
7572
  to_lower_cp1250_croatian_ci,                /* lower         */
 
7573
  to_upper_cp1250_croatian_ci,                /* upper         */
 
7574
  sort_order_cp1250_croatian_ci,            /* sort_order    */
 
7575
  NULL,                       /* contractions  */
 
7576
  NULL,                       /* sort_order_big*/
 
7577
  to_uni_cp1250_croatian_ci,                  /* to_uni        */
 
7578
  NULL,                       /* from_uni      */
 
7579
  my_unicase_default,         /* caseinfo      */
 
7580
  NULL,                       /* state map     */
 
7581
  NULL,                       /* ident map     */
 
7582
  1,                          /* strxfrm_multiply*/
 
7583
  1,                          /* caseup_multiply*/
 
7584
  1,                          /* casedn_multiply*/
 
7585
  1,                          /* mbminlen      */
 
7586
  1,                          /* mbmaxlen      */
 
7587
  0,                          /* min_sort_char */
 
7588
  255,                        /* max_sort_char */
 
7589
  ' ',                        /* pad_char      */
 
7590
  0,                          /* escape_with_backslash_is_dangerous */
 
7591
  &my_charset_8bit_handler,
 
7592
  &my_collation_8bit_simple_ci_handler,
 
7593
}
 
7594
,
 
7595
#endif
 
7596
#ifdef HAVE_CHARSET_latin1
 
7597
{
 
7598
  48,0,0,
 
7599
  MY_CS_COMPILED,
 
7600
  "latin1",                     /* cset name     */
 
7601
  "latin1_general_ci",                     /* coll name     */
 
7602
  "",                       /* comment       */
 
7603
  NULL,                       /* tailoring     */
 
7604
  ctype_latin1_general_ci,                   /* ctype         */
 
7605
  to_lower_latin1_general_ci,                /* lower         */
 
7606
  to_upper_latin1_general_ci,                /* upper         */
 
7607
  sort_order_latin1_general_ci,            /* sort_order    */
 
7608
  NULL,                       /* contractions  */
 
7609
  NULL,                       /* sort_order_big*/
 
7610
  to_uni_latin1_general_ci,                  /* to_uni        */
 
7611
  NULL,                       /* from_uni      */
 
7612
  my_unicase_default,         /* caseinfo      */
 
7613
  NULL,                       /* state map     */
 
7614
  NULL,                       /* ident map     */
 
7615
  1,                          /* strxfrm_multiply*/
 
7616
  1,                          /* caseup_multiply*/
 
7617
  1,                          /* casedn_multiply*/
 
7618
  1,                          /* mbminlen      */
 
7619
  1,                          /* mbmaxlen      */
 
7620
  0,                          /* min_sort_char */
 
7621
  255,                        /* max_sort_char */
 
7622
  ' ',                        /* pad_char      */
 
7623
  0,                          /* escape_with_backslash_is_dangerous */
 
7624
  &my_charset_8bit_handler,
 
7625
  &my_collation_8bit_simple_ci_handler,
 
7626
}
 
7627
,
 
7628
#endif
 
7629
#ifdef HAVE_CHARSET_latin1
 
7630
{
 
7631
  49,0,0,
 
7632
  MY_CS_COMPILED|MY_CS_CSSORT,
 
7633
  "latin1",                     /* cset name     */
 
7634
  "latin1_general_cs",                     /* coll name     */
 
7635
  "",                       /* comment       */
 
7636
  NULL,                       /* tailoring     */
 
7637
  ctype_latin1_general_cs,                   /* ctype         */
 
7638
  to_lower_latin1_general_cs,                /* lower         */
 
7639
  to_upper_latin1_general_cs,                /* upper         */
 
7640
  sort_order_latin1_general_cs,            /* sort_order    */
 
7641
  NULL,                       /* contractions  */
 
7642
  NULL,                       /* sort_order_big*/
 
7643
  to_uni_latin1_general_cs,                  /* to_uni        */
 
7644
  NULL,                       /* from_uni      */
 
7645
  my_unicase_default,         /* caseinfo      */
 
7646
  NULL,                       /* state map     */
 
7647
  NULL,                       /* ident map     */
 
7648
  1,                          /* strxfrm_multiply*/
 
7649
  1,                          /* caseup_multiply*/
 
7650
  1,                          /* casedn_multiply*/
 
7651
  1,                          /* mbminlen      */
 
7652
  1,                          /* mbmaxlen      */
 
7653
  0,                          /* min_sort_char */
 
7654
  255,                        /* max_sort_char */
 
7655
  ' ',                        /* pad_char      */
 
7656
  0,                          /* escape_with_backslash_is_dangerous */
 
7657
  &my_charset_8bit_handler,
 
7658
  &my_collation_8bit_simple_ci_handler,
 
7659
}
 
7660
,
 
7661
#endif
 
7662
#ifdef HAVE_CHARSET_cp1251
 
7663
{
 
7664
  50,0,0,
 
7665
  MY_CS_COMPILED|MY_CS_BINSORT,
 
7666
  "cp1251",                     /* cset name     */
 
7667
  "cp1251_bin",                     /* coll name     */
 
7668
  "",                       /* comment       */
 
7669
  NULL,                       /* tailoring     */
 
7670
  ctype_cp1251_bin,                   /* ctype         */
 
7671
  to_lower_cp1251_bin,                /* lower         */
 
7672
  to_upper_cp1251_bin,                /* upper         */
 
7673
  NULL,                     /* sort_order    */
 
7674
  NULL,                       /* contractions  */
 
7675
  NULL,                       /* sort_order_big*/
 
7676
  to_uni_cp1251_bin,                  /* to_uni        */
 
7677
  NULL,                       /* from_uni      */
 
7678
  my_unicase_default,         /* caseinfo      */
 
7679
  NULL,                       /* state map     */
 
7680
  NULL,                       /* ident map     */
 
7681
  1,                          /* strxfrm_multiply*/
 
7682
  1,                          /* caseup_multiply*/
 
7683
  1,                          /* casedn_multiply*/
 
7684
  1,                          /* mbminlen      */
 
7685
  1,                          /* mbmaxlen      */
 
7686
  0,                          /* min_sort_char */
 
7687
  255,                        /* max_sort_char */
 
7688
  ' ',                        /* pad_char      */
 
7689
  0,                          /* escape_with_backslash_is_dangerous */
 
7690
  &my_charset_8bit_handler,
 
7691
  &my_collation_8bit_bin_handler,
 
7692
}
 
7693
,
 
7694
#endif
 
7695
#ifdef HAVE_CHARSET_cp1251
 
7696
{
 
7697
  51,0,0,
 
7698
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7699
  "cp1251",                     /* cset name     */
 
7700
  "cp1251_general_ci",                     /* coll name     */
 
7701
  "",                       /* comment       */
 
7702
  NULL,                       /* tailoring     */
 
7703
  ctype_cp1251_general_ci,                   /* ctype         */
 
7704
  to_lower_cp1251_general_ci,                /* lower         */
 
7705
  to_upper_cp1251_general_ci,                /* upper         */
 
7706
  sort_order_cp1251_general_ci,            /* sort_order    */
 
7707
  NULL,                       /* contractions  */
 
7708
  NULL,                       /* sort_order_big*/
 
7709
  to_uni_cp1251_general_ci,                  /* to_uni        */
 
7710
  NULL,                       /* from_uni      */
 
7711
  my_unicase_default,         /* caseinfo      */
 
7712
  NULL,                       /* state map     */
 
7713
  NULL,                       /* ident map     */
 
7714
  1,                          /* strxfrm_multiply*/
 
7715
  1,                          /* caseup_multiply*/
 
7716
  1,                          /* casedn_multiply*/
 
7717
  1,                          /* mbminlen      */
 
7718
  1,                          /* mbmaxlen      */
 
7719
  0,                          /* min_sort_char */
 
7720
  255,                        /* max_sort_char */
 
7721
  ' ',                        /* pad_char      */
 
7722
  0,                          /* escape_with_backslash_is_dangerous */
 
7723
  &my_charset_8bit_handler,
 
7724
  &my_collation_8bit_simple_ci_handler,
 
7725
}
 
7726
,
 
7727
#endif
 
7728
#ifdef HAVE_CHARSET_cp1251
 
7729
{
 
7730
  52,0,0,
 
7731
  MY_CS_COMPILED|MY_CS_CSSORT,
 
7732
  "cp1251",                     /* cset name     */
 
7733
  "cp1251_general_cs",                     /* coll name     */
 
7734
  "",                       /* comment       */
 
7735
  NULL,                       /* tailoring     */
 
7736
  ctype_cp1251_general_cs,                   /* ctype         */
 
7737
  to_lower_cp1251_general_cs,                /* lower         */
 
7738
  to_upper_cp1251_general_cs,                /* upper         */
 
7739
  sort_order_cp1251_general_cs,            /* sort_order    */
 
7740
  NULL,                       /* contractions  */
 
7741
  NULL,                       /* sort_order_big*/
 
7742
  to_uni_cp1251_general_cs,                  /* to_uni        */
 
7743
  NULL,                       /* from_uni      */
 
7744
  my_unicase_default,         /* caseinfo      */
 
7745
  NULL,                       /* state map     */
 
7746
  NULL,                       /* ident map     */
 
7747
  1,                          /* strxfrm_multiply*/
 
7748
  1,                          /* caseup_multiply*/
 
7749
  1,                          /* casedn_multiply*/
 
7750
  1,                          /* mbminlen      */
 
7751
  1,                          /* mbmaxlen      */
 
7752
  0,                          /* min_sort_char */
 
7753
  255,                        /* max_sort_char */
 
7754
  ' ',                        /* pad_char      */
 
7755
  0,                          /* escape_with_backslash_is_dangerous */
 
7756
  &my_charset_8bit_handler,
 
7757
  &my_collation_8bit_simple_ci_handler,
 
7758
}
 
7759
,
 
7760
#endif
 
7761
#ifdef HAVE_CHARSET_macroman
 
7762
{
 
7763
  53,0,0,
 
7764
  MY_CS_COMPILED|MY_CS_BINSORT,
 
7765
  "macroman",                     /* cset name     */
 
7766
  "macroman_bin",                     /* coll name     */
 
7767
  "",                       /* comment       */
 
7768
  NULL,                       /* tailoring     */
 
7769
  ctype_macroman_bin,                   /* ctype         */
 
7770
  to_lower_macroman_bin,                /* lower         */
 
7771
  to_upper_macroman_bin,                /* upper         */
 
7772
  NULL,                     /* sort_order    */
 
7773
  NULL,                       /* contractions  */
 
7774
  NULL,                       /* sort_order_big*/
 
7775
  to_uni_macroman_bin,                  /* to_uni        */
 
7776
  NULL,                       /* from_uni      */
 
7777
  my_unicase_default,         /* caseinfo      */
 
7778
  NULL,                       /* state map     */
 
7779
  NULL,                       /* ident map     */
 
7780
  1,                          /* strxfrm_multiply*/
 
7781
  1,                          /* caseup_multiply*/
 
7782
  1,                          /* casedn_multiply*/
 
7783
  1,                          /* mbminlen      */
 
7784
  1,                          /* mbmaxlen      */
 
7785
  0,                          /* min_sort_char */
 
7786
  255,                        /* max_sort_char */
 
7787
  ' ',                        /* pad_char      */
 
7788
  0,                          /* escape_with_backslash_is_dangerous */
 
7789
  &my_charset_8bit_handler,
 
7790
  &my_collation_8bit_bin_handler,
 
7791
}
 
7792
,
 
7793
#endif
 
7794
#ifdef HAVE_CHARSET_cp1256
 
7795
{
 
7796
  57,0,0,
 
7797
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7798
  "cp1256",                     /* cset name     */
 
7799
  "cp1256_general_ci",                     /* coll name     */
 
7800
  "",                       /* comment       */
 
7801
  NULL,                       /* tailoring     */
 
7802
  ctype_cp1256_general_ci,                   /* ctype         */
 
7803
  to_lower_cp1256_general_ci,                /* lower         */
 
7804
  to_upper_cp1256_general_ci,                /* upper         */
 
7805
  sort_order_cp1256_general_ci,            /* sort_order    */
 
7806
  NULL,                       /* contractions  */
 
7807
  NULL,                       /* sort_order_big*/
 
7808
  to_uni_cp1256_general_ci,                  /* to_uni        */
 
7809
  NULL,                       /* from_uni      */
 
7810
  my_unicase_default,         /* caseinfo      */
 
7811
  NULL,                       /* state map     */
 
7812
  NULL,                       /* ident map     */
 
7813
  1,                          /* strxfrm_multiply*/
 
7814
  1,                          /* caseup_multiply*/
 
7815
  1,                          /* casedn_multiply*/
 
7816
  1,                          /* mbminlen      */
 
7817
  1,                          /* mbmaxlen      */
 
7818
  0,                          /* min_sort_char */
 
7819
  255,                        /* max_sort_char */
 
7820
  ' ',                        /* pad_char      */
 
7821
  0,                          /* escape_with_backslash_is_dangerous */
 
7822
  &my_charset_8bit_handler,
 
7823
  &my_collation_8bit_simple_ci_handler,
 
7824
}
 
7825
,
 
7826
#endif
 
7827
#ifdef HAVE_CHARSET_cp1257
 
7828
{
 
7829
  58,0,0,
 
7830
  MY_CS_COMPILED|MY_CS_BINSORT,
 
7831
  "cp1257",                     /* cset name     */
 
7832
  "cp1257_bin",                     /* coll name     */
 
7833
  "",                       /* comment       */
 
7834
  NULL,                       /* tailoring     */
 
7835
  ctype_cp1257_bin,                   /* ctype         */
 
7836
  to_lower_cp1257_bin,                /* lower         */
 
7837
  to_upper_cp1257_bin,                /* upper         */
 
7838
  NULL,                     /* sort_order    */
 
7839
  NULL,                       /* contractions  */
 
7840
  NULL,                       /* sort_order_big*/
 
7841
  to_uni_cp1257_bin,                  /* to_uni        */
 
7842
  NULL,                       /* from_uni      */
 
7843
  my_unicase_default,         /* caseinfo      */
 
7844
  NULL,                       /* state map     */
 
7845
  NULL,                       /* ident map     */
 
7846
  1,                          /* strxfrm_multiply*/
 
7847
  1,                          /* caseup_multiply*/
 
7848
  1,                          /* casedn_multiply*/
 
7849
  1,                          /* mbminlen      */
 
7850
  1,                          /* mbmaxlen      */
 
7851
  0,                          /* min_sort_char */
 
7852
  255,                        /* max_sort_char */
 
7853
  ' ',                        /* pad_char      */
 
7854
  0,                          /* escape_with_backslash_is_dangerous */
 
7855
  &my_charset_8bit_handler,
 
7856
  &my_collation_8bit_bin_handler,
 
7857
}
 
7858
,
 
7859
#endif
 
7860
#ifdef HAVE_CHARSET_cp1257
 
7861
{
 
7862
  59,0,0,
 
7863
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
7864
  "cp1257",                     /* cset name     */
 
7865
  "cp1257_general_ci",                     /* coll name     */
 
7866
  "",                       /* comment       */
 
7867
  NULL,                       /* tailoring     */
 
7868
  ctype_cp1257_general_ci,                   /* ctype         */
 
7869
  to_lower_cp1257_general_ci,                /* lower         */
 
7870
  to_upper_cp1257_general_ci,                /* upper         */
 
7871
  sort_order_cp1257_general_ci,            /* sort_order    */
 
7872
  NULL,                       /* contractions  */
 
7873
  NULL,                       /* sort_order_big*/
 
7874
  to_uni_cp1257_general_ci,                  /* to_uni        */
 
7875
  NULL,                       /* from_uni      */
 
7876
  my_unicase_default,         /* caseinfo      */
 
7877
  NULL,                       /* state map     */
 
7878
  NULL,                       /* ident map     */
 
7879
  1,                          /* strxfrm_multiply*/
 
7880
  1,                          /* caseup_multiply*/
 
7881
  1,                          /* casedn_multiply*/
 
7882
  1,                          /* mbminlen      */
 
7883
  1,                          /* mbmaxlen      */
 
7884
  0,                          /* min_sort_char */
 
7885
  255,                        /* max_sort_char */
 
7886
  ' ',                        /* pad_char      */
 
7887
  0,                          /* escape_with_backslash_is_dangerous */
 
7888
  &my_charset_8bit_handler,
 
7889
  &my_collation_8bit_simple_ci_handler,
 
7890
}
 
7891
,
 
7892
#endif
 
7893
#ifdef HAVE_CHARSET_armscii8
 
7894
{
 
7895
  64,0,0,
 
7896
  MY_CS_COMPILED|MY_CS_BINSORT,
 
7897
  "armscii8",                     /* cset name     */
 
7898
  "armscii8_bin",                     /* coll name     */
 
7899
  "",                       /* comment       */
 
7900
  NULL,                       /* tailoring     */
 
7901
  ctype_armscii8_bin,                   /* ctype         */
 
7902
  to_lower_armscii8_bin,                /* lower         */
 
7903
  to_upper_armscii8_bin,                /* upper         */
 
7904
  NULL,                     /* sort_order    */
 
7905
  NULL,                       /* contractions  */
 
7906
  NULL,                       /* sort_order_big*/
 
7907
  to_uni_armscii8_bin,                  /* to_uni        */
 
7908
  NULL,                       /* from_uni      */
 
7909
  my_unicase_default,         /* caseinfo      */
 
7910
  NULL,                       /* state map     */
 
7911
  NULL,                       /* ident map     */
 
7912
  1,                          /* strxfrm_multiply*/
 
7913
  1,                          /* caseup_multiply*/
 
7914
  1,                          /* casedn_multiply*/
 
7915
  1,                          /* mbminlen      */
 
7916
  1,                          /* mbmaxlen      */
 
7917
  0,                          /* min_sort_char */
 
7918
  255,                        /* max_sort_char */
 
7919
  ' ',                        /* pad_char      */
 
7920
  0,                          /* escape_with_backslash_is_dangerous */
 
7921
  &my_charset_8bit_handler,
 
7922
  &my_collation_8bit_bin_handler,
 
7923
}
 
7924
,
 
7925
#endif
 
7926
#ifdef HAVE_CHARSET_ascii
 
7927
{
 
7928
  65,0,0,
 
7929
  MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_PUREASCII,
 
7930
  "ascii",                     /* cset name     */
 
7931
  "ascii_bin",                     /* coll name     */
 
7932
  "",                       /* comment       */
 
7933
  NULL,                       /* tailoring     */
 
7934
  ctype_ascii_bin,                   /* ctype         */
 
7935
  to_lower_ascii_bin,                /* lower         */
 
7936
  to_upper_ascii_bin,                /* upper         */
 
7937
  NULL,                     /* sort_order    */
 
7938
  NULL,                       /* contractions  */
 
7939
  NULL,                       /* sort_order_big*/
 
7940
  to_uni_ascii_bin,                  /* to_uni        */
 
7941
  NULL,                       /* from_uni      */
 
7942
  my_unicase_default,         /* caseinfo      */
 
7943
  NULL,                       /* state map     */
 
7944
  NULL,                       /* ident map     */
 
7945
  1,                          /* strxfrm_multiply*/
 
7946
  1,                          /* caseup_multiply*/
 
7947
  1,                          /* casedn_multiply*/
 
7948
  1,                          /* mbminlen      */
 
7949
  1,                          /* mbmaxlen      */
 
7950
  0,                          /* min_sort_char */
 
7951
  255,                        /* max_sort_char */
 
7952
  ' ',                        /* pad_char      */
 
7953
  0,                          /* escape_with_backslash_is_dangerous */
 
7954
  &my_charset_8bit_handler,
 
7955
  &my_collation_8bit_bin_handler,
 
7956
}
 
7957
,
 
7958
#endif
 
7959
#ifdef HAVE_CHARSET_cp1250
 
7960
{
 
7961
  66,0,0,
 
7962
  MY_CS_COMPILED|MY_CS_BINSORT,
 
7963
  "cp1250",                     /* cset name     */
 
7964
  "cp1250_bin",                     /* coll name     */
 
7965
  "",                       /* comment       */
 
7966
  NULL,                       /* tailoring     */
 
7967
  ctype_cp1250_bin,                   /* ctype         */
 
7968
  to_lower_cp1250_bin,                /* lower         */
 
7969
  to_upper_cp1250_bin,                /* upper         */
 
7970
  NULL,                     /* sort_order    */
 
7971
  NULL,                       /* contractions  */
 
7972
  NULL,                       /* sort_order_big*/
 
7973
  to_uni_cp1250_bin,                  /* to_uni        */
 
7974
  NULL,                       /* from_uni      */
 
7975
  my_unicase_default,         /* caseinfo      */
 
7976
  NULL,                       /* state map     */
 
7977
  NULL,                       /* ident map     */
 
7978
  1,                          /* strxfrm_multiply*/
 
7979
  1,                          /* caseup_multiply*/
 
7980
  1,                          /* casedn_multiply*/
 
7981
  1,                          /* mbminlen      */
 
7982
  1,                          /* mbmaxlen      */
 
7983
  0,                          /* min_sort_char */
 
7984
  255,                        /* max_sort_char */
 
7985
  ' ',                        /* pad_char      */
 
7986
  0,                          /* escape_with_backslash_is_dangerous */
 
7987
  &my_charset_8bit_handler,
 
7988
  &my_collation_8bit_bin_handler,
 
7989
}
 
7990
,
 
7991
#endif
 
7992
#ifdef HAVE_CHARSET_cp1256
 
7993
{
 
7994
  67,0,0,
 
7995
  MY_CS_COMPILED|MY_CS_BINSORT,
 
7996
  "cp1256",                     /* cset name     */
 
7997
  "cp1256_bin",                     /* coll name     */
 
7998
  "",                       /* comment       */
 
7999
  NULL,                       /* tailoring     */
 
8000
  ctype_cp1256_bin,                   /* ctype         */
 
8001
  to_lower_cp1256_bin,                /* lower         */
 
8002
  to_upper_cp1256_bin,                /* upper         */
 
8003
  NULL,                     /* sort_order    */
 
8004
  NULL,                       /* contractions  */
 
8005
  NULL,                       /* sort_order_big*/
 
8006
  to_uni_cp1256_bin,                  /* to_uni        */
 
8007
  NULL,                       /* from_uni      */
 
8008
  my_unicase_default,         /* caseinfo      */
 
8009
  NULL,                       /* state map     */
 
8010
  NULL,                       /* ident map     */
 
8011
  1,                          /* strxfrm_multiply*/
 
8012
  1,                          /* caseup_multiply*/
 
8013
  1,                          /* casedn_multiply*/
 
8014
  1,                          /* mbminlen      */
 
8015
  1,                          /* mbmaxlen      */
 
8016
  0,                          /* min_sort_char */
 
8017
  255,                        /* max_sort_char */
 
8018
  ' ',                        /* pad_char      */
 
8019
  0,                          /* escape_with_backslash_is_dangerous */
 
8020
  &my_charset_8bit_handler,
 
8021
  &my_collation_8bit_bin_handler,
 
8022
}
 
8023
,
 
8024
#endif
 
8025
#ifdef HAVE_CHARSET_cp866
 
8026
{
 
8027
  68,0,0,
 
8028
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8029
  "cp866",                     /* cset name     */
 
8030
  "cp866_bin",                     /* coll name     */
 
8031
  "",                       /* comment       */
 
8032
  NULL,                       /* tailoring     */
 
8033
  ctype_cp866_bin,                   /* ctype         */
 
8034
  to_lower_cp866_bin,                /* lower         */
 
8035
  to_upper_cp866_bin,                /* upper         */
 
8036
  NULL,                     /* sort_order    */
 
8037
  NULL,                       /* contractions  */
 
8038
  NULL,                       /* sort_order_big*/
 
8039
  to_uni_cp866_bin,                  /* to_uni        */
 
8040
  NULL,                       /* from_uni      */
 
8041
  my_unicase_default,         /* caseinfo      */
 
8042
  NULL,                       /* state map     */
 
8043
  NULL,                       /* ident map     */
 
8044
  1,                          /* strxfrm_multiply*/
 
8045
  1,                          /* caseup_multiply*/
 
8046
  1,                          /* casedn_multiply*/
 
8047
  1,                          /* mbminlen      */
 
8048
  1,                          /* mbmaxlen      */
 
8049
  0,                          /* min_sort_char */
 
8050
  255,                        /* max_sort_char */
 
8051
  ' ',                        /* pad_char      */
 
8052
  0,                          /* escape_with_backslash_is_dangerous */
 
8053
  &my_charset_8bit_handler,
 
8054
  &my_collation_8bit_bin_handler,
 
8055
}
 
8056
,
 
8057
#endif
 
8058
#ifdef HAVE_CHARSET_dec8
 
8059
{
 
8060
  69,0,0,
 
8061
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8062
  "dec8",                     /* cset name     */
 
8063
  "dec8_bin",                     /* coll name     */
 
8064
  "",                       /* comment       */
 
8065
  NULL,                       /* tailoring     */
 
8066
  ctype_dec8_bin,                   /* ctype         */
 
8067
  to_lower_dec8_bin,                /* lower         */
 
8068
  to_upper_dec8_bin,                /* upper         */
 
8069
  NULL,                     /* sort_order    */
 
8070
  NULL,                       /* contractions  */
 
8071
  NULL,                       /* sort_order_big*/
 
8072
  to_uni_dec8_bin,                  /* to_uni        */
 
8073
  NULL,                       /* from_uni      */
 
8074
  my_unicase_default,         /* caseinfo      */
 
8075
  NULL,                       /* state map     */
 
8076
  NULL,                       /* ident map     */
 
8077
  1,                          /* strxfrm_multiply*/
 
8078
  1,                          /* caseup_multiply*/
 
8079
  1,                          /* casedn_multiply*/
 
8080
  1,                          /* mbminlen      */
 
8081
  1,                          /* mbmaxlen      */
 
8082
  0,                          /* min_sort_char */
 
8083
  255,                        /* max_sort_char */
 
8084
  ' ',                        /* pad_char      */
 
8085
  0,                          /* escape_with_backslash_is_dangerous */
 
8086
  &my_charset_8bit_handler,
 
8087
  &my_collation_8bit_bin_handler,
 
8088
}
 
8089
,
 
8090
#endif
 
8091
#ifdef HAVE_CHARSET_greek
 
8092
{
 
8093
  70,0,0,
 
8094
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8095
  "greek",                     /* cset name     */
 
8096
  "greek_bin",                     /* coll name     */
 
8097
  "",                       /* comment       */
 
8098
  NULL,                       /* tailoring     */
 
8099
  ctype_greek_bin,                   /* ctype         */
 
8100
  to_lower_greek_bin,                /* lower         */
 
8101
  to_upper_greek_bin,                /* upper         */
 
8102
  NULL,                     /* sort_order    */
 
8103
  NULL,                       /* contractions  */
 
8104
  NULL,                       /* sort_order_big*/
 
8105
  to_uni_greek_bin,                  /* to_uni        */
 
8106
  NULL,                       /* from_uni      */
 
8107
  my_unicase_default,         /* caseinfo      */
 
8108
  NULL,                       /* state map     */
 
8109
  NULL,                       /* ident map     */
 
8110
  1,                          /* strxfrm_multiply*/
 
8111
  1,                          /* caseup_multiply*/
 
8112
  1,                          /* casedn_multiply*/
 
8113
  1,                          /* mbminlen      */
 
8114
  1,                          /* mbmaxlen      */
 
8115
  0,                          /* min_sort_char */
 
8116
  255,                        /* max_sort_char */
 
8117
  ' ',                        /* pad_char      */
 
8118
  0,                          /* escape_with_backslash_is_dangerous */
 
8119
  &my_charset_8bit_handler,
 
8120
  &my_collation_8bit_bin_handler,
 
8121
}
 
8122
,
 
8123
#endif
 
8124
#ifdef HAVE_CHARSET_hebrew
 
8125
{
 
8126
  71,0,0,
 
8127
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8128
  "hebrew",                     /* cset name     */
 
8129
  "hebrew_bin",                     /* coll name     */
 
8130
  "",                       /* comment       */
 
8131
  NULL,                       /* tailoring     */
 
8132
  ctype_hebrew_bin,                   /* ctype         */
 
8133
  to_lower_hebrew_bin,                /* lower         */
 
8134
  to_upper_hebrew_bin,                /* upper         */
 
8135
  NULL,                     /* sort_order    */
 
8136
  NULL,                       /* contractions  */
 
8137
  NULL,                       /* sort_order_big*/
 
8138
  to_uni_hebrew_bin,                  /* to_uni        */
 
8139
  NULL,                       /* from_uni      */
 
8140
  my_unicase_default,         /* caseinfo      */
 
8141
  NULL,                       /* state map     */
 
8142
  NULL,                       /* ident map     */
 
8143
  1,                          /* strxfrm_multiply*/
 
8144
  1,                          /* caseup_multiply*/
 
8145
  1,                          /* casedn_multiply*/
 
8146
  1,                          /* mbminlen      */
 
8147
  1,                          /* mbmaxlen      */
 
8148
  0,                          /* min_sort_char */
 
8149
  255,                        /* max_sort_char */
 
8150
  ' ',                        /* pad_char      */
 
8151
  0,                          /* escape_with_backslash_is_dangerous */
 
8152
  &my_charset_8bit_handler,
 
8153
  &my_collation_8bit_bin_handler,
 
8154
}
 
8155
,
 
8156
#endif
 
8157
#ifdef HAVE_CHARSET_hp8
 
8158
{
 
8159
  72,0,0,
 
8160
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8161
  "hp8",                     /* cset name     */
 
8162
  "hp8_bin",                     /* coll name     */
 
8163
  "",                       /* comment       */
 
8164
  NULL,                       /* tailoring     */
 
8165
  ctype_hp8_bin,                   /* ctype         */
 
8166
  to_lower_hp8_bin,                /* lower         */
 
8167
  to_upper_hp8_bin,                /* upper         */
 
8168
  NULL,                     /* sort_order    */
 
8169
  NULL,                       /* contractions  */
 
8170
  NULL,                       /* sort_order_big*/
 
8171
  to_uni_hp8_bin,                  /* to_uni        */
 
8172
  NULL,                       /* from_uni      */
 
8173
  my_unicase_default,         /* caseinfo      */
 
8174
  NULL,                       /* state map     */
 
8175
  NULL,                       /* ident map     */
 
8176
  1,                          /* strxfrm_multiply*/
 
8177
  1,                          /* caseup_multiply*/
 
8178
  1,                          /* casedn_multiply*/
 
8179
  1,                          /* mbminlen      */
 
8180
  1,                          /* mbmaxlen      */
 
8181
  0,                          /* min_sort_char */
 
8182
  255,                        /* max_sort_char */
 
8183
  ' ',                        /* pad_char      */
 
8184
  0,                          /* escape_with_backslash_is_dangerous */
 
8185
  &my_charset_8bit_handler,
 
8186
  &my_collation_8bit_bin_handler,
 
8187
}
 
8188
,
 
8189
#endif
 
8190
#ifdef HAVE_CHARSET_keybcs2
 
8191
{
 
8192
  73,0,0,
 
8193
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8194
  "keybcs2",                     /* cset name     */
 
8195
  "keybcs2_bin",                     /* coll name     */
 
8196
  "",                       /* comment       */
 
8197
  NULL,                       /* tailoring     */
 
8198
  ctype_keybcs2_bin,                   /* ctype         */
 
8199
  to_lower_keybcs2_bin,                /* lower         */
 
8200
  to_upper_keybcs2_bin,                /* upper         */
 
8201
  NULL,                     /* sort_order    */
 
8202
  NULL,                       /* contractions  */
 
8203
  NULL,                       /* sort_order_big*/
 
8204
  to_uni_keybcs2_bin,                  /* to_uni        */
 
8205
  NULL,                       /* from_uni      */
 
8206
  my_unicase_default,         /* caseinfo      */
 
8207
  NULL,                       /* state map     */
 
8208
  NULL,                       /* ident map     */
 
8209
  1,                          /* strxfrm_multiply*/
 
8210
  1,                          /* caseup_multiply*/
 
8211
  1,                          /* casedn_multiply*/
 
8212
  1,                          /* mbminlen      */
 
8213
  1,                          /* mbmaxlen      */
 
8214
  0,                          /* min_sort_char */
 
8215
  255,                        /* max_sort_char */
 
8216
  ' ',                        /* pad_char      */
 
8217
  0,                          /* escape_with_backslash_is_dangerous */
 
8218
  &my_charset_8bit_handler,
 
8219
  &my_collation_8bit_bin_handler,
 
8220
}
 
8221
,
 
8222
#endif
 
8223
#ifdef HAVE_CHARSET_koi8r
 
8224
{
 
8225
  74,0,0,
 
8226
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8227
  "koi8r",                     /* cset name     */
 
8228
  "koi8r_bin",                     /* coll name     */
 
8229
  "",                       /* comment       */
 
8230
  NULL,                       /* tailoring     */
 
8231
  ctype_koi8r_bin,                   /* ctype         */
 
8232
  to_lower_koi8r_bin,                /* lower         */
 
8233
  to_upper_koi8r_bin,                /* upper         */
 
8234
  NULL,                     /* sort_order    */
 
8235
  NULL,                       /* contractions  */
 
8236
  NULL,                       /* sort_order_big*/
 
8237
  to_uni_koi8r_bin,                  /* to_uni        */
 
8238
  NULL,                       /* from_uni      */
 
8239
  my_unicase_default,         /* caseinfo      */
 
8240
  NULL,                       /* state map     */
 
8241
  NULL,                       /* ident map     */
 
8242
  1,                          /* strxfrm_multiply*/
 
8243
  1,                          /* caseup_multiply*/
 
8244
  1,                          /* casedn_multiply*/
 
8245
  1,                          /* mbminlen      */
 
8246
  1,                          /* mbmaxlen      */
 
8247
  0,                          /* min_sort_char */
 
8248
  255,                        /* max_sort_char */
 
8249
  ' ',                        /* pad_char      */
 
8250
  0,                          /* escape_with_backslash_is_dangerous */
 
8251
  &my_charset_8bit_handler,
 
8252
  &my_collation_8bit_bin_handler,
 
8253
}
 
8254
,
 
8255
#endif
 
8256
#ifdef HAVE_CHARSET_koi8u
 
8257
{
 
8258
  75,0,0,
 
8259
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8260
  "koi8u",                     /* cset name     */
 
8261
  "koi8u_bin",                     /* coll name     */
 
8262
  "",                       /* comment       */
 
8263
  NULL,                       /* tailoring     */
 
8264
  ctype_koi8u_bin,                   /* ctype         */
 
8265
  to_lower_koi8u_bin,                /* lower         */
 
8266
  to_upper_koi8u_bin,                /* upper         */
 
8267
  NULL,                     /* sort_order    */
 
8268
  NULL,                       /* contractions  */
 
8269
  NULL,                       /* sort_order_big*/
 
8270
  to_uni_koi8u_bin,                  /* to_uni        */
 
8271
  NULL,                       /* from_uni      */
 
8272
  my_unicase_default,         /* caseinfo      */
 
8273
  NULL,                       /* state map     */
 
8274
  NULL,                       /* ident map     */
 
8275
  1,                          /* strxfrm_multiply*/
 
8276
  1,                          /* caseup_multiply*/
 
8277
  1,                          /* casedn_multiply*/
 
8278
  1,                          /* mbminlen      */
 
8279
  1,                          /* mbmaxlen      */
 
8280
  0,                          /* min_sort_char */
 
8281
  255,                        /* max_sort_char */
 
8282
  ' ',                        /* pad_char      */
 
8283
  0,                          /* escape_with_backslash_is_dangerous */
 
8284
  &my_charset_8bit_handler,
 
8285
  &my_collation_8bit_bin_handler,
 
8286
}
 
8287
,
 
8288
#endif
 
8289
#ifdef HAVE_CHARSET_latin2
 
8290
{
 
8291
  77,0,0,
 
8292
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8293
  "latin2",                     /* cset name     */
 
8294
  "latin2_bin",                     /* coll name     */
 
8295
  "",                       /* comment       */
 
8296
  NULL,                       /* tailoring     */
 
8297
  ctype_latin2_bin,                   /* ctype         */
 
8298
  to_lower_latin2_bin,                /* lower         */
 
8299
  to_upper_latin2_bin,                /* upper         */
 
8300
  NULL,                     /* sort_order    */
 
8301
  NULL,                       /* contractions  */
 
8302
  NULL,                       /* sort_order_big*/
 
8303
  to_uni_latin2_bin,                  /* to_uni        */
 
8304
  NULL,                       /* from_uni      */
 
8305
  my_unicase_default,         /* caseinfo      */
 
8306
  NULL,                       /* state map     */
 
8307
  NULL,                       /* ident map     */
 
8308
  1,                          /* strxfrm_multiply*/
 
8309
  1,                          /* caseup_multiply*/
 
8310
  1,                          /* casedn_multiply*/
 
8311
  1,                          /* mbminlen      */
 
8312
  1,                          /* mbmaxlen      */
 
8313
  0,                          /* min_sort_char */
 
8314
  255,                        /* max_sort_char */
 
8315
  ' ',                        /* pad_char      */
 
8316
  0,                          /* escape_with_backslash_is_dangerous */
 
8317
  &my_charset_8bit_handler,
 
8318
  &my_collation_8bit_bin_handler,
 
8319
}
 
8320
,
 
8321
#endif
 
8322
#ifdef HAVE_CHARSET_latin5
 
8323
{
 
8324
  78,0,0,
 
8325
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8326
  "latin5",                     /* cset name     */
 
8327
  "latin5_bin",                     /* coll name     */
 
8328
  "",                       /* comment       */
 
8329
  NULL,                       /* tailoring     */
 
8330
  ctype_latin5_bin,                   /* ctype         */
 
8331
  to_lower_latin5_bin,                /* lower         */
 
8332
  to_upper_latin5_bin,                /* upper         */
 
8333
  NULL,                     /* sort_order    */
 
8334
  NULL,                       /* contractions  */
 
8335
  NULL,                       /* sort_order_big*/
 
8336
  to_uni_latin5_bin,                  /* to_uni        */
 
8337
  NULL,                       /* from_uni      */
 
8338
  my_unicase_default,         /* caseinfo      */
 
8339
  NULL,                       /* state map     */
 
8340
  NULL,                       /* ident map     */
 
8341
  1,                          /* strxfrm_multiply*/
 
8342
  1,                          /* caseup_multiply*/
 
8343
  1,                          /* casedn_multiply*/
 
8344
  1,                          /* mbminlen      */
 
8345
  1,                          /* mbmaxlen      */
 
8346
  0,                          /* min_sort_char */
 
8347
  255,                        /* max_sort_char */
 
8348
  ' ',                        /* pad_char      */
 
8349
  0,                          /* escape_with_backslash_is_dangerous */
 
8350
  &my_charset_8bit_handler,
 
8351
  &my_collation_8bit_bin_handler,
 
8352
}
 
8353
,
 
8354
#endif
 
8355
#ifdef HAVE_CHARSET_latin7
 
8356
{
 
8357
  79,0,0,
 
8358
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8359
  "latin7",                     /* cset name     */
 
8360
  "latin7_bin",                     /* coll name     */
 
8361
  "",                       /* comment       */
 
8362
  NULL,                       /* tailoring     */
 
8363
  ctype_latin7_bin,                   /* ctype         */
 
8364
  to_lower_latin7_bin,                /* lower         */
 
8365
  to_upper_latin7_bin,                /* upper         */
 
8366
  NULL,                     /* sort_order    */
 
8367
  NULL,                       /* contractions  */
 
8368
  NULL,                       /* sort_order_big*/
 
8369
  to_uni_latin7_bin,                  /* to_uni        */
 
8370
  NULL,                       /* from_uni      */
 
8371
  my_unicase_default,         /* caseinfo      */
 
8372
  NULL,                       /* state map     */
 
8373
  NULL,                       /* ident map     */
 
8374
  1,                          /* strxfrm_multiply*/
 
8375
  1,                          /* caseup_multiply*/
 
8376
  1,                          /* casedn_multiply*/
 
8377
  1,                          /* mbminlen      */
 
8378
  1,                          /* mbmaxlen      */
 
8379
  0,                          /* min_sort_char */
 
8380
  255,                        /* max_sort_char */
 
8381
  ' ',                        /* pad_char      */
 
8382
  0,                          /* escape_with_backslash_is_dangerous */
 
8383
  &my_charset_8bit_handler,
 
8384
  &my_collation_8bit_bin_handler,
 
8385
}
 
8386
,
 
8387
#endif
 
8388
#ifdef HAVE_CHARSET_cp850
 
8389
{
 
8390
  80,0,0,
 
8391
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8392
  "cp850",                     /* cset name     */
 
8393
  "cp850_bin",                     /* coll name     */
 
8394
  "",                       /* comment       */
 
8395
  NULL,                       /* tailoring     */
 
8396
  ctype_cp850_bin,                   /* ctype         */
 
8397
  to_lower_cp850_bin,                /* lower         */
 
8398
  to_upper_cp850_bin,                /* upper         */
 
8399
  NULL,                     /* sort_order    */
 
8400
  NULL,                       /* contractions  */
 
8401
  NULL,                       /* sort_order_big*/
 
8402
  to_uni_cp850_bin,                  /* to_uni        */
 
8403
  NULL,                       /* from_uni      */
 
8404
  my_unicase_default,         /* caseinfo      */
 
8405
  NULL,                       /* state map     */
 
8406
  NULL,                       /* ident map     */
 
8407
  1,                          /* strxfrm_multiply*/
 
8408
  1,                          /* caseup_multiply*/
 
8409
  1,                          /* casedn_multiply*/
 
8410
  1,                          /* mbminlen      */
 
8411
  1,                          /* mbmaxlen      */
 
8412
  0,                          /* min_sort_char */
 
8413
  255,                        /* max_sort_char */
 
8414
  ' ',                        /* pad_char      */
 
8415
  0,                          /* escape_with_backslash_is_dangerous */
 
8416
  &my_charset_8bit_handler,
 
8417
  &my_collation_8bit_bin_handler,
 
8418
}
 
8419
,
 
8420
#endif
 
8421
#ifdef HAVE_CHARSET_cp852
 
8422
{
 
8423
  81,0,0,
 
8424
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8425
  "cp852",                     /* cset name     */
 
8426
  "cp852_bin",                     /* coll name     */
 
8427
  "",                       /* comment       */
 
8428
  NULL,                       /* tailoring     */
 
8429
  ctype_cp852_bin,                   /* ctype         */
 
8430
  to_lower_cp852_bin,                /* lower         */
 
8431
  to_upper_cp852_bin,                /* upper         */
 
8432
  NULL,                     /* sort_order    */
 
8433
  NULL,                       /* contractions  */
 
8434
  NULL,                       /* sort_order_big*/
 
8435
  to_uni_cp852_bin,                  /* to_uni        */
 
8436
  NULL,                       /* from_uni      */
 
8437
  my_unicase_default,         /* caseinfo      */
 
8438
  NULL,                       /* state map     */
 
8439
  NULL,                       /* ident map     */
 
8440
  1,                          /* strxfrm_multiply*/
 
8441
  1,                          /* caseup_multiply*/
 
8442
  1,                          /* casedn_multiply*/
 
8443
  1,                          /* mbminlen      */
 
8444
  1,                          /* mbmaxlen      */
 
8445
  0,                          /* min_sort_char */
 
8446
  255,                        /* max_sort_char */
 
8447
  ' ',                        /* pad_char      */
 
8448
  0,                          /* escape_with_backslash_is_dangerous */
 
8449
  &my_charset_8bit_handler,
 
8450
  &my_collation_8bit_bin_handler,
 
8451
}
 
8452
,
 
8453
#endif
 
8454
#ifdef HAVE_CHARSET_swe7
 
8455
{
 
8456
  82,0,0,
 
8457
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8458
  "swe7",                     /* cset name     */
 
8459
  "swe7_bin",                     /* coll name     */
 
8460
  "",                       /* comment       */
 
8461
  NULL,                       /* tailoring     */
 
8462
  ctype_swe7_bin,                   /* ctype         */
 
8463
  to_lower_swe7_bin,                /* lower         */
 
8464
  to_upper_swe7_bin,                /* upper         */
 
8465
  NULL,                     /* sort_order    */
 
8466
  NULL,                       /* contractions  */
 
8467
  NULL,                       /* sort_order_big*/
 
8468
  to_uni_swe7_bin,                  /* to_uni        */
 
8469
  NULL,                       /* from_uni      */
 
8470
  my_unicase_default,         /* caseinfo      */
 
8471
  NULL,                       /* state map     */
 
8472
  NULL,                       /* ident map     */
 
8473
  1,                          /* strxfrm_multiply*/
 
8474
  1,                          /* caseup_multiply*/
 
8475
  1,                          /* casedn_multiply*/
 
8476
  1,                          /* mbminlen      */
 
8477
  1,                          /* mbmaxlen      */
 
8478
  0,                          /* min_sort_char */
 
8479
  255,                        /* max_sort_char */
 
8480
  ' ',                        /* pad_char      */
 
8481
  0,                          /* escape_with_backslash_is_dangerous */
 
8482
  &my_charset_8bit_handler,
 
8483
  &my_collation_8bit_bin_handler,
 
8484
}
 
8485
,
 
8486
#endif
 
8487
#ifdef HAVE_CHARSET_geostd8
 
8488
{
 
8489
  92,0,0,
 
8490
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
8491
  "geostd8",                     /* cset name     */
 
8492
  "geostd8_general_ci",                     /* coll name     */
 
8493
  "",                       /* comment       */
 
8494
  NULL,                       /* tailoring     */
 
8495
  ctype_geostd8_general_ci,                   /* ctype         */
 
8496
  to_lower_geostd8_general_ci,                /* lower         */
 
8497
  to_upper_geostd8_general_ci,                /* upper         */
 
8498
  sort_order_geostd8_general_ci,            /* sort_order    */
 
8499
  NULL,                       /* contractions  */
 
8500
  NULL,                       /* sort_order_big*/
 
8501
  to_uni_geostd8_general_ci,                  /* to_uni        */
 
8502
  NULL,                       /* from_uni      */
 
8503
  my_unicase_default,         /* caseinfo      */
 
8504
  NULL,                       /* state map     */
 
8505
  NULL,                       /* ident map     */
 
8506
  1,                          /* strxfrm_multiply*/
 
8507
  1,                          /* caseup_multiply*/
 
8508
  1,                          /* casedn_multiply*/
 
8509
  1,                          /* mbminlen      */
 
8510
  1,                          /* mbmaxlen      */
 
8511
  0,                          /* min_sort_char */
 
8512
  255,                        /* max_sort_char */
 
8513
  ' ',                        /* pad_char      */
 
8514
  0,                          /* escape_with_backslash_is_dangerous */
 
8515
  &my_charset_8bit_handler,
 
8516
  &my_collation_8bit_simple_ci_handler,
 
8517
}
 
8518
,
 
8519
#endif
 
8520
#ifdef HAVE_CHARSET_geostd8
 
8521
{
 
8522
  93,0,0,
 
8523
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8524
  "geostd8",                     /* cset name     */
 
8525
  "geostd8_bin",                     /* coll name     */
 
8526
  "",                       /* comment       */
 
8527
  NULL,                       /* tailoring     */
 
8528
  ctype_geostd8_bin,                   /* ctype         */
 
8529
  to_lower_geostd8_bin,                /* lower         */
 
8530
  to_upper_geostd8_bin,                /* upper         */
 
8531
  NULL,                     /* sort_order    */
 
8532
  NULL,                       /* contractions  */
 
8533
  NULL,                       /* sort_order_big*/
 
8534
  to_uni_geostd8_bin,                  /* to_uni        */
 
8535
  NULL,                       /* from_uni      */
 
8536
  my_unicase_default,         /* caseinfo      */
 
8537
  NULL,                       /* state map     */
 
8538
  NULL,                       /* ident map     */
 
8539
  1,                          /* strxfrm_multiply*/
 
8540
  1,                          /* caseup_multiply*/
 
8541
  1,                          /* casedn_multiply*/
 
8542
  1,                          /* mbminlen      */
 
8543
  1,                          /* mbmaxlen      */
 
8544
  0,                          /* min_sort_char */
 
8545
  255,                        /* max_sort_char */
 
8546
  ' ',                        /* pad_char      */
 
8547
  0,                          /* escape_with_backslash_is_dangerous */
 
8548
  &my_charset_8bit_handler,
 
8549
  &my_collation_8bit_bin_handler,
 
8550
}
 
8551
,
 
8552
#endif
 
8553
#ifdef HAVE_CHARSET_geostd8
 
8554
{
 
8555
  92,0,0,
 
8556
  MY_CS_COMPILED|MY_CS_PRIMARY,
 
8557
  "geostd8",                     /* cset name     */
 
8558
  "geostd8_general_ci",                     /* coll name     */
 
8559
  "",                       /* comment       */
 
8560
  NULL,                       /* tailoring     */
 
8561
  ctype_geostd8_general_ci,                   /* ctype         */
 
8562
  to_lower_geostd8_general_ci,                /* lower         */
 
8563
  to_upper_geostd8_general_ci,                /* upper         */
 
8564
  sort_order_geostd8_general_ci,            /* sort_order    */
 
8565
  NULL,                       /* contractions  */
 
8566
  NULL,                       /* sort_order_big*/
 
8567
  to_uni_geostd8_general_ci,                  /* to_uni        */
 
8568
  NULL,                       /* from_uni      */
 
8569
  my_unicase_default,         /* caseinfo      */
 
8570
  NULL,                       /* state map     */
 
8571
  NULL,                       /* ident map     */
 
8572
  1,                          /* strxfrm_multiply*/
 
8573
  1,                          /* caseup_multiply*/
 
8574
  1,                          /* casedn_multiply*/
 
8575
  1,                          /* mbminlen      */
 
8576
  1,                          /* mbmaxlen      */
 
8577
  0,                          /* min_sort_char */
 
8578
  255,                        /* max_sort_char */
 
8579
  ' ',                        /* pad_char      */
 
8580
  0,                          /* escape_with_backslash_is_dangerous */
 
8581
  &my_charset_8bit_handler,
 
8582
  &my_collation_8bit_simple_ci_handler,
 
8583
}
 
8584
,
 
8585
#endif
 
8586
#ifdef HAVE_CHARSET_geostd8
 
8587
{
 
8588
  93,0,0,
 
8589
  MY_CS_COMPILED|MY_CS_BINSORT,
 
8590
  "geostd8",                     /* cset name     */
 
8591
  "geostd8_bin",                     /* coll name     */
 
8592
  "",                       /* comment       */
 
8593
  NULL,                       /* tailoring     */
 
8594
  ctype_geostd8_bin,                   /* ctype         */
 
8595
  to_lower_geostd8_bin,                /* lower         */
 
8596
  to_upper_geostd8_bin,                /* upper         */
 
8597
  NULL,                     /* sort_order    */
 
8598
  NULL,                       /* contractions  */
 
8599
  NULL,                       /* sort_order_big*/
 
8600
  to_uni_geostd8_bin,                  /* to_uni        */
 
8601
  NULL,                       /* from_uni      */
 
8602
  my_unicase_default,         /* caseinfo      */
 
8603
  NULL,                       /* state map     */
 
8604
  NULL,                       /* ident map     */
 
8605
  1,                          /* strxfrm_multiply*/
 
8606
  1,                          /* caseup_multiply*/
 
8607
  1,                          /* casedn_multiply*/
 
8608
  1,                          /* mbminlen      */
 
8609
  1,                          /* mbmaxlen      */
 
8610
  0,                          /* min_sort_char */
 
8611
  255,                        /* max_sort_char */
 
8612
  ' ',                        /* pad_char      */
 
8613
  0,                          /* escape_with_backslash_is_dangerous */
 
8614
  &my_charset_8bit_handler,
 
8615
  &my_collation_8bit_bin_handler,
 
8616
}
 
8617
,
 
8618
#endif
 
8619
#ifdef HAVE_CHARSET_latin1
 
8620
{
 
8621
  94,0,0,
 
8622
  MY_CS_COMPILED,
 
8623
  "latin1",                     /* cset name     */
 
8624
  "latin1_spanish_ci",                     /* coll name     */
 
8625
  "",                       /* comment       */
 
8626
  NULL,                       /* tailoring     */
 
8627
  ctype_latin1_spanish_ci,                   /* ctype         */
 
8628
  to_lower_latin1_spanish_ci,                /* lower         */
 
8629
  to_upper_latin1_spanish_ci,                /* upper         */
 
8630
  sort_order_latin1_spanish_ci,            /* sort_order    */
 
8631
  NULL,                       /* contractions  */
 
8632
  NULL,                       /* sort_order_big*/
 
8633
  to_uni_latin1_spanish_ci,                  /* to_uni        */
 
8634
  NULL,                       /* from_uni      */
 
8635
  my_unicase_default,         /* caseinfo      */
 
8636
  NULL,                       /* state map     */
 
8637
  NULL,                       /* ident map     */
 
8638
  1,                          /* strxfrm_multiply*/
 
8639
  1,                          /* caseup_multiply*/
 
8640
  1,                          /* casedn_multiply*/
 
8641
  1,                          /* mbminlen      */
 
8642
  1,                          /* mbmaxlen      */
 
8643
  0,                          /* min_sort_char */
 
8644
  255,                        /* max_sort_char */
 
8645
  ' ',                        /* pad_char      */
 
8646
  0,                          /* escape_with_backslash_is_dangerous */
 
8647
  &my_charset_8bit_handler,
 
8648
  &my_collation_8bit_simple_ci_handler,
 
8649
}
 
8650
,
 
8651
#endif
 
8652
#ifdef HAVE_CHARSET_cp1250
 
8653
{
 
8654
  99,0,0,
 
8655
  MY_CS_COMPILED,
 
8656
  "cp1250",                     /* cset name     */
 
8657
  "cp1250_polish_ci",                     /* coll name     */
 
8658
  "",                       /* comment       */
 
8659
  NULL,                       /* tailoring     */
 
8660
  ctype_cp1250_polish_ci,                   /* ctype         */
 
8661
  to_lower_cp1250_polish_ci,                /* lower         */
 
8662
  to_upper_cp1250_polish_ci,                /* upper         */
 
8663
  sort_order_cp1250_polish_ci,            /* sort_order    */
 
8664
  NULL,                       /* contractions  */
 
8665
  NULL,                       /* sort_order_big*/
 
8666
  to_uni_cp1250_polish_ci,                  /* to_uni        */
 
8667
  NULL,                       /* from_uni      */
 
8668
  my_unicase_default,         /* caseinfo      */
 
8669
  NULL,                       /* state map     */
 
8670
  NULL,                       /* ident map     */
 
8671
  1,                          /* strxfrm_multiply*/
 
8672
  1,                          /* caseup_multiply*/
 
8673
  1,                          /* casedn_multiply*/
 
8674
  1,                          /* mbminlen      */
 
8675
  1,                          /* mbmaxlen      */
 
8676
  0,                          /* min_sort_char */
 
8677
  255,                        /* max_sort_char */
 
8678
  ' ',                        /* pad_char      */
 
8679
  0,                          /* escape_with_backslash_is_dangerous */
 
8680
  &my_charset_8bit_handler,
 
8681
  &my_collation_8bit_simple_ci_handler,
 
8682
}
 
8683
,
 
8684
#endif
 
8685
{
 
8686
  0,0,0,
 
8687
  MY_CS_COMPILED,
 
8688
  NULL,                       /* cset name     */
 
8689
  NULL,                       /* coll name     */
 
8690
  NULL,                       /* comment       */
 
8691
  NULL,                       /* tailoging     */
 
8692
  NULL,                       /* ctype         */
 
8693
  NULL,                       /* lower         */
 
8694
  NULL,                       /* upper         */
 
8695
  NULL,                       /* sort order    */
 
8696
  NULL,                       /* contractions  */
 
8697
  NULL,                       /* sort_order_big*/
 
8698
  NULL,                       /* to_uni        */
 
8699
  NULL,                       /* from_uni      */
 
8700
  my_unicase_default,         /* caseinfo      */
 
8701
  NULL,                       /* state map     */
 
8702
  NULL,                       /* ident map     */
 
8703
  1,                          /* strxfrm_multiply*/
 
8704
  1,                          /* caseup_multiply*/
 
8705
  1,                          /* casedn_multiply*/
 
8706
  1,                          /* mbminlen      */
 
8707
  1,                          /* mbmaxlen      */
 
8708
  0,                          /* min_sort_char */
 
8709
  255,                        /* max_sort_char */
 
8710
  ' ',                        /* pad_char      */
 
8711
  0,                          /* escape_with_backslash_is_dangerous */
 
8712
  &my_charset_8bit_handler,
 
8713
  &my_collation_8bit_simple_ci_handler,
 
8714
}
 
8715
};