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 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc. |
10 | Copyright (c) 2000, 2011, Oracle and/or its affiliates. |
11 | Copyright 2008-2016 MariaDB Corporation |
12 | |
13 | This program is free software; you can redistribute it and/or modify |
14 | it under the terms of the GNU General Public License as published by |
15 | the Free Software Foundation; version 2 of the License. |
16 | |
17 | This program is distributed in the hope that it will be useful, |
18 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 | GNU General Public License for more details. |
21 | |
22 | You should have received a copy of the GNU General Public License |
23 | along with this program; if not, write to the Free Software |
24 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ |
25 | |
26 | #include "strings_def.h" |
27 | #include <m_ctype.h> |
28 | |
29 | #ifdef HAVE_CHARSET_dec8 |
30 | static const uchar ctype_dec8_swedish_ci[] = { |
31 | 0x00, |
32 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
33 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
34 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
35 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
36 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
37 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
38 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
39 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
40 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
41 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
42 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
43 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
44 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
45 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
46 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
47 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02 |
48 | }; |
49 | |
50 | static const uchar to_lower_dec8_swedish_ci[] = { |
51 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
52 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
53 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
54 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
55 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
57 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
58 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
59 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
60 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
61 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
62 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
65 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
66 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
67 | }; |
68 | |
69 | static const uchar to_upper_dec8_swedish_ci[] = { |
70 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
71 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
72 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
73 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
74 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
76 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
77 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
78 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
79 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
80 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
81 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
84 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
85 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
86 | }; |
87 | |
88 | static const uchar sort_order_dec8_swedish_ci[] = { |
89 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
90 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
91 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
92 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
93 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
95 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
96 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
97 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
98 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
99 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
100 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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,0xD7,0xD8,0x55,0x55,0x55,0x59,0x59,0xDE,0xDF, |
103 | 0x41,0x41,0x41,0x41,0x5C,0x5B,0x5C,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49, |
104 | 0x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5D,0xF7,0xD8,0x55,0x55,0x55,0x59,0x59,0xDE,0xFF |
105 | }; |
106 | |
107 | static const uint16 to_uni_dec8_swedish_ci[] = { |
108 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
109 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
110 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
111 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
112 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
113 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
114 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
115 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
116 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
117 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
118 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
119 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
120 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
121 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
122 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
123 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
124 | 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, |
125 | 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, |
126 | 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, |
127 | 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, |
128 | 0x00A0,0x00A1,0x00A2,0x00A3,0x0000,0x00A5,0x0000,0x00A7, |
129 | 0x00A4,0x00A9,0x00AA,0x00AB,0x0000,0x0000,0x0000,0x0000, |
130 | 0x00B0,0x00B1,0x00B2,0x00B3,0x0000,0x00B5,0x00B6,0x00B7, |
131 | 0x0000,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x0000,0x00BF, |
132 | 0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7, |
133 | 0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF, |
134 | 0x0000,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x0152, |
135 | 0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x0178,0x0000,0x00DF, |
136 | 0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7, |
137 | 0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF, |
138 | 0x0000,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x0153, |
139 | 0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FF,0x0000,0x0000 |
140 | }; |
141 | |
142 | #endif |
143 | |
144 | #ifdef HAVE_CHARSET_cp850 |
145 | static const uchar ctype_cp850_general_ci[] = { |
146 | 0x00, |
147 | 0x20,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x30,0x30, |
148 | 0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x30,0x30,0x30,0x30,0x30, |
149 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
150 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
151 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
152 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
153 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
154 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x30, |
155 | 0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x01, |
156 | 0x01,0x02,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x01,0x02,0x10,0x01,0x10,0x10, |
157 | 0x02,0x02,0x02,0x02,0x02,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
158 | 0x10,0x10,0x10,0x10,0x10,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
159 | 0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
160 | 0x02,0x01,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x01,0x10, |
161 | 0x01,0x02,0x01,0x01,0x02,0x01,0x10,0x02,0x01,0x01,0x01,0x01,0x02,0x01,0x10,0x10, |
162 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20 |
163 | }; |
164 | |
165 | static const uchar to_lower_cp850_general_ci[] = { |
166 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
167 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
168 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
169 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
170 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
172 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
173 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
174 | 0x87,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x84,0x86, |
175 | 0x82,0x91,0x91,0x93,0x94,0x95,0x96,0x97,0x98,0x94,0x81,0x9B,0x9C,0x9D,0x9E,0x9F, |
176 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA4,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
177 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
178 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
179 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
180 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
181 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
182 | }; |
183 | |
184 | static const uchar to_upper_cp850_general_ci[] = { |
185 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
186 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
187 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
188 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
189 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
191 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
192 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
193 | 0x80,0x9A,0x90,0x41,0x8E,0x41,0x8F,0x80,0x45,0x45,0x45,0x49,0x49,0x49,0x8E,0x8F, |
194 | 0x90,0x92,0x92,0x4F,0x99,0x4F,0x55,0x55,0x59,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
195 | 0x41,0x49,0x4F,0x55,0xA5,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
196 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
197 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
198 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
199 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
200 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
201 | }; |
202 | |
203 | static const uchar sort_order_cp850_general_ci[] = { |
204 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
205 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
206 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
207 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
208 | 0x40,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,0xB1,0xB2,0xB3,0xB4,0xB5, |
210 | 0xB6,0x41,0x51,0x53,0x55,0x59,0x63,0x65,0x67,0x69,0x74,0x76,0x78,0x7A,0x7C,0x80, |
211 | 0x8E,0x90,0x92,0x94,0x97,0x99,0xA3,0xA5,0xA7,0xA9,0xAE,0xB7,0xB8,0xB9,0xBA,0xBB, |
212 | 0x54,0xA1,0x5D,0x47,0x4B,0x43,0x4D,0x54,0x5F,0x61,0x5B,0x71,0x6F,0x6B,0x4B,0x4D, |
213 | 0x5D,0x4F,0x4F,0x86,0x8A,0x82,0x9F,0x9B,0xAD,0x8A,0xA1,0x8C,0xE3,0x8C,0xBD,0xBE, |
214 | 0x45,0x6D,0x84,0x9D,0x7E,0x7E,0xEA,0xFA,0xFF,0xEE,0xEC,0xFD,0xFC,0xCE,0xEB,0xFB, |
215 | 0xDC,0xDD,0xDE,0xC3,0xC9,0x45,0x47,0x43,0xE9,0xD5,0xCF,0xD1,0xD3,0xE2,0xE5,0xC5, |
216 | 0xC6,0xCB,0xCA,0xC8,0xC2,0xCC,0x49,0x49,0xD2,0xD0,0xD7,0xD6,0xD4,0xCD,0xD8,0xE4, |
217 | 0x57,0x57,0x5F,0x61,0x5B,0x73,0x6D,0x6F,0x71,0xC7,0xC4,0xDB,0xDA,0xE6,0x6B,0xD9, |
218 | 0x84,0x96,0x86,0x82,0x88,0x88,0xF5,0xB0,0xB0,0x9D,0x9F,0x9B,0xAB,0xAB,0xEF,0xF4, |
219 | 0xED,0xF1,0xC1,0xFE,0xF6,0xE7,0xBF,0xBC,0xF0,0xE8,0xF7,0xF9,0xF3,0xF2,0xDF,0xE0 |
220 | }; |
221 | |
222 | static const uint16 to_uni_cp850_general_ci[] = { |
223 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
224 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
225 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
226 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
227 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
228 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
229 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
230 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
231 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
232 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
233 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
234 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
235 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
236 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
237 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
238 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
239 | 0x00C7,0x00FC,0x00E9,0x00E2,0x00E4,0x00E0,0x00E5,0x00E7, |
240 | 0x00EA,0x00EB,0x00E8,0x00EF,0x00EE,0x00EC,0x00C4,0x00C5, |
241 | 0x00C9,0x00E6,0x00C6,0x00F4,0x00F6,0x00F2,0x00FB,0x00F9, |
242 | 0x00FF,0x00D6,0x00DC,0x00F8,0x00A3,0x00D8,0x00D7,0x0192, |
243 | 0x00E1,0x00ED,0x00F3,0x00FA,0x00F1,0x00D1,0x00AA,0x00BA, |
244 | 0x00BF,0x00AE,0x00AC,0x00BD,0x00BC,0x00A1,0x00AB,0x00BB, |
245 | 0x2591,0x2592,0x2593,0x2502,0x2524,0x00C1,0x00C2,0x00C0, |
246 | 0x00A9,0x2563,0x2551,0x2557,0x255D,0x00A2,0x00A5,0x2510, |
247 | 0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x00E3,0x00C3, |
248 | 0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x00A4, |
249 | 0x00F0,0x00D0,0x00CA,0x00CB,0x00C8,0x0131,0x00CD,0x00CE, |
250 | 0x00CF,0x2518,0x250C,0x2588,0x2584,0x00A6,0x00CC,0x2580, |
251 | 0x00D3,0x00DF,0x00D4,0x00D2,0x00F5,0x00D5,0x00B5,0x00FE, |
252 | 0x00DE,0x00DA,0x00DB,0x00D9,0x00FD,0x00DD,0x00AF,0x00B4, |
253 | 0x00AD,0x00B1,0x2017,0x00BE,0x00B6,0x00A7,0x00F7,0x00B8, |
254 | 0x00B0,0x00A8,0x00B7,0x00B9,0x00B3,0x00B2,0x25A0,0x00A0 |
255 | }; |
256 | |
257 | #endif |
258 | |
259 | #ifdef HAVE_CHARSET_latin1 |
260 | static const uchar ctype_latin1_german1_ci[] = { |
261 | 0x00, |
262 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
263 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
264 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
265 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
266 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
267 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
268 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
269 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
270 | 0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00, |
271 | 0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01, |
272 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
273 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
274 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
275 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
276 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
277 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02 |
278 | }; |
279 | |
280 | static const uchar to_lower_latin1_german1_ci[] = { |
281 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
282 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
283 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
284 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
285 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
287 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
288 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
289 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
290 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
291 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
292 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
295 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
296 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
297 | }; |
298 | |
299 | static const uchar to_upper_latin1_german1_ci[] = { |
300 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
301 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
302 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
303 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
304 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
306 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
307 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
308 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
309 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
310 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
311 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
314 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
315 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
316 | }; |
317 | |
318 | static const uchar sort_order_latin1_german1_ci[] = { |
319 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
320 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
321 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
322 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
323 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
325 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
326 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
327 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
328 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
329 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
330 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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,0xD7,0x4F,0x55,0x55,0x55,0x55,0x59,0xDE,0x53, |
333 | 0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49, |
334 | 0xD0,0x4E,0x4F,0x4F,0x4F,0x4F,0x4F,0xF7,0x4F,0x55,0x55,0x55,0x55,0x59,0xDE,0xFF |
335 | }; |
336 | |
337 | static const uint16 to_uni_latin1_german1_ci[] = { |
338 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
339 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
340 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
341 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
342 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
343 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
344 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
345 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
346 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
347 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
348 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
349 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
350 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
351 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
352 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
353 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
354 | 0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021, |
355 | 0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F, |
356 | 0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
357 | 0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178, |
358 | 0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, |
359 | 0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF, |
360 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
361 | 0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF, |
362 | 0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7, |
363 | 0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF, |
364 | 0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7, |
365 | 0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF, |
366 | 0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7, |
367 | 0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF, |
368 | 0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7, |
369 | 0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF |
370 | }; |
371 | |
372 | #endif |
373 | |
374 | #ifdef HAVE_CHARSET_hp8 |
375 | static const uchar ctype_hp8_english_ci[] = { |
376 | 0x00, |
377 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
378 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
379 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
380 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
381 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
382 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
383 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
384 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
385 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
386 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
387 | 0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
388 | 0x10,0x20,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
389 | 0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x02, |
390 | 0x01,0x10,0x10,0x01,0x02,0x10,0x10,0x02,0x01,0x10,0x01,0x01,0x01,0x10,0x10,0x10, |
391 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
392 | 0x10,0x10,0x20,0x20,0x20,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20 |
393 | }; |
394 | |
395 | static const uchar to_lower_hp8_english_ci[] = { |
396 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
397 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
398 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
399 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
400 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
402 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
403 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
404 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
405 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
406 | 0xA0,0xC8,0xC0,0xC9,0xC1,0xCD,0xD1,0xDD,0xA8,0xA9,0xAA,0xAB,0xAC,0xCB,0xC3,0xAF, |
407 | 0xB0,0xB2,0xB2,0xB3,0xB5,0xB5,0xB7,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
408 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
409 | 0xD4,0xD1,0xD6,0xD7,0xD4,0xD5,0xD6,0xD7,0xCC,0xD9,0xCE,0xCF,0xC5,0xDD,0xDE,0xC2, |
410 | 0xC4,0xE2,0xE2,0xE4,0xE4,0xD5,0xD9,0xC6,0xCA,0xEA,0xEA,0xEC,0xEC,0xC7,0xEF,0xEF, |
411 | 0xF1,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
412 | }; |
413 | |
414 | static const uchar to_upper_hp8_english_ci[] = { |
415 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
416 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
417 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
418 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
419 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
421 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
422 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
423 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
424 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
425 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
426 | 0xB0,0xB1,0xB1,0xB3,0xB4,0xB4,0xB6,0xB6,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
427 | 0xA2,0xA4,0xDF,0xAE,0xE0,0xDC,0xE7,0xED,0xA1,0xA3,0xE8,0xAD,0xD8,0xA5,0xDA,0xDB, |
428 | 0xD0,0xA6,0xD2,0xD3,0xD0,0xE5,0xD2,0xD3,0xD8,0xE6,0xDA,0xDB,0xDC,0xA7,0xDE,0xDF, |
429 | 0xE0,0xE1,0xE1,0xE3,0xE3,0xE5,0xE6,0xE7,0xE8,0xE9,0xE9,0xEB,0xEB,0xED,0xEE,0xEE, |
430 | 0xF0,0xF0,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
431 | }; |
432 | |
433 | static const uchar sort_order_hp8_english_ci[] = { |
434 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
435 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
436 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
437 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
438 | 0x40,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,0x5C,0x5D,0x5B,0x5E,0x5F, |
440 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
441 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
442 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
443 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
444 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
445 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
446 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
447 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
448 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
449 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
450 | }; |
451 | |
452 | static const uint16 to_uni_hp8_english_ci[] = { |
453 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
454 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
455 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
456 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
457 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
458 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
459 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
460 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
461 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
462 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
463 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
464 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
465 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
466 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
467 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
468 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
469 | 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, |
470 | 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, |
471 | 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, |
472 | 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, |
473 | 0x00A0,0x00C0,0x00C2,0x00C8,0x00CA,0x00CB,0x00CE,0x00CF, |
474 | 0x00B4,0x02CB,0x02C6,0x00A8,0x02DC,0x00D9,0x00DB,0x20A4, |
475 | 0x00AF,0x00DD,0x00FD,0x00B0,0x00C7,0x00E7,0x00D1,0x00F1, |
476 | 0x00A1,0x00BF,0x00A4,0x00A3,0x00A5,0x00A7,0x0192,0x00A2, |
477 | 0x00E2,0x00EA,0x00F4,0x00FB,0x00E1,0x00E9,0x00F3,0x00FA, |
478 | 0x00E0,0x00E8,0x00F2,0x00F9,0x00E4,0x00EB,0x00F6,0x00FC, |
479 | 0x00C5,0x00EE,0x00D8,0x00C6,0x00E5,0x00ED,0x00F8,0x00E6, |
480 | 0x00C4,0x00EC,0x00D6,0x00DC,0x00C9,0x00EF,0x00DF,0x00D4, |
481 | 0x00C1,0x00C3,0x00E3,0x00D0,0x00F0,0x00CD,0x00CC,0x00D3, |
482 | 0x00D2,0x00D5,0x00F5,0x0160,0x0161,0x00DA,0x0178,0x00FF, |
483 | 0x00DE,0x00FE,0x00B7,0x00B5,0x00B6,0x00BE,0x2014,0x00BC, |
484 | 0x00BD,0x00AA,0x00BA,0x00AB,0x25A0,0x00BB,0x00B1,0x0000 |
485 | }; |
486 | |
487 | #endif |
488 | |
489 | #ifdef HAVE_CHARSET_koi8r |
490 | static const uchar ctype_koi8r_general_ci[] = { |
491 | 0x00, |
492 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
493 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
494 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
495 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
496 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
497 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
498 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
499 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
500 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
501 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
502 | 0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
503 | 0x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
504 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
505 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
506 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
507 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01 |
508 | }; |
509 | |
510 | static const uchar to_lower_koi8r_general_ci[] = { |
511 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
512 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
513 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
514 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
515 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
517 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
518 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
519 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
520 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
521 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
522 | 0xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
526 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF |
527 | }; |
528 | |
529 | static const uchar to_upper_koi8r_general_ci[] = { |
530 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
531 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
532 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
533 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
534 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
536 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
537 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
538 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
539 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
540 | 0xA0,0xA1,0xA2,0xB3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
541 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
545 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
546 | }; |
547 | |
548 | static const uchar sort_order_koi8r_general_ci[] = { |
549 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
550 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
551 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
552 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
553 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
555 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
556 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
557 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
558 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
559 | 0xA0,0xA1,0xA2,0xE5,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE, |
560 | 0xAF,0xB0,0xB1,0xE5,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD, |
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 | 0xFE,0xDF,0xE0,0xF6,0xE3,0xE4,0xF4,0xE2,0xF5,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE, |
564 | 0xEF,0xFF,0xF0,0xF1,0xF2,0xF3,0xE6,0xE1,0xFC,0xFB,0xE7,0xF8,0xFD,0xF9,0xF7,0xFA |
565 | }; |
566 | |
567 | static const uint16 to_uni_koi8r_general_ci[] = { |
568 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
569 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
570 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
571 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
572 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
573 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
574 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
575 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
576 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
577 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
578 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
579 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
580 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
581 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
582 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
583 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
584 | 0x2500,0x2502,0x250C,0x2510,0x2514,0x2518,0x251C,0x2524, |
585 | 0x252C,0x2534,0x253C,0x2580,0x2584,0x2588,0x258C,0x2590, |
586 | 0x2591,0x2592,0x2593,0x2320,0x25A0,0x2219,0x221A,0x2248, |
587 | 0x2264,0x2265,0x00A0,0x2321,0x00B0,0x00B2,0x00B7,0x00F7, |
588 | 0x2550,0x2551,0x2552,0x0451,0x2553,0x2554,0x2555,0x2556, |
589 | 0x2557,0x2558,0x2559,0x255A,0x255B,0x255C,0x255D,0x255E, |
590 | 0x255F,0x2560,0x2561,0x0401,0x2562,0x2563,0x2564,0x2565, |
591 | 0x2566,0x2567,0x2568,0x2569,0x256A,0x256B,0x256C,0x00A9, |
592 | 0x044E,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433, |
593 | 0x0445,0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E, |
594 | 0x043F,0x044F,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432, |
595 | 0x044C,0x044B,0x0437,0x0448,0x044D,0x0449,0x0447,0x044A, |
596 | 0x042E,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413, |
597 | 0x0425,0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E, |
598 | 0x041F,0x042F,0x0420,0x0421,0x0422,0x0423,0x0416,0x0412, |
599 | 0x042C,0x042B,0x0417,0x0428,0x042D,0x0429,0x0427,0x042A |
600 | }; |
601 | |
602 | #endif |
603 | |
604 | #ifdef HAVE_CHARSET_latin2 |
605 | static const uchar ctype_latin2_general_ci[] = { |
606 | 0x00, |
607 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
608 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
609 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
610 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
611 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
612 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
613 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
614 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00, |
615 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
616 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
617 | 0x48,0x01,0x10,0x01,0x10,0x01,0x01,0x10,0x10,0x01,0x01,0x01,0x01,0x10,0x01,0x01, |
618 | 0x10,0x02,0x10,0x02,0x10,0x02,0x02,0x10,0x10,0x02,0x02,0x02,0x02,0x10,0x02,0x02, |
619 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
620 | 0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10, |
621 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
622 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10 |
623 | }; |
624 | |
625 | static const uchar to_lower_latin2_general_ci[] = { |
626 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
627 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
628 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
629 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
630 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
632 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
633 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
634 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
635 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
636 | 0xA0,0xB1,0xA2,0xB3,0xA4,0xB5,0xB6,0xA7,0xA8,0xB9,0xBA,0xBB,0xBC,0xAD,0xBE,0xBF, |
637 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
640 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
641 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
642 | }; |
643 | |
644 | static const uchar to_upper_latin2_general_ci[] = { |
645 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
646 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
647 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
648 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
649 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
651 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
652 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
653 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
654 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
655 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
656 | 0xB0,0xA1,0xB2,0xA3,0xB4,0xA5,0xA6,0xB7,0xB8,0xA9,0xAA,0xAB,0xAC,0xBD,0xAE,0xAF, |
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,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
659 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
660 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
661 | }; |
662 | |
663 | static const uchar sort_order_latin2_general_ci[] = { |
664 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
665 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
666 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
667 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
668 | 0x40,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,0x68,0x69,0x6A,0x6B,0x6C, |
670 | 0x6D,0x41,0x44,0x45,0x48,0x49,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x53,0x54,0x56, |
671 | 0x58,0x59,0x5A,0x5B,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x6E,0x6F,0x70,0x71,0xFF, |
672 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
673 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
674 | 0xFF,0x42,0xFF,0x52,0xFF,0x51,0x5C,0xFF,0xFF,0x5D,0x5B,0x5E,0x65,0xFF,0x67,0x66, |
675 | 0xFF,0x42,0xFF,0x52,0xFF,0x51,0x5C,0xFF,0xFF,0x5D,0x5B,0x5E,0x65,0xFF,0x67,0x66, |
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 | 0x5A,0x43,0x43,0x43,0x43,0x51,0x46,0x45,0x47,0x49,0x4A,0x49,0x49,0x4E,0x4E,0x48, |
679 | 0xFF,0x55,0x54,0x57,0x56,0x56,0x56,0xFF,0x5A,0x5F,0x5F,0x5F,0x5F,0x63,0x5E,0xFF |
680 | }; |
681 | |
682 | static const uint16 to_uni_latin2_general_ci[] = { |
683 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
684 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
685 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
686 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
687 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
688 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
689 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
690 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
691 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
692 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
693 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
694 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
695 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
696 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
697 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
698 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
699 | 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, |
700 | 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, |
701 | 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, |
702 | 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, |
703 | 0x00A0,0x0104,0x02D8,0x0141,0x00A4,0x013D,0x015A,0x00A7, |
704 | 0x00A8,0x0160,0x015E,0x0164,0x0179,0x00AD,0x017D,0x017B, |
705 | 0x00B0,0x0105,0x02DB,0x0142,0x00B4,0x013E,0x015B,0x02C7, |
706 | 0x00B8,0x0161,0x015F,0x0165,0x017A,0x02DD,0x017E,0x017C, |
707 | 0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7, |
708 | 0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E, |
709 | 0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7, |
710 | 0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF, |
711 | 0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7, |
712 | 0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F, |
713 | 0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7, |
714 | 0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9 |
715 | }; |
716 | |
717 | #endif |
718 | |
719 | #ifdef HAVE_CHARSET_swe7 |
720 | static const uchar ctype_swe7_swedish_ci[] = { |
721 | 0x00, |
722 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
723 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
724 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
725 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
726 | 0x01,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
727 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10, |
728 | 0x01,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
729 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x20, |
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 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
737 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 |
738 | }; |
739 | |
740 | static const uchar to_lower_swe7_swedish_ci[] = { |
741 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
742 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
743 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
744 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
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,0x5F, |
747 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
748 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
749 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
750 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
751 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
752 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
753 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
754 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
755 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
756 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
757 | }; |
758 | |
759 | static const uchar to_upper_swe7_swedish_ci[] = { |
760 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
761 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
762 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
763 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
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,0x5F, |
766 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
767 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x7F, |
768 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
769 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
770 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
771 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
772 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
773 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
774 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
775 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
776 | }; |
777 | |
778 | static const uchar sort_order_swe7_swedish_ci[] = { |
779 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
780 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
781 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
782 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
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,0x5F, |
785 | 0x45,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
786 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5C,0x5D,0x5B,0x59,0x7F, |
787 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
788 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
789 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
790 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
791 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
792 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
793 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
794 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
795 | }; |
796 | |
797 | static const uint16 to_uni_swe7_swedish_ci[] = { |
798 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
799 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
800 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
801 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
802 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
803 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
804 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
805 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
806 | 0x00C9,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
807 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
808 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
809 | 0x0058,0x0059,0x005A,0x00C4,0x00D6,0x00C5,0x00DC,0x005F, |
810 | 0x00E9,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
811 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
812 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
813 | 0x0078,0x0079,0x007A,0x00E4,0x00F6,0x00E5,0x00FC,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 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, |
829 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 |
830 | }; |
831 | |
832 | #endif |
833 | |
834 | #ifdef HAVE_CHARSET_ascii |
835 | static const uchar ctype_ascii_general_ci[] = { |
836 | 0x00, |
837 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
838 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
839 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
840 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
841 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
842 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
843 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
844 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
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 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
852 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 |
853 | }; |
854 | |
855 | static const uchar to_lower_ascii_general_ci[] = { |
856 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
857 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
858 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
859 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
860 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
862 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
863 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
864 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
865 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
866 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
867 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
868 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
869 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
870 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
871 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
872 | }; |
873 | |
874 | static const uchar to_upper_ascii_general_ci[] = { |
875 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
876 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
877 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
878 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
879 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
881 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
882 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
883 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
884 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
885 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
886 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
887 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
888 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
889 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
890 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
891 | }; |
892 | |
893 | static const uchar sort_order_ascii_general_ci[] = { |
894 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
895 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
896 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
897 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
898 | 0x40,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,0x5B,0x5C,0x5D,0x5E,0x5F, |
900 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
901 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
902 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
903 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
904 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
905 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
906 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
907 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
908 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
909 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
910 | }; |
911 | |
912 | static const uint16 to_uni_ascii_general_ci[] = { |
913 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
914 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
915 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
916 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
917 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
918 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
919 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
920 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
921 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
922 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
923 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
924 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
925 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
926 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
927 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
928 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
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 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, |
944 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000 |
945 | }; |
946 | |
947 | #endif |
948 | |
949 | #ifdef HAVE_CHARSET_cp1251 |
950 | static const uchar sort_order_cp1251_bulgarian_ci[] = { |
951 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
952 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
953 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
954 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
955 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
956 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7C,0x7D,0x7E,0x7F,0x80, |
957 | 0x81,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
958 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x82,0x83,0x84,0x85,0xFF, |
959 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
960 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
961 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x61,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
962 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x61,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
963 | 0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B, |
964 | 0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B, |
965 | 0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B, |
966 | 0x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B |
967 | }; |
968 | |
969 | #endif |
970 | |
971 | #ifdef HAVE_CHARSET_latin1 |
972 | static const uchar ctype_latin1_danish_ci[] = { |
973 | 0x00, |
974 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
975 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
976 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
977 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
978 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
979 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
980 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
981 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
982 | 0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00, |
983 | 0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01, |
984 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
985 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
986 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
987 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
988 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
989 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02 |
990 | }; |
991 | |
992 | static const uchar to_lower_latin1_danish_ci[] = { |
993 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
994 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
995 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
996 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
997 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
998 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
999 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1000 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1001 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1002 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1003 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1004 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1005 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1006 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
1007 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1008 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1009 | }; |
1010 | |
1011 | static const uchar to_upper_latin1_danish_ci[] = { |
1012 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1013 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1014 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1015 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1016 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1017 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1018 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1019 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1020 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1021 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1022 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1023 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1024 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1025 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
1026 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1027 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
1028 | }; |
1029 | |
1030 | static const uchar sort_order_latin1_danish_ci[] = { |
1031 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1032 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1033 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1034 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1035 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1036 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1037 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1038 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1039 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1040 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1041 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1042 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1043 | 0x41,0x41,0x41,0x41,0x5B,0x5D,0x5B,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49, |
1044 | 0x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5C,0xD7,0x5C,0x55,0x55,0x55,0x59,0x59,0xDE,0xDF, |
1045 | 0x41,0x41,0x41,0x41,0x5B,0x5D,0x5B,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49, |
1046 | 0x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5C,0xF7,0x5C,0x55,0x55,0x55,0x59,0x59,0xDE,0xFF |
1047 | }; |
1048 | |
1049 | static const uint16 to_uni_latin1_danish_ci[] = { |
1050 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
1051 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
1052 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
1053 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
1054 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
1055 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
1056 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
1057 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
1058 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
1059 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
1060 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
1061 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
1062 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
1063 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
1064 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
1065 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
1066 | 0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021, |
1067 | 0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F, |
1068 | 0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
1069 | 0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178, |
1070 | 0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, |
1071 | 0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF, |
1072 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
1073 | 0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF, |
1074 | 0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7, |
1075 | 0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF, |
1076 | 0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7, |
1077 | 0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF, |
1078 | 0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7, |
1079 | 0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF, |
1080 | 0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7, |
1081 | 0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF |
1082 | }; |
1083 | |
1084 | #endif |
1085 | |
1086 | #ifdef HAVE_CHARSET_hebrew |
1087 | static const uchar ctype_hebrew_general_ci[] = { |
1088 | 0x00, |
1089 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
1090 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1091 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1092 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
1093 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1094 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
1095 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1096 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
1097 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1098 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1099 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1100 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1101 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1102 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1103 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1104 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x00,0x20,0x20,0x00 |
1105 | }; |
1106 | |
1107 | static const uchar to_lower_hebrew_general_ci[] = { |
1108 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1109 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1110 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1111 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1112 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1113 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1114 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1115 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1116 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1117 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1118 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1119 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1120 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1121 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
1122 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1123 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1124 | }; |
1125 | |
1126 | static const uchar to_upper_hebrew_general_ci[] = { |
1127 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1128 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1129 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1130 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1131 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1132 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1133 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1134 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1135 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1136 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1137 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1138 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1139 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1140 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
1141 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1142 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1143 | }; |
1144 | |
1145 | static const uchar sort_order_hebrew_general_ci[] = { |
1146 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1147 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1148 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1149 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1150 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1151 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1152 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1153 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1154 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1155 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1156 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1157 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1158 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1159 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF, |
1160 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1161 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1162 | }; |
1163 | |
1164 | static const uint16 to_uni_hebrew_general_ci[] = { |
1165 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
1166 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
1167 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
1168 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
1169 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
1170 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
1171 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
1172 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
1173 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
1174 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
1175 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
1176 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
1177 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
1178 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
1179 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
1180 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
1181 | 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, |
1182 | 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, |
1183 | 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, |
1184 | 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, |
1185 | 0x00A0,0x0000,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, |
1186 | 0x00A8,0x00A9,0x00D7,0x00AB,0x00AC,0x00AD,0x00AE,0x203E, |
1187 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
1188 | 0x00B8,0x00B9,0x00F7,0x00BB,0x00BC,0x00BD,0x00BE,0x0000, |
1189 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, |
1190 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, |
1191 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, |
1192 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x2017, |
1193 | 0x05D0,0x05D1,0x05D2,0x05D3,0x05D4,0x05D5,0x05D6,0x05D7, |
1194 | 0x05D8,0x05D9,0x05DA,0x05DB,0x05DC,0x05DD,0x05DE,0x05DF, |
1195 | 0x05E0,0x05E1,0x05E2,0x05E3,0x05E4,0x05E5,0x05E6,0x05E7, |
1196 | 0x05E8,0x05E9,0x05EA,0x0000,0x0000,0x200E,0x200F,0x0000 |
1197 | }; |
1198 | |
1199 | #endif |
1200 | |
1201 | #ifdef HAVE_CHARSET_latin7 |
1202 | static const uchar sort_order_latin7_estonian_cs[] = { |
1203 | 0x00,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x2E,0x2F,0x30,0x31,0x32,0x0A,0x0B, |
1204 | 0x0C,0x0D,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B, |
1205 | 0x2C,0x33,0x34,0x35,0x36,0x37,0x38,0x27,0x39,0x3A,0x3B,0x5D,0x3C,0x28,0x3D,0x3E, |
1206 | 0x76,0x7A,0x7C,0x7E,0x80,0x81,0x82,0x83,0x84,0x85,0x3F,0x40,0x5E,0x5F,0x60,0x41, |
1207 | 0x42,0x86,0x90,0x92,0x98,0x9A,0xA4,0xA6,0xAA,0xAC,0xB2,0xB4,0xB8,0xBE,0xC0,0xC6, |
1208 | 0xCE,0xD0,0xD2,0xD6,0xE5,0xE8,0xEE,0xF0,0xFA,0xFC,0xDD,0x43,0x44,0x45,0x46,0x47, |
1209 | 0x48,0x87,0x91,0x93,0x99,0x9B,0xA5,0xA7,0xAB,0xAD,0xB3,0xB5,0xB9,0xBF,0xC1,0xC7, |
1210 | 0xCF,0xD1,0xD3,0xD7,0xE6,0xE9,0xEF,0xF1,0xFB,0xFD,0xDE,0x49,0x4A,0x4B,0x4C,0x1C, |
1211 | 0x01,0x1D,0x57,0x1E,0x5A,0x74,0x71,0x72,0x1F,0x75,0x20,0x5B,0x21,0x4E,0x52,0x51, |
1212 | 0x22,0x55,0x56,0x58,0x59,0x73,0x2A,0x2B,0x23,0xE7,0x24,0x5C,0x25,0x4F,0x54,0x26, |
1213 | 0x2D,0xFE,0x66,0x67,0x68,0xFF,0x4D,0x69,0xCC,0x6A,0xD4,0x62,0x6B,0x29,0x6C,0x8E, |
1214 | 0x6D,0x61,0x7D,0x7F,0x50,0x6E,0x6F,0x70,0xCD,0x7B,0xD5,0x63,0x77,0x78,0x79,0x8F, |
1215 | 0x8C,0xB0,0x88,0x94,0xF4,0x8A,0xA2,0xA0,0x96,0x9C,0xDF,0x9E,0xA8,0xB6,0xAE,0xBA, |
1216 | 0xDB,0xC2,0xC4,0xC8,0xCA,0xF2,0xF6,0x64,0xEC,0xBC,0xD8,0xEA,0xF8,0xE1,0xE3,0xDA, |
1217 | 0x8D,0xB1,0x89,0x95,0xF5,0x8B,0xA3,0xA1,0x97,0x9D,0xE0,0x9F,0xA9,0xB7,0xAF,0xBB, |
1218 | 0xDC,0xC3,0xC5,0xC9,0xCB,0xF3,0xF7,0x65,0xED,0xBD,0xD9,0xEB,0xF9,0xE2,0xE4,0x53 |
1219 | }; |
1220 | |
1221 | #endif |
1222 | |
1223 | #ifdef HAVE_CHARSET_latin2 |
1224 | static const uchar sort_order_latin2_hungarian_ci[] = { |
1225 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1226 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1227 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1228 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1229 | 0x40,0x41,0x47,0x48,0x4C,0x4E,0x53,0x54,0x55,0x56,0x5A,0x5B,0x5C,0x60,0x61,0x64, |
1230 | 0x69,0x6A,0x6B,0x6E,0x72,0x75,0x7A,0x7B,0x7C,0x7D,0x7F,0x83,0x84,0x85,0x86,0x87, |
1231 | 0x88,0x41,0x47,0x48,0x4C,0x4E,0x53,0x54,0x55,0x56,0x5A,0x5B,0x5C,0x60,0x61,0x64, |
1232 | 0x69,0x6A,0x6B,0x6E,0x72,0x75,0x7A,0x7B,0x7C,0x7D,0x7F,0x89,0x8A,0x8B,0x8C,0x00, |
1233 | 0x01,0x78,0x4E,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x67,0x67,0x56,0x56,0x0F,0x41, |
1234 | 0x4E,0x12,0x13,0x67,0x67,0x64,0x78,0x75,0x78,0x67,0x78,0x1C,0x1D,0x1E,0x1F,0xFF, |
1235 | 0x41,0x56,0x64,0x75,0x5E,0x6F,0xFF,0x67,0xFF,0x70,0x71,0x73,0x80,0xFF,0x81,0x82, |
1236 | 0xFF,0x42,0xFF,0x5D,0xFF,0x41,0x6F,0xFF,0xFF,0x70,0x71,0x73,0x80,0xFF,0x81,0x82, |
1237 | 0x6C,0x41,0x44,0x45,0x46,0x5F,0x49,0x4B,0x4A,0x4E,0x51,0x52,0x50,0x56,0x57,0x4D, |
1238 | 0xFF,0x62,0x63,0x64,0x66,0x67,0x67,0xFF,0x6D,0x77,0x75,0x78,0x78,0x7E,0x74,0xFF, |
1239 | 0x64,0x41,0x44,0x45,0x46,0x5F,0x49,0x4B,0x4A,0x4E,0x51,0x78,0x50,0x56,0x58,0x4D, |
1240 | 0xFF,0x62,0x63,0x64,0x66,0x67,0x67,0xFF,0x6D,0x77,0x75,0x78,0x78,0x7E,0x74,0xFF |
1241 | }; |
1242 | |
1243 | #endif |
1244 | |
1245 | #ifdef HAVE_CHARSET_koi8u |
1246 | static const uchar ctype_koi8u_general_ci[] = { |
1247 | 0x00, |
1248 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
1249 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1250 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1251 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
1252 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1253 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
1254 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1255 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
1256 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1257 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1258 | 0x10,0x10,0x10,0x02,0x02,0x10,0x02,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10, |
1259 | 0x10,0x10,0x10,0x01,0x01,0x10,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x10, |
1260 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1261 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1262 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1263 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01 |
1264 | }; |
1265 | |
1266 | static const uchar to_lower_koi8u_general_ci[] = { |
1267 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1268 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1269 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1270 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1271 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1272 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1273 | 0x20,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1274 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1275 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1276 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1277 | 0x20,0x20,0x20,0xA3,0xA4,0x20,0xA6,0xA7,0x20,0x20,0x20,0x20,0x20,0xAD,0x20,0x20, |
1278 | 0x20,0x20,0x20,0xA3,0xA4,0x20,0xA6,0xA7,0x20,0x20,0x20,0x20,0x20,0xAD,0x20,0x20, |
1279 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1280 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
1281 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1282 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF |
1283 | }; |
1284 | |
1285 | static const uchar to_upper_koi8u_general_ci[] = { |
1286 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1287 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1288 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1289 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1290 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1291 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1292 | 0x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1293 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1294 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1295 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1296 | 0x20,0x20,0x20,0xB3,0xB4,0x20,0xB6,0xB7,0x20,0x20,0x20,0x20,0x20,0xBD,0x20,0x20, |
1297 | 0x20,0x20,0x20,0xB3,0xB4,0x20,0xB6,0xB7,0x20,0x20,0x20,0x20,0x20,0xBD,0x20,0x20, |
1298 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1299 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF, |
1300 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1301 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1302 | }; |
1303 | |
1304 | static const uchar sort_order_koi8u_general_ci[] = { |
1305 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1306 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1307 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1308 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1309 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1310 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1311 | 0x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1312 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1313 | 0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4, |
1314 | 0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4, |
1315 | 0xC5,0xC6,0xC7,0x88,0x87,0xC8,0x8C,0x8D,0xC9,0xCA,0xCB,0xCC,0xCD,0x84,0xCE,0xCF, |
1316 | 0xD0,0xD1,0xD2,0x88,0x87,0xD3,0x8C,0x8D,0xD4,0xD5,0xD6,0xD7,0xD8,0x84,0xD9,0xDA, |
1317 | 0xA3,0x80,0x81,0x9B,0x85,0x86,0x99,0x83,0x9A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93, |
1318 | 0x94,0xA4,0x95,0x96,0x97,0x98,0x89,0x82,0xA1,0xA0,0x8A,0x9D,0xA2,0x9E,0x9C,0x9F, |
1319 | 0xA3,0x80,0x81,0x9B,0x85,0x86,0x99,0x83,0x9A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93, |
1320 | 0x94,0xA4,0x95,0x96,0x97,0x98,0x89,0x82,0xA1,0xA0,0x8A,0x9D,0xA2,0x9E,0x9C,0x9F |
1321 | }; |
1322 | |
1323 | static const uint16 to_uni_koi8u_general_ci[] = { |
1324 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
1325 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
1326 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
1327 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
1328 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
1329 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
1330 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
1331 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
1332 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
1333 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
1334 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
1335 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
1336 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
1337 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
1338 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
1339 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
1340 | 0x2500,0x2502,0x250C,0x2510,0x2514,0x2518,0x251C,0x2524, |
1341 | 0x252C,0x2534,0x253C,0x2580,0x2584,0x2588,0x258C,0x2590, |
1342 | 0x2591,0x2592,0x2593,0x2320,0x25A0,0x2022,0x221A,0x2248, |
1343 | 0x2264,0x2265,0x00A0,0x2321,0x00B0,0x00B2,0x00B7,0x00F7, |
1344 | 0x2550,0x2551,0x2552,0x0451,0x0454,0x2554,0x0456,0x0457, |
1345 | 0x2557,0x2558,0x2559,0x255A,0x255B,0x0491,0x255D,0x255E, |
1346 | 0x255F,0x2560,0x2561,0x0401,0x0404,0x2563,0x0406,0x0407, |
1347 | 0x2566,0x2567,0x2568,0x2569,0x256A,0x0490,0x256C,0x00A9, |
1348 | 0x044E,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433, |
1349 | 0x0445,0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E, |
1350 | 0x043F,0x044F,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432, |
1351 | 0x044C,0x044B,0x0437,0x0448,0x044D,0x0449,0x0447,0x044A, |
1352 | 0x042E,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413, |
1353 | 0x0425,0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E, |
1354 | 0x041F,0x042F,0x0420,0x0421,0x0422,0x0423,0x0416,0x0412, |
1355 | 0x042C,0x042B,0x0417,0x0428,0x042D,0x0429,0x0427,0x042A |
1356 | }; |
1357 | |
1358 | #endif |
1359 | |
1360 | #ifdef HAVE_CHARSET_cp1251 |
1361 | static const uchar sort_order_cp1251_ukrainian_ci[] = { |
1362 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1363 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1364 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1365 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1366 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1367 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1368 | 0x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1369 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1370 | 0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4, |
1371 | 0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4, |
1372 | 0xC5,0xC6,0xC7,0xC8,0xC9,0x84,0xCA,0xCB,0x88,0xCC,0x87,0xCD,0xCE,0xCF,0xD0,0x8D, |
1373 | 0xD1,0xD2,0x8C,0x8C,0x84,0xD3,0xD4,0xD5,0x88,0xD6,0x87,0xD7,0xD8,0xD9,0xDA,0x8D, |
1374 | 0x80,0x81,0x82,0x83,0x85,0x86,0x89,0x8A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,0x94, |
1375 | 0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4, |
1376 | 0x80,0x81,0x82,0x83,0x85,0x86,0x89,0x8A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,0x94, |
1377 | 0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4 |
1378 | }; |
1379 | |
1380 | #endif |
1381 | |
1382 | #ifdef HAVE_CHARSET_greek |
1383 | static const uchar ctype_greek_general_ci[] = { |
1384 | 0x00, |
1385 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
1386 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1387 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1388 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
1389 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1390 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
1391 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1392 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
1393 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1394 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1395 | 0x48,0x10,0x10,0x10,0x00,0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x10,0x10,0x00,0x10, |
1396 | 0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x01,0x01,0x10,0x01,0x10,0x01,0x01, |
1397 | 0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1398 | 0x01,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02, |
1399 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1400 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00 |
1401 | }; |
1402 | |
1403 | static const uchar to_lower_greek_general_ci[] = { |
1404 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1405 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1406 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1407 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1408 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1409 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1410 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1411 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1412 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1413 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1414 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1415 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xDC,0xB7,0xDD,0xDE,0xDF,0xBB,0xFC,0xBD,0xFD,0xFE, |
1416 | 0xC0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1417 | 0xF0,0xF1,0xD2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xDC,0xDD,0xDE,0xDF, |
1418 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1419 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1420 | }; |
1421 | |
1422 | static const uchar to_upper_greek_general_ci[] = { |
1423 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1424 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1425 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1426 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1427 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1428 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1429 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1430 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1431 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1432 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1433 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1434 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1435 | 0xDA,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1436 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xC1,0xC5,0xC7,0xC9, |
1437 | 0xDB,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1438 | 0xD0,0xD1,0xD3,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xCF,0xD5,0xD9,0xFF |
1439 | }; |
1440 | |
1441 | static const uchar sort_order_greek_general_ci[] = { |
1442 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1443 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1444 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1445 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1446 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1447 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1448 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1449 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1450 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1451 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1452 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1453 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xC1,0xB7,0xC5,0xC7,0xC9,0xBB,0xCF,0xBD,0xD5,0xD9, |
1454 | 0xC9,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1455 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xC9,0xD5,0xC1,0xC5,0xC7,0xC9, |
1456 | 0xD5,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1457 | 0xD0,0xD1,0xD3,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xC9,0xD5,0xCF,0xD5,0xD9,0xFF |
1458 | }; |
1459 | |
1460 | static const uint16 to_uni_greek_general_ci[] = { |
1461 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
1462 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
1463 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
1464 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
1465 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
1466 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
1467 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
1468 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
1469 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
1470 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
1471 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
1472 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
1473 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
1474 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
1475 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
1476 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
1477 | 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, |
1478 | 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, |
1479 | 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, |
1480 | 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, |
1481 | 0x00A0,0x02BD,0x02BC,0x00A3,0x0000,0x0000,0x00A6,0x00A7, |
1482 | 0x00A8,0x00A9,0x0000,0x00AB,0x00AC,0x00AD,0x0000,0x2015, |
1483 | 0x00B0,0x00B1,0x00B2,0x00B3,0x0384,0x0385,0x0386,0x00B7, |
1484 | 0x0388,0x0389,0x038A,0x00BB,0x038C,0x00BD,0x038E,0x038F, |
1485 | 0x0390,0x0391,0x0392,0x0393,0x0394,0x0395,0x0396,0x0397, |
1486 | 0x0398,0x0399,0x039A,0x039B,0x039C,0x039D,0x039E,0x039F, |
1487 | 0x03A0,0x03A1,0x0000,0x03A3,0x03A4,0x03A5,0x03A6,0x03A7, |
1488 | 0x03A8,0x03A9,0x03AA,0x03AB,0x03AC,0x03AD,0x03AE,0x03AF, |
1489 | 0x03B0,0x03B1,0x03B2,0x03B3,0x03B4,0x03B5,0x03B6,0x03B7, |
1490 | 0x03B8,0x03B9,0x03BA,0x03BB,0x03BC,0x03BD,0x03BE,0x03BF, |
1491 | 0x03C0,0x03C1,0x03C2,0x03C3,0x03C4,0x03C5,0x03C6,0x03C7, |
1492 | 0x03C8,0x03C9,0x03CA,0x03CB,0x03CC,0x03CD,0x03CE,0x0000 |
1493 | }; |
1494 | |
1495 | #endif |
1496 | |
1497 | #ifdef HAVE_CHARSET_cp1250 |
1498 | static const uchar ctype_cp1250_general_ci[] = { |
1499 | 0x00, |
1500 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
1501 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1502 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1503 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
1504 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1505 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
1506 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1507 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
1508 | 0x20,0x20,0x10,0x20,0x10,0x10,0x10,0x10,0x20,0x10,0x01,0x10,0x01,0x01,0x01,0x01, |
1509 | 0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x10,0x02,0x10,0x02,0x02,0x02,0x02, |
1510 | 0x48,0x10,0x10,0x01,0x10,0x01,0x10,0x01,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01, |
1511 | 0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x02,0x10,0x01,0x10,0x02,0x02, |
1512 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1513 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
1514 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1515 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10 |
1516 | }; |
1517 | |
1518 | static const uchar to_lower_cp1250_general_ci[] = { |
1519 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1520 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1521 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1522 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1523 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1524 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1525 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1526 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1527 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F, |
1528 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1529 | 0xA0,0xA1,0xA2,0xB3,0xA4,0xB9,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF, |
1530 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBE,0xBD,0xBE,0xBF, |
1531 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1532 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
1533 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1534 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1535 | }; |
1536 | |
1537 | static const uchar to_upper_cp1250_general_ci[] = { |
1538 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1539 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1540 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1541 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1542 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1543 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1544 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1545 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1546 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1547 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x8D,0x8E,0x8F, |
1548 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1549 | 0xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xA5,0xAA,0xBB,0xBC,0xBD,0xBC,0xAF, |
1550 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1551 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
1552 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1553 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
1554 | }; |
1555 | |
1556 | static const uchar sort_order_cp1250_general_ci[] = { |
1557 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1558 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1559 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1560 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1561 | 0x40,0x41,0x42,0x43,0x46,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x55, |
1562 | 0x56,0x57,0x58,0x59,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x63,0x64,0x65,0x66,0x67, |
1563 | 0x68,0x41,0x42,0x43,0x46,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x55, |
1564 | 0x56,0x57,0x58,0x59,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x7B,0x7C,0x7D,0x7E,0x7F, |
1565 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x5A,0x8B,0x5A,0x5B,0x62,0x62, |
1566 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x5A,0x9B,0x5A,0x5B,0x62,0x62, |
1567 | 0x20,0xA1,0xA2,0x50,0xA4,0x41,0xA6,0x59,0xA8,0xA9,0x59,0xAB,0xAC,0xAD,0xAE,0x62, |
1568 | 0xB0,0xB1,0xB2,0x50,0xB4,0xB5,0xB6,0xB7,0xB8,0x41,0x59,0xBB,0x50,0xBD,0x50,0x62, |
1569 | 0x58,0x41,0x41,0x41,0x41,0x50,0x45,0x43,0x44,0x49,0x49,0x49,0x49,0x4D,0x4D,0x46, |
1570 | 0x47,0x53,0x53,0x55,0x55,0x55,0x55,0xD7,0x58,0x5C,0x5C,0x5C,0x5C,0x60,0x5B,0x59, |
1571 | 0x58,0x41,0x41,0x41,0x41,0x50,0x45,0x43,0x44,0x49,0x49,0x49,0x49,0x4D,0x4D,0x46, |
1572 | 0x47,0x53,0x53,0x55,0x55,0x55,0x55,0xF7,0x58,0x5C,0x5C,0x5C,0x5C,0x60,0x5B,0xFF |
1573 | }; |
1574 | |
1575 | static const uint16 to_uni_cp1250_general_ci[] = { |
1576 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
1577 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
1578 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
1579 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
1580 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
1581 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
1582 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
1583 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
1584 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
1585 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
1586 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
1587 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
1588 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
1589 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
1590 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
1591 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
1592 | 0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021, |
1593 | 0x0000,0x2030,0x0160,0x2039,0x015A,0x0164,0x017D,0x0179, |
1594 | 0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
1595 | 0x0000,0x2122,0x0161,0x203A,0x015B,0x0165,0x017E,0x017A, |
1596 | 0x00A0,0x02C7,0x02D8,0x0141,0x00A4,0x0104,0x00A6,0x00A7, |
1597 | 0x00A8,0x00A9,0x015E,0x00AB,0x00AC,0x00AD,0x00AE,0x017B, |
1598 | 0x00B0,0x00B1,0x02DB,0x0142,0x00B4,0x00B5,0x00B6,0x00B7, |
1599 | 0x00B8,0x0105,0x015F,0x00BB,0x013D,0x02DD,0x013E,0x017C, |
1600 | 0x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7, |
1601 | 0x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E, |
1602 | 0x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7, |
1603 | 0x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF, |
1604 | 0x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7, |
1605 | 0x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F, |
1606 | 0x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7, |
1607 | 0x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9 |
1608 | }; |
1609 | |
1610 | #endif |
1611 | |
1612 | #ifdef HAVE_CHARSET_latin2 |
1613 | static const uchar sort_order_latin2_croatian_ci[] = { |
1614 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1615 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1616 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1617 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1618 | 0x40,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59, |
1619 | 0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0xC6,0xC7,0xC8,0xC9,0xCA, |
1620 | 0xCB,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59, |
1621 | 0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0xCC,0xCD,0xCE,0xCF,0xD0, |
1622 | 0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,0xE0, |
1623 | 0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,0xF0, |
1624 | 0xF1,0x41,0xF2,0x54,0xF3,0x54,0x5F,0xF4,0xF5,0x61,0x5F,0x62,0x6B,0xF6,0x8E,0x6B, |
1625 | 0xF7,0x41,0xF8,0x54,0xF9,0x54,0x5F,0xFA,0xFB,0x61,0x5F,0x62,0x6B,0xFC,0x8E,0x6B, |
1626 | 0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48, |
1627 | 0x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xFD,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0x5F, |
1628 | 0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48, |
1629 | 0x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xFE,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0xFF |
1630 | }; |
1631 | |
1632 | #endif |
1633 | |
1634 | #ifdef HAVE_CHARSET_cp1257 |
1635 | static const uchar sort_order_cp1257_lithuanian_ci[] = { |
1636 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1637 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1638 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1639 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1640 | 0x40,0x41,0x43,0x44,0x46,0x47,0x4A,0x4B,0x4C,0x4D,0x50,0x51,0x52,0x53,0x54,0x55, |
1641 | 0x56,0x57,0x58,0x59,0x5B,0x5C,0x5F,0x60,0x61,0x4E,0xFF,0x62,0x63,0x64,0x65,0x66, |
1642 | 0x67,0x41,0x43,0x44,0x46,0x47,0x4A,0x4B,0x4C,0x4D,0x50,0x51,0x52,0x53,0x54,0x55, |
1643 | 0x56,0x57,0x58,0x59,0x5B,0x5C,0x5F,0x60,0x61,0x4E,0xFF,0x68,0x69,0x6A,0x6B,0xFF, |
1644 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
1645 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
1646 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
1647 | 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF, |
1648 | 0x42,0x4F,0xFF,0xFF,0xFF,0xFF,0x48,0xFF,0x45,0xFF,0xFF,0x49,0xFF,0xFF,0xFF,0xFF, |
1649 | 0x5A,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x5E,0xFF,0xFF,0x5D,0xFF,0xFF,0xFF,0xFF, |
1650 | 0xFF,0x4F,0xFF,0xFF,0xFF,0xFF,0x48,0xFF,0x45,0xFF,0xFF,0x49,0xFF,0xFF,0xFF,0xFF, |
1651 | 0x5A,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x5E,0xFF,0xFF,0x5D,0xFF,0xFF,0xFF,0xFF |
1652 | }; |
1653 | |
1654 | #endif |
1655 | |
1656 | #ifdef HAVE_CHARSET_latin5 |
1657 | static const uchar ctype_latin5_turkish_ci[] = { |
1658 | 0x00, |
1659 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
1660 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1661 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1662 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
1663 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1664 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
1665 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1666 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
1667 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1668 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1669 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1670 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1671 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1672 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
1673 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1674 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02 |
1675 | }; |
1676 | |
1677 | static const uchar to_lower_latin5_turkish_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,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0xFD,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1683 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1684 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1685 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1686 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1687 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1688 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1689 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1690 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1691 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0x69,0xFE,0xDF, |
1692 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1693 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1694 | }; |
1695 | |
1696 | static const uchar to_upper_latin5_turkish_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 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0xDD,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1704 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1705 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1706 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1707 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1708 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1709 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1710 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
1711 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1712 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0x49,0xDE,0xFF |
1713 | }; |
1714 | |
1715 | static const uchar sort_order_latin5_turkish_ci[] = { |
1716 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1717 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1718 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1719 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1720 | 0x40,0x41,0x42,0x43,0x45,0x46,0x47,0x48,0x4A,0x4B,0x4D,0x4E,0x4F,0x50,0x51,0x52, |
1721 | 0x54,0x55,0x56,0x57,0x59,0x5A,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x65, |
1722 | 0x66,0x41,0x42,0x43,0x45,0x46,0x47,0x48,0x4A,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x52, |
1723 | 0x54,0x55,0x56,0x57,0x59,0x5A,0x5C,0x5D,0x5E,0x5F,0x60,0x87,0x88,0x89,0x8A,0x8B, |
1724 | 0x8C,0x8D,0x8E,0x8F,0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B, |
1725 | 0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB, |
1726 | 0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB, |
1727 | 0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB, |
1728 | 0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x44,0x46,0x46,0x46,0x46,0x4C,0x4C,0x4C,0x4C, |
1729 | 0x49,0x51,0x52,0x52,0x52,0x52,0x53,0xE0,0x52,0x5A,0x5A,0x5A,0x5B,0x4C,0x58,0x57, |
1730 | 0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x44,0x46,0x46,0x46,0x46,0x4C,0x4C,0x4C,0x4C, |
1731 | 0x49,0x51,0x52,0x52,0x52,0x52,0x53,0xFA,0x52,0x5A,0x5A,0x5A,0x5B,0x4B,0x58,0x5F |
1732 | }; |
1733 | |
1734 | static const uint16 to_uni_latin5_turkish_ci[] = { |
1735 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
1736 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
1737 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
1738 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
1739 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
1740 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
1741 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
1742 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
1743 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
1744 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
1745 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
1746 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
1747 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
1748 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
1749 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
1750 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
1751 | 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, |
1752 | 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, |
1753 | 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, |
1754 | 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, |
1755 | 0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, |
1756 | 0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF, |
1757 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
1758 | 0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF, |
1759 | 0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7, |
1760 | 0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF, |
1761 | 0x011E,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7, |
1762 | 0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x0130,0x015E,0x00DF, |
1763 | 0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7, |
1764 | 0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF, |
1765 | 0x011F,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7, |
1766 | 0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x0131,0x015F,0x00FF |
1767 | }; |
1768 | |
1769 | #endif |
1770 | |
1771 | #ifdef HAVE_CHARSET_armscii8 |
1772 | static const uchar ctype_armscii8_general_ci[] = { |
1773 | 0x00, |
1774 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
1775 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1776 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1777 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
1778 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1779 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
1780 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1781 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
1782 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1783 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1784 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1785 | 0x10,0x10,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02, |
1786 | 0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02, |
1787 | 0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02, |
1788 | 0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02, |
1789 | 0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x10,0x10 |
1790 | }; |
1791 | |
1792 | static const uchar to_lower_armscii8_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,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1798 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1799 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1800 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,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,0xB8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1804 | 0xB0,0xB1,0xB3,0xB3,0xB5,0xB5,0xB7,0xB7,0xB9,0xB9,0xBB,0xBB,0xBD,0xBD,0xBF,0xBF, |
1805 | 0xC1,0xC1,0xC3,0xC3,0xC5,0xC5,0xC7,0xC7,0xC9,0xC9,0xCB,0xCB,0xCD,0xCD,0xCF,0xCF, |
1806 | 0xD1,0xD1,0xD3,0xD3,0xD5,0xD5,0xD7,0xD7,0xD9,0xD9,0xDB,0xDB,0xDD,0xDD,0xDF,0xDF, |
1807 | 0xE1,0xE1,0xE3,0xE3,0xE5,0xE5,0xE7,0xE7,0xE9,0xE9,0xEB,0xEB,0xED,0xED,0xEF,0xEF, |
1808 | 0xF1,0xF1,0xF3,0xF3,0xF5,0xF5,0xF7,0xF7,0xF9,0xF9,0xFB,0xFB,0xFD,0xFD,0xFE,0xFF |
1809 | }; |
1810 | |
1811 | static const uchar to_upper_armscii8_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,0xB2,0xB4,0xB4,0xB6,0xB6,0xB8,0xB8,0xBA,0xBA,0xBC,0xBC,0xBE,0xBE, |
1824 | 0xC0,0xC0,0xC2,0xC2,0xC4,0xC4,0xC6,0xC6,0xC8,0xC8,0xCA,0xCA,0xCC,0xCC,0xCE,0xCE, |
1825 | 0xD0,0xD0,0xD2,0xD2,0xD4,0xD4,0xD6,0xD6,0xD8,0xD8,0xDA,0xDA,0xDC,0xDC,0xDE,0xDE, |
1826 | 0xE0,0xE0,0xE2,0xE2,0xE4,0xE4,0xE6,0xE6,0xE8,0xE8,0xEA,0xEA,0xEC,0xEC,0xEE,0xEE, |
1827 | 0xF0,0xF0,0xF2,0xF2,0xF4,0xF4,0xF6,0xF6,0xF8,0xF8,0xFA,0xFA,0xFC,0xFC,0xFE,0xFF |
1828 | }; |
1829 | |
1830 | static const uchar sort_order_armscii8_general_ci[] = { |
1831 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1832 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1833 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1834 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1835 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1836 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1837 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1838 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1839 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1840 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1841 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1842 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1843 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1844 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
1845 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1846 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1847 | }; |
1848 | |
1849 | static const uint16 to_uni_armscii8_general_ci[] = { |
1850 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
1851 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
1852 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
1853 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
1854 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
1855 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
1856 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
1857 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
1858 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
1859 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
1860 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
1861 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
1862 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
1863 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
1864 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
1865 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
1866 | 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, |
1867 | 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, |
1868 | 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, |
1869 | 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, |
1870 | 0x00A0,0x2741,0x00A7,0x0589,0x0029,0x0028,0x00BB,0x00AB, |
1871 | 0x2014,0x002E,0x055D,0x002C,0x002D,0x055F,0x2026,0x055C, |
1872 | 0x055B,0x055E,0x0531,0x0561,0x0532,0x0562,0x0533,0x0563, |
1873 | 0x0534,0x0564,0x0535,0x0565,0x0536,0x0566,0x0537,0x0567, |
1874 | 0x0538,0x0568,0x0539,0x0569,0x053A,0x056A,0x053B,0x056B, |
1875 | 0x053C,0x056C,0x053D,0x056D,0x053E,0x056E,0x053F,0x056F, |
1876 | 0x0540,0x0570,0x0541,0x0571,0x0542,0x0572,0x0543,0x0573, |
1877 | 0x0544,0x0574,0x0545,0x0575,0x0546,0x0576,0x0547,0x0577, |
1878 | 0x0548,0x0578,0x0549,0x0579,0x054A,0x057A,0x054B,0x057B, |
1879 | 0x054C,0x057C,0x054D,0x057D,0x054E,0x057E,0x054F,0x057F, |
1880 | 0x0550,0x0580,0x0551,0x0581,0x0552,0x0582,0x0553,0x0583, |
1881 | 0x0554,0x0584,0x0555,0x0585,0x0556,0x0586,0x2019,0x0027 |
1882 | }; |
1883 | |
1884 | #endif |
1885 | |
1886 | #ifdef HAVE_CHARSET_cp866 |
1887 | static const uchar ctype_cp866_general_ci[] = { |
1888 | 0x00, |
1889 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
1890 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
1891 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
1892 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
1893 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1894 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
1895 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1896 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00, |
1897 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1898 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
1899 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1900 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1901 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1902 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
1903 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
1904 | 0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48 |
1905 | }; |
1906 | |
1907 | static const uchar to_lower_cp866_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,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1913 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1914 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
1915 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1916 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x86,0x87,0x88,0x89,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1917 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1918 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x86,0x87,0x88,0x89,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
1919 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1923 | 0xF1,0xF1,0xF3,0xF3,0xF5,0xF5,0xF7,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1924 | }; |
1925 | |
1926 | static const uchar to_upper_cp866_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,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1932 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
1933 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
1934 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
1935 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1936 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1937 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
1938 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
1939 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
1940 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
1941 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
1942 | 0xF0,0xF0,0xF2,0xF2,0xF4,0xF4,0xF6,0xF6,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
1943 | }; |
1944 | |
1945 | static const uchar sort_order_cp866_general_ci[] = { |
1946 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
1947 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
1948 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
1949 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
1950 | 0x40,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D, |
1951 | 0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xBD,0xBE,0xBF,0xC0,0xC1, |
1952 | 0xC2,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x54,0x55,0x57,0x59,0x5B,0x5D, |
1953 | 0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xC3,0xC4,0xC5,0xC6,0xC7, |
1954 | 0x75,0x77,0x79,0x7B,0x7D,0x7F,0x85,0x87,0x89,0x8D,0x8F,0x91,0x93,0x95,0x97,0x99, |
1955 | 0x9B,0x9D,0x9F,0xA1,0xA5,0xA7,0xA9,0xAB,0xAD,0xAF,0xB1,0xB3,0xB5,0xB7,0xB9,0xBB, |
1956 | 0x75,0x77,0x79,0x7B,0x7D,0x7F,0x85,0x87,0x89,0x8D,0x8F,0x91,0x93,0x95,0x97,0x99, |
1957 | 0xC8,0xC9,0xCA,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
1958 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
1959 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF, |
1960 | 0x9B,0x9D,0x9F,0xA1,0xA5,0xA7,0xA9,0xAB,0xAD,0xAF,0xB1,0xB3,0xB5,0xB7,0xB9,0xBB, |
1961 | 0x81,0x81,0x83,0x83,0x8B,0x8B,0xA3,0xA3,0xCB,0xCC,0xCD,0xCE,0xCF,0xD0,0xD1,0xD2 |
1962 | }; |
1963 | |
1964 | static const uint16 to_uni_cp866_general_ci[] = { |
1965 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
1966 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
1967 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
1968 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
1969 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
1970 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
1971 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
1972 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
1973 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
1974 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
1975 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
1976 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
1977 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
1978 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
1979 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
1980 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
1981 | 0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417, |
1982 | 0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F, |
1983 | 0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427, |
1984 | 0x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F, |
1985 | 0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437, |
1986 | 0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F, |
1987 | 0x2591,0x2592,0x2593,0x2502,0x2524,0x2561,0x2562,0x2556, |
1988 | 0x2555,0x2563,0x2551,0x2557,0x255D,0x255C,0x255B,0x2510, |
1989 | 0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x255E,0x255F, |
1990 | 0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x2567, |
1991 | 0x2568,0x2564,0x2565,0x2559,0x2558,0x2552,0x2553,0x256B, |
1992 | 0x256A,0x2518,0x250C,0x2588,0x2584,0x258C,0x2590,0x2580, |
1993 | 0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447, |
1994 | 0x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F, |
1995 | 0x0401,0x0451,0x0404,0x0454,0x0407,0x0457,0x040E,0x045E, |
1996 | 0x00B0,0x2219,0x00B7,0x221A,0x207F,0x00B2,0x25A0,0x00A0 |
1997 | }; |
1998 | |
1999 | #endif |
2000 | |
2001 | #ifdef HAVE_CHARSET_keybcs2 |
2002 | static const uchar ctype_keybcs2_general_ci[] = { |
2003 | 0x00, |
2004 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
2005 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
2006 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2007 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
2008 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2009 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
2010 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2011 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00, |
2012 | 0x01,0x02,0x82,0x02,0x02,0x01,0x01,0x02,0x82,0x81,0x01,0x01,0x02,0x02,0x01,0x01, |
2013 | 0x81,0x02,0x01,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
2014 | 0x02,0x02,0x02,0x02,0x02,0x01,0x01,0x01,0x02,0x02,0x02,0x01,0x00,0x00,0x00,0x00, |
2015 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
2016 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
2017 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
2018 | 0x02,0x02,0x01,0x02,0x01,0x02,0x00,0x02,0x01,0x01,0x01,0x02,0x00,0x02,0x02,0x00, |
2019 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48 |
2020 | }; |
2021 | |
2022 | static const uchar to_lower_keybcs2_general_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,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2028 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2029 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2030 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2031 | 0x87,0x81,0x82,0x83,0x84,0x83,0x86,0x87,0x88,0x88,0x8D,0xA1,0x8C,0x8D,0x84,0xA0, |
2032 | 0x82,0x91,0x91,0x93,0x94,0xA2,0x96,0xA3,0x98,0x94,0x81,0x9B,0x8C,0x98,0xA9,0x9F, |
2033 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA4,0x96,0x93,0x9B,0xA9,0xAA,0xAA,0xAC,0xAD,0xAE,0xAF, |
2034 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
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 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xED,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2038 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2039 | }; |
2040 | |
2041 | static const uchar to_upper_keybcs2_general_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,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2047 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2048 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2049 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x68,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2050 | 0x87,0x9A,0x90,0x85,0x8E,0x85,0x86,0x80,0x89,0x89,0x8A,0x8B,0x9C,0x8A,0x8E,0x8F, |
2051 | 0x90,0x92,0x92,0xA7,0x99,0x95,0xA6,0x97,0x9D,0x99,0x9A,0xA8,0x9C,0x9D,0x9E,0x9F, |
2052 | 0x8F,0x8B,0x95,0x97,0xA5,0xA5,0xA6,0xA7,0xA8,0x9E,0xAB,0xAB,0xAC,0xAD,0xAE,0xAF, |
2053 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
2054 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2055 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2056 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xE8,0xEE,0xEF, |
2057 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2058 | }; |
2059 | |
2060 | static const uchar sort_order_keybcs2_general_ci[] = { |
2061 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2062 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2063 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2064 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2065 | 0x40,0x41,0x44,0x45,0x47,0x49,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x5A, |
2066 | 0x5E,0x5F,0x60,0x63,0x66,0x68,0x6C,0x6D,0x6E,0x6F,0x72,0x90,0x91,0x92,0x93,0x94, |
2067 | 0x95,0x41,0x44,0x45,0x47,0x49,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x5A, |
2068 | 0x5E,0x5F,0x60,0x63,0x66,0x68,0x6C,0x6D,0x6E,0x6F,0x72,0x96,0x97,0x98,0x99,0x9A, |
2069 | 0x45,0x68,0x49,0x47,0x41,0x47,0x66,0x45,0x49,0x49,0x56,0x53,0x56,0x56,0x41,0x41, |
2070 | 0x49,0x72,0x72,0x5A,0x5A,0x5A,0x68,0x68,0x6F,0x5A,0x68,0x63,0x56,0x6F,0x60,0x66, |
2071 | 0x41,0x53,0x5A,0x68,0x58,0x58,0x68,0x5A,0x63,0x60,0x60,0x60,0xA0,0xA1,0xA2,0xA3, |
2072 | 0xA4,0xA5,0xA6,0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC, |
2073 | 0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC, |
2074 | 0xCD,0xCE,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC, |
2075 | 0x80,0x65,0x83,0x87,0x88,0x89,0xDD,0x8A,0x85,0x8B,0x84,0x81,0xDE,0x85,0x82,0xDF, |
2076 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2077 | }; |
2078 | |
2079 | static const uint16 to_uni_keybcs2_general_ci[] = { |
2080 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
2081 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
2082 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
2083 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
2084 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
2085 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
2086 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
2087 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
2088 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
2089 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
2090 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
2091 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
2092 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
2093 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
2094 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
2095 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
2096 | 0x010C,0x00FC,0x00E9,0x010F,0x00E4,0x010E,0x0164,0x010D, |
2097 | 0x011B,0x011A,0x0139,0x00CD,0x013E,0x013A,0x00C4,0x00C1, |
2098 | 0x00C9,0x017E,0x017D,0x00F4,0x00F6,0x00D3,0x016F,0x00DA, |
2099 | 0x00FD,0x00D6,0x00DC,0x0160,0x013D,0x00DD,0x0158,0x0165, |
2100 | 0x00E1,0x00ED,0x00F3,0x00FA,0x0148,0x0147,0x016E,0x00D4, |
2101 | 0x0161,0x0159,0x0155,0x0154,0x00BC,0x00A1,0x00AB,0x00BB, |
2102 | 0x2591,0x2592,0x2593,0x2502,0x2524,0x2561,0x2562,0x2556, |
2103 | 0x2555,0x2563,0x2551,0x2557,0x255D,0x255C,0x255B,0x2510, |
2104 | 0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x255E,0x255F, |
2105 | 0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x2567, |
2106 | 0x2568,0x2564,0x2565,0x2559,0x2558,0x2552,0x2553,0x256B, |
2107 | 0x256A,0x2518,0x250C,0x2588,0x2584,0x258C,0x2590,0x2580, |
2108 | 0x03B1,0x00DF,0x0393,0x03C0,0x03A3,0x03C3,0x00B5,0x03C4, |
2109 | 0x03A6,0x0398,0x03A9,0x03B4,0x221E,0x03C6,0x03B5,0x2229, |
2110 | 0x2261,0x00B1,0x2265,0x2264,0x2320,0x2321,0x00F7,0x2248, |
2111 | 0x00B0,0x2219,0x00B7,0x221A,0x207F,0x00B2,0x25A0,0x00A0 |
2112 | }; |
2113 | |
2114 | #endif |
2115 | |
2116 | #ifdef HAVE_CHARSET_macce |
2117 | static const uchar ctype_macce_general_ci[] = { |
2118 | 0x00, |
2119 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
2120 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
2121 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2122 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
2123 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2124 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
2125 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2126 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00, |
2127 | 0x01,0x01,0x02,0x01,0x01,0x01,0x01,0x02,0x02,0x01,0x02,0x02,0x01,0x02,0x02,0x01, |
2128 | 0x02,0x01,0x02,0x02,0x01,0x02,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x02,0x02, |
2129 | 0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x02,0x01, |
2130 | 0x02,0x01,0x00,0x00,0x02,0x01,0x00,0x00,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01, |
2131 | 0x02,0x01,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x01,0x02,0x01, |
2132 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x02,0x01,0x00,0x00,0x02,0x01, |
2133 | 0x02,0x01,0x00,0x00,0x02,0x01,0x02,0x01,0x01,0x02,0x01,0x01,0x02,0x01,0x01,0x01, |
2134 | 0x02,0x01,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x02,0x01,0x01,0x02,0x01,0x00 |
2135 | }; |
2136 | |
2137 | static const uchar to_lower_macce_general_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,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2143 | 0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2144 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2145 | 0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2146 | 0x8A,0x82,0x82,0x8E,0x88,0x9A,0x9F,0x87,0x88,0x8B,0x8A,0x8B,0x8D,0x8D,0x8E,0x90, |
2147 | 0x90,0x93,0x92,0x93,0x95,0x95,0x98,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9E,0x9E,0x9F, |
2148 | 0xA0,0xA1,0xAB,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xB0, |
2149 | 0xB0,0xB4,0xB2,0xB3,0xB4,0xFA,0xB6,0xB7,0xB8,0xBA,0xBA,0xBC,0xBC,0xBE,0xBE,0xC0, |
2150 | 0xC0,0xC4,0xC2,0xC3,0xC4,0xCB,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCE,0x9B,0xCE,0xD8, |
2151 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xDA,0xDA,0xDE,0xDC,0xDD,0xDE,0xE0, |
2152 | 0xE0,0xE4,0xE2,0xE3,0xE4,0xE6,0xE6,0x87,0xE9,0xE9,0x92,0xEC,0xEC,0xF0,0x97,0x99, |
2153 | 0xF0,0xF3,0x9C,0xF3,0xF5,0xF5,0xF7,0xF7,0xF9,0xF9,0xFA,0xFD,0xB8,0xFD,0xAE,0xFF |
2154 | }; |
2155 | |
2156 | static const uchar to_upper_macce_general_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,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2162 | 0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2163 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2164 | 0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2165 | 0x80,0x81,0x81,0x83,0x84,0x85,0x86,0xE7,0x84,0x89,0x80,0x89,0x8C,0x8C,0x83,0x8F, |
2166 | 0x8F,0x91,0xEA,0x91,0x94,0x94,0x96,0xEE,0x96,0xEF,0x85,0xCD,0xF2,0x9D,0x9D,0x86, |
2167 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xA2,0xAC,0xAD,0xFE,0xAF, |
2168 | 0xAF,0xB1,0xB2,0xB3,0xB1,0xB5,0xB6,0xB7,0xFC,0xB9,0xB9,0xBB,0xBB,0xBD,0xBD,0xBF, |
2169 | 0xBF,0xC1,0xC2,0xC3,0xC1,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xC5,0xCC,0xCD,0xCC,0xCF, |
2170 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xCF,0xD9,0xD9,0xDB,0xDC,0xDD,0xDB,0xDF, |
2171 | 0xDF,0xE1,0xE2,0xE3,0xE1,0xE5,0xE5,0xE7,0xE8,0xE8,0xEA,0xEB,0xEB,0xED,0xEE,0xEF, |
2172 | 0xED,0xF1,0xF2,0xF1,0xF4,0xF4,0xF6,0xF6,0xF8,0xF8,0xB5,0xFB,0xFC,0xFB,0xFE,0xFF |
2173 | }; |
2174 | |
2175 | static const uchar sort_order_macce_general_ci[] = { |
2176 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2177 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2178 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2179 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2180 | 0x40,0x41,0x46,0x47,0x4A,0x4C,0x52,0x53,0x55,0x56,0x5A,0x5B,0x5D,0x62,0x62,0x67, |
2181 | 0x6F,0x70,0x71,0x75,0x79,0x81,0x88,0x89,0x8A,0x8B,0x8D,0x90,0x91,0x92,0x93,0x94, |
2182 | 0x95,0x41,0x46,0x47,0x4A,0x4C,0x52,0x53,0x55,0x56,0x5A,0x5B,0x5D,0x62,0x62,0x67, |
2183 | 0x6F,0x70,0x71,0x75,0x79,0x81,0x88,0x89,0x8A,0x8B,0x8D,0x96,0x97,0x98,0x99,0x9A, |
2184 | 0x41,0x41,0x41,0x4C,0x41,0x67,0x81,0x41,0x41,0x47,0x41,0x47,0x47,0x47,0x4C,0x8D, |
2185 | 0x8D,0x4A,0x56,0x4A,0x4C,0x4C,0x4C,0x67,0x4C,0x67,0x67,0x67,0x81,0x4C,0x4C,0x81, |
2186 | 0xA0,0xA1,0x4C,0xA3,0xA4,0xA5,0xA6,0x75,0xA8,0xA9,0xAA,0x4C,0xAC,0xAD,0x53,0x56, |
2187 | 0x56,0x56,0xB2,0xB3,0x56,0x5B,0xB6,0xB7,0x5D,0x5D,0x5D,0x5D,0x5D,0x5D,0x5D,0x62, |
2188 | 0x62,0x62,0xC2,0xC3,0x62,0x62,0xC6,0xC7,0xC8,0xC9,0xCA,0x62,0x67,0x67,0x67,0x67, |
2189 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0x67,0x71,0x71,0x71,0xDC,0xDD,0x71,0x71, |
2190 | 0x71,0x75,0xE2,0xE3,0x75,0x75,0x75,0x41,0x79,0x79,0x56,0x8D,0x8D,0x81,0x67,0x67, |
2191 | 0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x8B,0x8B,0x5B,0x8D,0x5D,0x8D,0x53,0xFF |
2192 | }; |
2193 | |
2194 | static const uint16 to_uni_macce_general_ci[] = { |
2195 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
2196 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
2197 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
2198 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
2199 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
2200 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
2201 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
2202 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
2203 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
2204 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
2205 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
2206 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
2207 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
2208 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
2209 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
2210 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
2211 | 0x00C4,0x0100,0x0101,0x00C9,0x0104,0x00D6,0x00DC,0x00E1, |
2212 | 0x0105,0x010C,0x00E4,0x010D,0x0106,0x0107,0x00E9,0x0179, |
2213 | 0x017A,0x010E,0x00ED,0x010F,0x0112,0x0113,0x0116,0x00F3, |
2214 | 0x0117,0x00F4,0x00F6,0x00F5,0x00FA,0x011A,0x011B,0x00FC, |
2215 | 0x2020,0x00B0,0x0118,0x00A3,0x00A7,0x2022,0x00B6,0x00DF, |
2216 | 0x00AE,0x00A9,0x2122,0x0119,0x00A8,0x2260,0x0123,0x012E, |
2217 | 0x012F,0x012A,0x2264,0x2265,0x012B,0x0136,0x2202,0x2211, |
2218 | 0x0142,0x013B,0x013C,0x013D,0x013E,0x0139,0x013A,0x0145, |
2219 | 0x0146,0x0143,0x00AC,0x221A,0x0144,0x0147,0x2206,0x00AB, |
2220 | 0x00BB,0x2026,0x00A0,0x0148,0x0150,0x00D5,0x0151,0x014C, |
2221 | 0x2013,0x2014,0x201C,0x201D,0x2018,0x2019,0x00F7,0x25CA, |
2222 | 0x014D,0x0154,0x0155,0x0158,0x2039,0x203A,0x0159,0x0156, |
2223 | 0x0157,0x0160,0x201A,0x201E,0x0161,0x015A,0x015B,0x00C1, |
2224 | 0x0164,0x0165,0x00CD,0x017D,0x017E,0x016A,0x00D3,0x00D4, |
2225 | 0x016B,0x016E,0x00DA,0x016F,0x0170,0x0171,0x0172,0x0173, |
2226 | 0x00DD,0x00FD,0x0137,0x017B,0x0141,0x017C,0x0122,0x02C7 |
2227 | }; |
2228 | |
2229 | #endif |
2230 | |
2231 | #ifdef HAVE_CHARSET_macroman |
2232 | static const uchar ctype_macroman_general_ci[] = { |
2233 | 0x00, |
2234 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
2235 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
2236 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2237 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
2238 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2239 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
2240 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2241 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x10, |
2242 | 0x20,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2243 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2244 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01, |
2245 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02, |
2246 | 0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x01,0x01,0x00,0x00, |
2247 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00, |
2248 | 0x00,0x00,0x00,0x00,0x00,0x20,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2249 | 0x00,0x01,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 |
2250 | }; |
2251 | |
2252 | static const uchar to_lower_macroman_general_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,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2258 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2259 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2260 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2261 | 0x8A,0x8C,0x8D,0x8E,0x96,0x9A,0x9F,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,0xBE,0xBF, |
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,0x88,0x8B,0x9B,0xCE,0xCF, |
2266 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD8,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2267 | 0xE0,0xE1,0xE2,0xE3,0xE4,0x89,0x90,0x87,0x91,0x8F,0x92,0x94,0x95,0x93,0x97,0x99, |
2268 | 0xF0,0x98,0x9C,0x9E,0x9D,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2269 | }; |
2270 | |
2271 | static const uchar to_upper_macroman_general_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,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2277 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2278 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2279 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2280 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0xE7,0xCB,0xE5,0x80,0xCC,0x81,0x82,0x83,0xE9, |
2281 | 0xE6,0xE8,0xEA,0xED,0xEB,0xEC,0x84,0xEE,0xF1,0xEF,0x85,0xCD,0xF2,0xF4,0xF3,0x86, |
2282 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
2283 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xAE,0xAF, |
2284 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2285 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD9,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2286 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2287 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2288 | }; |
2289 | |
2290 | static const uchar sort_order_macroman_general_ci[] = { |
2291 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2292 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2293 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2294 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2295 | 0x40,0x41,0x49,0x50,0x52,0x53,0x57,0x59,0x60,0x61,0x67,0x68,0x69,0x70,0x71,0x72, |
2296 | 0x79,0x80,0x81,0x82,0x84,0x85,0x90,0x91,0x92,0x93,0x95,0xA0,0xA1,0xA2,0xA3,0xA4, |
2297 | 0xA5,0x41,0x49,0x50,0x52,0x53,0x57,0x59,0x60,0x61,0x67,0x68,0x69,0x70,0x71,0x72, |
2298 | 0x79,0x80,0x81,0x82,0x84,0x85,0x90,0x91,0x92,0x93,0x95,0xA6,0xA7,0xA8,0xA9,0xAA, |
2299 | 0x41,0x41,0x50,0x53,0x71,0x72,0x85,0x41,0x41,0x41,0x41,0x41,0x41,0x50,0x53,0x53, |
2300 | 0x53,0x53,0x61,0x61,0x61,0x61,0x71,0x72,0x72,0x72,0x72,0x72,0x85,0x85,0x85,0x85, |
2301 | 0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0x82,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0x48,0x72, |
2302 | 0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0x48,0x72, |
2303 | 0xC6,0xC7,0xC8,0xC9,0x57,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,0x41,0x41,0x72,0xD0,0xD1, |
2304 | 0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0x93,0x93,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2305 | 0xE0,0xE1,0xE2,0xE3,0xE4,0x41,0x53,0x41,0x53,0x53,0x61,0x61,0x61,0x61,0x72,0x72, |
2306 | 0xF0,0x72,0x85,0x85,0x85,0x61,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2307 | }; |
2308 | |
2309 | static const uint16 to_uni_macroman_general_ci[] = { |
2310 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
2311 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
2312 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
2313 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
2314 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
2315 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
2316 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
2317 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
2318 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
2319 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
2320 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
2321 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
2322 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
2323 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
2324 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
2325 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
2326 | 0x00C4,0x00C5,0x00C7,0x00C9,0x00D1,0x00D6,0x00DC,0x00E1, |
2327 | 0x00E0,0x00E2,0x00E4,0x00E3,0x00E5,0x00E7,0x00E9,0x00E8, |
2328 | 0x00EA,0x00EB,0x00ED,0x00EC,0x00EE,0x00EF,0x00F1,0x00F3, |
2329 | 0x00F2,0x00F4,0x00F6,0x00F5,0x00FA,0x00F9,0x00FB,0x00FC, |
2330 | 0x2020,0x00B0,0x00A2,0x00A3,0x00A7,0x2022,0x00B6,0x00DF, |
2331 | 0x00AE,0x00A9,0x2122,0x00B4,0x00A8,0x2260,0x00C6,0x00D8, |
2332 | 0x221E,0x00B1,0x2264,0x2265,0x00A5,0x00B5,0x2202,0x2211, |
2333 | 0x220F,0x03C0,0x222B,0x00AA,0x00BA,0x03A9,0x00E6,0x00F8, |
2334 | 0x00BF,0x00A1,0x00AC,0x221A,0x0192,0x2248,0x2206,0x00AB, |
2335 | 0x00BB,0x2026,0x00A0,0x00C0,0x00C3,0x00D5,0x0152,0x0153, |
2336 | 0x2013,0x2014,0x201C,0x201D,0x2018,0x2019,0x00F7,0x25CA, |
2337 | 0x00FF,0x0178,0x2044,0x20AC,0x2039,0x203A,0xFB01,0xFB02, |
2338 | 0x2021,0x00B7,0x201A,0x201E,0x2030,0x00C2,0x00CA,0x00C1, |
2339 | 0x00CB,0x00C8,0x00CD,0x00CE,0x00CF,0x00CC,0x00D3,0x00D4, |
2340 | 0xF8FF,0x00D2,0x00DA,0x00DB,0x00D9,0x0131,0x02C6,0x02DC, |
2341 | 0x00AF,0x02D8,0x02D9,0x02DA,0x00B8,0x02DD,0x02DB,0x02C7 |
2342 | }; |
2343 | |
2344 | #endif |
2345 | |
2346 | #ifdef HAVE_CHARSET_cp852 |
2347 | static const uchar ctype_cp852_general_ci[] = { |
2348 | 0x00, |
2349 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
2350 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
2351 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2352 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
2353 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2354 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
2355 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2356 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00, |
2357 | 0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x02,0x02,0x01,0x01,0x01, |
2358 | 0x01,0x01,0x02,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x01,0x01,0x02,0x01,0x00,0x02, |
2359 | 0x02,0x02,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x00,0x02,0x01,0x01,0x00,0x00, |
2360 | 0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x02,0x00, |
2361 | 0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
2362 | 0x02,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x01,0x00, |
2363 | 0x01,0x02,0x01,0x01,0x02,0x02,0x01,0x02,0x01,0x01,0x02,0x01,0x02,0x01,0x02,0x00, |
2364 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x02,0x00,0x48 |
2365 | }; |
2366 | |
2367 | static const uchar to_lower_cp852_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,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2373 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2374 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2375 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2376 | 0x87,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8B,0x8B,0x8C,0xAB,0x84,0x86, |
2377 | 0x82,0x92,0x92,0x93,0x94,0x96,0x96,0x98,0x98,0x94,0x81,0x9C,0x9C,0x88,0x9E,0x9F, |
2378 | 0xA0,0xA1,0xA2,0xA3,0xA5,0xA5,0xA7,0xA7,0xA9,0xA9,0xAA,0xAB,0x9F,0xB8,0xAE,0xAF, |
2379 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xA0,0x83,0xD8,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF, |
2380 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC7,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2381 | 0xD0,0xD0,0xD4,0x89,0xD4,0xE5,0xA1,0x8C,0xD8,0xD9,0xDA,0xDB,0xDC,0xEE,0x85,0xDF, |
2382 | 0xA2,0xE1,0x93,0xE4,0xE4,0xE5,0xE7,0xE7,0xEA,0xA3,0xE8,0xFB,0xEC,0xEC,0xEE,0xEF, |
2383 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2384 | }; |
2385 | |
2386 | static const uchar to_upper_cp852_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,0x9A,0x90,0xB6,0x8E,0xDE,0x8F,0x80,0x9D,0xD3,0x8A,0x8A,0xD7,0x8D,0x8E,0x8F, |
2396 | 0x90,0x91,0x91,0xE2,0x99,0x95,0x95,0x97,0x97,0x99,0x9A,0x9B,0x9B,0x9D,0x9E,0xAC, |
2397 | 0xB5,0xD6,0xE0,0xE9,0xA4,0xA4,0xA6,0xA6,0xA8,0xA8,0xAA,0x8D,0xAC,0xAD,0xAE,0xAF, |
2398 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xAD,0xB9,0xBA,0xBB,0xBC,0xBE,0xBD,0xBF, |
2399 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC6,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2400 | 0xD1,0xD1,0xD2,0xD3,0xD2,0xD5,0xD6,0xD7,0xB7,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2401 | 0xE0,0xE1,0xE2,0xE3,0xE3,0xD5,0xE6,0xE6,0xE8,0xE9,0xE8,0xEB,0xED,0xED,0xDD,0xEF, |
2402 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xEB,0xFC,0xFC,0xFE,0xFF |
2403 | }; |
2404 | |
2405 | static const uchar sort_order_cp852_general_ci[] = { |
2406 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2407 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2408 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2409 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2410 | 0x40,0x41,0x47,0x48,0x4C,0x4F,0x54,0x55,0x56,0x57,0x5A,0x5B,0x5C,0x5E,0x5F,0x62, |
2411 | 0x67,0x68,0x69,0x6C,0x71,0x74,0x75,0x76,0x77,0x78,0x7B,0x90,0x91,0x92,0x93,0x94, |
2412 | 0x95,0x41,0x47,0x48,0x4C,0x4F,0x54,0x55,0x56,0x57,0x5A,0x5B,0x5C,0x5E,0x5F,0x62, |
2413 | 0x67,0x68,0x69,0x6C,0x71,0x74,0x75,0x76,0x77,0x78,0x7B,0x96,0x97,0x98,0x99,0x9A, |
2414 | 0x48,0x74,0x4F,0x41,0x41,0x74,0x48,0x48,0x5C,0x4F,0x62,0x62,0x57,0x7B,0x41,0x48, |
2415 | 0x4F,0x5C,0x5C,0x62,0x62,0x5C,0x5C,0x6C,0x6C,0x62,0x74,0x71,0x71,0x5C,0x9E,0x48, |
2416 | 0x41,0x57,0x62,0x74,0x41,0x41,0x7B,0x7B,0x4F,0x4F,0xAA,0x7B,0x48,0x6C,0xAE,0xAF, |
2417 | 0xB0,0xB1,0xB2,0xB3,0xB4,0x41,0x41,0x4F,0x6C,0xB5,0xBA,0xBB,0xBC,0x7B,0x7B,0xBF, |
2418 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0x41,0x41,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2419 | 0x4C,0x4C,0x4C,0x4F,0x4C,0x60,0x57,0x57,0x4F,0xD9,0xDA,0xDB,0xDC,0x71,0x74,0xDF, |
2420 | 0x62,0x70,0x62,0x60,0x60,0x60,0x6C,0x6C,0x69,0x74,0x69,0x74,0x78,0x78,0x71,0xEF, |
2421 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0x74,0x69,0x69,0xFE,0xFF |
2422 | }; |
2423 | |
2424 | static const uint16 to_uni_cp852_general_ci[] = { |
2425 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
2426 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
2427 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
2428 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
2429 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
2430 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
2431 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
2432 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
2433 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
2434 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
2435 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
2436 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
2437 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
2438 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
2439 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
2440 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
2441 | 0x00C7,0x00FC,0x00E9,0x00E2,0x00E4,0x016F,0x0107,0x00E7, |
2442 | 0x0142,0x00EB,0x0150,0x0151,0x00EE,0x0179,0x00C4,0x0106, |
2443 | 0x00C9,0x0139,0x013A,0x00F4,0x00F6,0x013D,0x013E,0x015A, |
2444 | 0x015B,0x00D6,0x00DC,0x0164,0x0165,0x0141,0x00D7,0x010D, |
2445 | 0x00E1,0x00ED,0x00F3,0x00FA,0x0104,0x0105,0x017D,0x017E, |
2446 | 0x0118,0x0119,0x00AC,0x017A,0x010C,0x015F,0x00AB,0x00BB, |
2447 | 0x2591,0x2592,0x2593,0x2502,0x2524,0x00C1,0x00C2,0x011A, |
2448 | 0x015E,0x2563,0x2551,0x2557,0x255D,0x017B,0x017C,0x2510, |
2449 | 0x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x0102,0x0103, |
2450 | 0x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x00A4, |
2451 | 0x0111,0x0110,0x010E,0x00CB,0x010F,0x0147,0x00CD,0x00CE, |
2452 | 0x011B,0x2518,0x250C,0x2588,0x2584,0x0162,0x016E,0x2580, |
2453 | 0x00D3,0x00DF,0x00D4,0x0143,0x0144,0x0148,0x0160,0x0161, |
2454 | 0x0154,0x00DA,0x0155,0x0170,0x00FD,0x00DD,0x0163,0x00B4, |
2455 | 0x00AD,0x02DD,0x02DB,0x02C7,0x02D8,0x00A7,0x00F7,0x00B8, |
2456 | 0x00B0,0x00A8,0x02D9,0x0171,0x0158,0x0159,0x25A0,0x00A0 |
2457 | }; |
2458 | |
2459 | #endif |
2460 | |
2461 | #ifdef HAVE_CHARSET_latin7 |
2462 | static const uchar ctype_latin7_general_ci[] = { |
2463 | 0x00, |
2464 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
2465 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
2466 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2467 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
2468 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2469 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
2470 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2471 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
2472 | 0x01,0x20,0x10,0x20,0x10,0x10,0x00,0x00,0x20,0x10,0x20,0x10,0x20,0x10,0x10,0x10, |
2473 | 0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x00,0x20,0x10,0x20,0x10,0x10,0x20, |
2474 | 0x48,0x20,0x10,0x10,0x10,0x20,0x10,0x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01, |
2475 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x02, |
2476 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2477 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
2478 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2479 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10 |
2480 | }; |
2481 | |
2482 | static const uchar to_lower_latin7_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,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2488 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2489 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2490 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,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 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF, |
2494 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
2495 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2496 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
2497 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2498 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2499 | }; |
2500 | |
2501 | static const uchar to_upper_latin7_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,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2507 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2508 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2509 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2510 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
2511 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
2512 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
2513 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xBC,0xBD,0xBE,0xAF, |
2514 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2515 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2516 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2517 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
2518 | }; |
2519 | |
2520 | static const uchar sort_order_latin7_general_ci[] = { |
2521 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2522 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2523 | 0x30,0x32,0x33,0x34,0x35,0x36,0x37,0x2B,0x38,0x39,0x3A,0x5C,0x3B,0x2C,0x3C,0x3D, |
2524 | 0x76,0x7A,0x7C,0x7E,0x80,0x81,0x82,0x83,0x84,0x85,0x3E,0x3F,0x5D,0x5E,0x5F,0x40, |
2525 | 0x41,0x86,0x92,0x94,0x9A,0x9C,0xA6,0xA8,0xAC,0xAE,0xB4,0xB6,0xBA,0xC0,0xC2,0xC8, |
2526 | 0xD4,0xD6,0xD8,0xDC,0xE3,0xE6,0xEE,0xF0,0xF2,0xF4,0xF6,0x42,0x43,0x44,0x45,0x46, |
2527 | 0x47,0x86,0x92,0x94,0x9A,0x9C,0xA6,0xA8,0xAC,0xAE,0xB4,0xB6,0xBA,0xC0,0xC2,0xC8, |
2528 | 0xD4,0xD6,0xD8,0xDC,0xE2,0xE6,0xEE,0xF0,0xF2,0xF4,0xF6,0x48,0x49,0x4A,0x4B,0x20, |
2529 | 0x75,0x21,0x56,0x22,0x59,0x73,0x70,0x71,0x23,0x74,0x24,0x5A,0x25,0x4D,0x51,0x50, |
2530 | 0x26,0x54,0x55,0x57,0x58,0x72,0x2E,0x2F,0x27,0xE5,0x28,0x5B,0x29,0x4E,0x53,0x2A, |
2531 | 0x31,0xFE,0x65,0x66,0x67,0xFF,0x4C,0x68,0x2D,0x69,0xDA,0x61,0x6A,0x2D,0x6B,0x90, |
2532 | 0x6C,0x60,0x7D,0x7F,0x4F,0x6D,0x6E,0x6F,0xD3,0x7B,0xDB,0x62,0x77,0x78,0x79,0x90, |
2533 | 0x8E,0xB2,0x8A,0x96,0x88,0x8C,0xA4,0xA2,0x98,0x9E,0xF8,0xA0,0xAA,0xB8,0xB0,0xBE, |
2534 | 0xE1,0xC4,0xC6,0xCA,0xCE,0xD0,0xCC,0x63,0xEC,0xBC,0xDE,0xEA,0xE8,0xFA,0xFC,0xE0, |
2535 | 0x8E,0xB2,0x8A,0x96,0x88,0x8C,0xA4,0xA2,0x98,0x9E,0xF8,0xA0,0xAA,0xB8,0xB0,0xBE, |
2536 | 0xE1,0xC4,0xC6,0xCA,0xCE,0xD0,0xCC,0x64,0xEC,0xBC,0xDE,0xEA,0xE8,0xFA,0xFC,0x52 |
2537 | }; |
2538 | |
2539 | static const uint16 to_uni_latin7_general_ci[] = { |
2540 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
2541 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
2542 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
2543 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
2544 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
2545 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
2546 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
2547 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
2548 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
2549 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
2550 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
2551 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
2552 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
2553 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
2554 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
2555 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
2556 | 0x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087, |
2557 | 0x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F, |
2558 | 0x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097, |
2559 | 0x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F, |
2560 | 0x00A0,0x201D,0x00A2,0x00A3,0x00A4,0x201E,0x00A6,0x00A7, |
2561 | 0x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6, |
2562 | 0x00B0,0x00B1,0x00B2,0x00B3,0x201C,0x00B5,0x00B6,0x00B7, |
2563 | 0x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6, |
2564 | 0x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112, |
2565 | 0x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B, |
2566 | 0x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7, |
2567 | 0x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF, |
2568 | 0x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113, |
2569 | 0x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C, |
2570 | 0x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7, |
2571 | 0x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x2019 |
2572 | }; |
2573 | |
2574 | #endif |
2575 | |
2576 | #ifdef HAVE_CHARSET_latin7 |
2577 | static const uchar sort_order_latin7_general_cs[] = { |
2578 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2579 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2580 | 0x30,0x32,0x33,0x34,0x35,0x36,0x37,0x2B,0x38,0x39,0x3A,0x5C,0x3B,0x2C,0x3C,0x3D, |
2581 | 0x76,0x7A,0x7C,0x7E,0x80,0x81,0x82,0x83,0x84,0x85,0x3E,0x3F,0x5D,0x5E,0x5F,0x40, |
2582 | 0x41,0x86,0x92,0x94,0x9A,0x9C,0xA6,0xA8,0xAC,0xAE,0xB4,0xB6,0xBA,0xC0,0xC2,0xC8, |
2583 | 0xD4,0xD6,0xD8,0xDC,0xE3,0xE6,0xEE,0xF0,0xF2,0xF4,0xF6,0x42,0x43,0x44,0x45,0x46, |
2584 | 0x47,0x87,0x93,0x95,0x9B,0x9D,0xA7,0xA9,0xAD,0xAF,0xB5,0xB7,0xBB,0xC1,0xC3,0xC9, |
2585 | 0xD5,0xD7,0xD9,0xDD,0xE4,0xE7,0xEF,0xF1,0xF3,0xF5,0xF7,0x48,0x49,0x4A,0x4B,0x20, |
2586 | 0x75,0x21,0x56,0x22,0x59,0x73,0x70,0x71,0x23,0x74,0x24,0x5A,0x25,0x4D,0x51,0x50, |
2587 | 0x26,0x54,0x55,0x57,0x58,0x72,0x2E,0x2F,0x27,0xE5,0x28,0x5B,0x29,0x4E,0x53,0x2A, |
2588 | 0x31,0xFE,0x65,0x66,0x67,0xFF,0x4C,0x68,0xD3,0x69,0xDA,0x61,0x6A,0x2D,0x6B,0x90, |
2589 | 0x6C,0x60,0x7D,0x7F,0x4F,0x6D,0x6E,0x6F,0xD2,0x7B,0xDB,0x62,0x77,0x78,0x79,0x91, |
2590 | 0x8E,0xB2,0x8A,0x96,0x88,0x8C,0xA4,0xA2,0x98,0x9E,0xF8,0xA0,0xAA,0xB8,0xB0,0xBE, |
2591 | 0xE1,0xC4,0xC6,0xCA,0xCE,0xD0,0xCC,0x63,0xEC,0xBC,0xDE,0xEA,0xE8,0xFA,0xFC,0xE0, |
2592 | 0x8F,0xB3,0x8B,0x97,0x89,0x8D,0xA5,0xA3,0x99,0x9F,0xF9,0xA1,0xAB,0xB9,0xB1,0xBF, |
2593 | 0xE2,0xC5,0xC7,0xCB,0xCF,0xD1,0xCD,0x64,0xED,0xBD,0xDF,0xEB,0xE9,0xFB,0xFD,0x52 |
2594 | }; |
2595 | |
2596 | #endif |
2597 | |
2598 | #ifdef HAVE_CHARSET_macce |
2599 | #endif |
2600 | |
2601 | #ifdef HAVE_CHARSET_cp1250 |
2602 | static const uchar sort_order_cp1250_croatian_ci[] = { |
2603 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2604 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2605 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2606 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2607 | 0x40,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59, |
2608 | 0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x90,0x91,0x92,0x93,0x94, |
2609 | 0x95,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59, |
2610 | 0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x96,0x97,0x98,0x99,0x9A, |
2611 | 0x9B,0x9C,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x60,0xA6,0x5F,0x62,0x6C,0x6B, |
2612 | 0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0x60,0xB1,0x5F,0x62,0x6C,0x6B, |
2613 | 0xB2,0xB3,0xB4,0x54,0xB5,0x41,0xB6,0xB7,0xB8,0xB9,0x5F,0xBA,0xBB,0xBC,0xBD,0x6B, |
2614 | 0xBE,0xBF,0xC0,0x54,0xC1,0xC2,0xC3,0xC4,0xC5,0x41,0x5F,0xC6,0x54,0xC7,0x54,0x6B, |
2615 | 0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48, |
2616 | 0x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xC8,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0x5F, |
2617 | 0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48, |
2618 | 0x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xC9,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0xFF |
2619 | }; |
2620 | |
2621 | #endif |
2622 | |
2623 | #ifdef HAVE_CHARSET_latin1 |
2624 | static const uchar ctype_latin1_general_ci[] = { |
2625 | 0x00, |
2626 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
2627 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
2628 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2629 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
2630 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2631 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
2632 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2633 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
2634 | 0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00, |
2635 | 0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01, |
2636 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2637 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2638 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2639 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
2640 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2641 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02 |
2642 | }; |
2643 | |
2644 | static const uchar to_lower_latin1_general_ci[] = { |
2645 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2646 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2647 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2648 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2649 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2650 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2651 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2652 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2653 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
2654 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
2655 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
2656 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
2657 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2658 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
2659 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2660 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2661 | }; |
2662 | |
2663 | static const uchar to_upper_latin1_general_ci[] = { |
2664 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2665 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2666 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2667 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2668 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2669 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2670 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2671 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2672 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
2673 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
2674 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
2675 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
2676 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2677 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2678 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2679 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
2680 | }; |
2681 | |
2682 | static const uchar sort_order_latin1_general_ci[] = { |
2683 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2684 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2685 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2686 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2687 | 0x40,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81, |
2688 | 0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB3,0xB4,0xB5,0xB6,0xB7, |
2689 | 0xB8,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81, |
2690 | 0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB9,0xBA,0xBB,0xBC,0xBF, |
2691 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2692 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2693 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2694 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF, |
2695 | 0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x55,0x5D,0x5F,0x61,0x63,0x6D,0x6F,0x71,0x73, |
2696 | 0x59,0x7F,0x83,0x85,0x87,0x89,0x8B,0xBD,0x8D,0x9C,0x9E,0xA0,0xA2,0xAC,0xB1,0x97, |
2697 | 0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x55,0x5D,0x5F,0x61,0x63,0x6D,0x6F,0x71,0x73, |
2698 | 0x59,0x7F,0x83,0x85,0x87,0x89,0x8B,0xBE,0x8D,0x9C,0x9E,0xA0,0xA2,0xAC,0xB1,0xAE |
2699 | }; |
2700 | |
2701 | static const uint16 to_uni_latin1_general_ci[] = { |
2702 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
2703 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
2704 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
2705 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
2706 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
2707 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
2708 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
2709 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
2710 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
2711 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
2712 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
2713 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
2714 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
2715 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
2716 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
2717 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
2718 | 0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021, |
2719 | 0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F, |
2720 | 0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
2721 | 0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178, |
2722 | 0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, |
2723 | 0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF, |
2724 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
2725 | 0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF, |
2726 | 0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7, |
2727 | 0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF, |
2728 | 0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7, |
2729 | 0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF, |
2730 | 0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7, |
2731 | 0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF, |
2732 | 0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7, |
2733 | 0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF |
2734 | }; |
2735 | |
2736 | #endif |
2737 | |
2738 | #ifdef HAVE_CHARSET_latin1 |
2739 | static const uchar ctype_latin1_general_cs[] = { |
2740 | 0x00, |
2741 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
2742 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
2743 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2744 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
2745 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2746 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
2747 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2748 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
2749 | 0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00, |
2750 | 0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01, |
2751 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2752 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2753 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2754 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
2755 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2756 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02 |
2757 | }; |
2758 | |
2759 | static const uchar to_lower_latin1_general_cs[] = { |
2760 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2761 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2762 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2763 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2764 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2765 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2766 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2767 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2768 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
2769 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
2770 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
2771 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
2772 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2773 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
2774 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2775 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2776 | }; |
2777 | |
2778 | static const uchar to_upper_latin1_general_cs[] = { |
2779 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2780 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2781 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2782 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2783 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2784 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2785 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2786 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2787 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
2788 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
2789 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
2790 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
2791 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2792 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2793 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2794 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
2795 | }; |
2796 | |
2797 | static const uchar sort_order_latin1_general_cs[] = { |
2798 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2799 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2800 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2801 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2802 | 0x40,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81, |
2803 | 0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB3,0xB4,0xB5,0xB6,0xB7, |
2804 | 0xB8,0x42,0x52,0x54,0x58,0x5C,0x66,0x68,0x6A,0x6C,0x76,0x78,0x7A,0x7C,0x7E,0x82, |
2805 | 0x90,0x92,0x94,0x96,0x99,0x9B,0xA5,0xA7,0xA9,0xAB,0xB0,0xB9,0xBA,0xBB,0xBC,0xBF, |
2806 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2807 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2808 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2809 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF, |
2810 | 0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x55,0x5D,0x5F,0x61,0x63,0x6D,0x6F,0x71,0x73, |
2811 | 0x59,0x7F,0x83,0x85,0x87,0x89,0x8B,0xBD,0x8D,0x9C,0x9E,0xA0,0xA2,0xAC,0xB1,0x97, |
2812 | 0x44,0x46,0x48,0x4A,0x4C,0x4E,0x50,0x56,0x5E,0x60,0x62,0x64,0x6E,0x70,0x72,0x74, |
2813 | 0x5A,0x80,0x84,0x86,0x88,0x8A,0x8C,0xBE,0x8E,0x9D,0x9F,0xA1,0xA3,0xAD,0xB2,0xAE |
2814 | }; |
2815 | |
2816 | static const uint16 to_uni_latin1_general_cs[] = { |
2817 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
2818 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
2819 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
2820 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
2821 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
2822 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
2823 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
2824 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
2825 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
2826 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
2827 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
2828 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
2829 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
2830 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
2831 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
2832 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
2833 | 0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021, |
2834 | 0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F, |
2835 | 0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
2836 | 0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178, |
2837 | 0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, |
2838 | 0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF, |
2839 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
2840 | 0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF, |
2841 | 0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7, |
2842 | 0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF, |
2843 | 0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7, |
2844 | 0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF, |
2845 | 0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7, |
2846 | 0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF, |
2847 | 0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7, |
2848 | 0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF |
2849 | }; |
2850 | |
2851 | #endif |
2852 | |
2853 | #ifdef HAVE_CHARSET_cp1251 |
2854 | #endif |
2855 | |
2856 | #ifdef HAVE_CHARSET_cp1251 |
2857 | static const uchar ctype_cp1251_general_ci[] = { |
2858 | 0x00, |
2859 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
2860 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
2861 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
2862 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
2863 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2864 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
2865 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2866 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00, |
2867 | 0x01,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01, |
2868 | 0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x02,0x02,0x02, |
2869 | 0x00,0x01,0x02,0x01,0x00,0x01,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01, |
2870 | 0x00,0x00,0x01,0x02,0x02,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x02,0x01,0x02,0x02, |
2871 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2872 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
2873 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
2874 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02 |
2875 | }; |
2876 | |
2877 | static const uchar to_lower_cp1251_general_ci[] = { |
2878 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2879 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2880 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2881 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2882 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2883 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2884 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
2885 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2886 | 0x90,0x83,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F, |
2887 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
2888 | 0xA0,0xA2,0xA2,0xBC,0xA4,0xB4,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF, |
2889 | 0xB0,0xB1,0xB3,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF, |
2890 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2891 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF, |
2892 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
2893 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
2894 | }; |
2895 | |
2896 | static const uchar to_upper_cp1251_general_ci[] = { |
2897 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2898 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2899 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2900 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2901 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2902 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
2903 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
2904 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
2905 | 0x80,0x81,0x82,0x81,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
2906 | 0x80,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x9D,0x8E,0x8F, |
2907 | 0xA0,0xA1,0xA1,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
2908 | 0xB0,0xB1,0xB2,0xB2,0xA5,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xA3,0xBD,0xBD,0xAF, |
2909 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2910 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
2911 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
2912 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF |
2913 | }; |
2914 | |
2915 | static const uchar sort_order_cp1251_general_ci[] = { |
2916 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2917 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2918 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2919 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2920 | 0x40,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D, |
2921 | 0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xD3,0xD4,0xD5,0xD6,0xD7, |
2922 | 0xD8,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D, |
2923 | 0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xD9,0xDA,0xDB,0xDC,0xDD, |
2924 | 0x81,0x83,0xDE,0x83,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,0xA1,0xE5,0xA7,0x9D,0xB3,0xC1, |
2925 | 0x81,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xA1,0xEF,0xA7,0x9D,0xB3,0xC1, |
2926 | 0xF0,0xB7,0xB7,0x99,0xF1,0x7D,0xF2,0xF3,0x87,0xF4,0x89,0xF5,0xF6,0xF7,0xF8,0x95, |
2927 | 0xF9,0xFA,0x93,0x93,0x7D,0xFB,0xFC,0xFD,0x87,0xFE,0x89,0xFF,0x99,0x8F,0x8F,0x95, |
2928 | 0x75,0x77,0x79,0x7B,0x7F,0x85,0x8B,0x8D,0x91,0x97,0x9B,0x9F,0xA3,0xA5,0xA9,0xAB, |
2929 | 0xAD,0xAF,0xB1,0xB5,0xB9,0xBB,0xBD,0xBF,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1, |
2930 | 0x75,0x77,0x79,0x7B,0x7F,0x85,0x8B,0x8D,0x91,0x97,0x9B,0x9F,0xA3,0xA5,0xA9,0xAB, |
2931 | 0xAD,0xAF,0xB1,0xB5,0xB9,0xBB,0xBD,0xBF,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1 |
2932 | }; |
2933 | |
2934 | static const uint16 to_uni_cp1251_general_ci[] = { |
2935 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
2936 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
2937 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
2938 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
2939 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
2940 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
2941 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
2942 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
2943 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
2944 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
2945 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
2946 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
2947 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
2948 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
2949 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
2950 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
2951 | 0x0402,0x0403,0x201A,0x0453,0x201E,0x2026,0x2020,0x2021, |
2952 | 0x20AC,0x2030,0x0409,0x2039,0x040A,0x040C,0x040B,0x040F, |
2953 | 0x0452,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
2954 | 0x0000,0x2122,0x0459,0x203A,0x045A,0x045C,0x045B,0x045F, |
2955 | 0x00A0,0x040E,0x045E,0x0408,0x00A4,0x0490,0x00A6,0x00A7, |
2956 | 0x0401,0x00A9,0x0404,0x00AB,0x00AC,0x00AD,0x00AE,0x0407, |
2957 | 0x00B0,0x00B1,0x0406,0x0456,0x0491,0x00B5,0x00B6,0x00B7, |
2958 | 0x0451,0x2116,0x0454,0x00BB,0x0458,0x0405,0x0455,0x0457, |
2959 | 0x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417, |
2960 | 0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F, |
2961 | 0x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427, |
2962 | 0x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F, |
2963 | 0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437, |
2964 | 0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F, |
2965 | 0x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447, |
2966 | 0x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F |
2967 | }; |
2968 | |
2969 | #endif |
2970 | |
2971 | #ifdef HAVE_CHARSET_cp1251 |
2972 | static const uchar sort_order_cp1251_general_cs[] = { |
2973 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
2974 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
2975 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
2976 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
2977 | 0x40,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D, |
2978 | 0x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xD3,0xD4,0xD5,0xD6,0xD7, |
2979 | 0xD8,0x42,0x44,0x46,0x48,0x4A,0x4C,0x4E,0x50,0x52,0x54,0x56,0x58,0x5A,0x5C,0x5E, |
2980 | 0x60,0x62,0x64,0x66,0x68,0x6A,0x6C,0x6E,0x70,0x72,0x74,0xD9,0xDA,0xDB,0xDC,0xDD, |
2981 | 0x81,0x83,0xDE,0x84,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,0xA1,0xE5,0xA7,0x9D,0xB3,0xC1, |
2982 | 0x82,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xA2,0xEF,0xA8,0x9E,0xB4,0xC2, |
2983 | 0xF0,0xB7,0xB8,0x99,0xF1,0x7D,0xF2,0xF3,0x87,0xF4,0x89,0xF5,0xF6,0xF7,0xF8,0x95, |
2984 | 0xF9,0xFA,0x93,0x94,0x7E,0xFB,0xFC,0xFD,0x88,0xFE,0x8A,0xFF,0x9A,0x8F,0x90,0x96, |
2985 | 0x75,0x77,0x79,0x7B,0x7F,0x85,0x8B,0x8D,0x91,0x97,0x9B,0x9F,0xA3,0xA5,0xA9,0xAB, |
2986 | 0xAD,0xAF,0xB1,0xB5,0xB9,0xBB,0xBD,0xBF,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1, |
2987 | 0x76,0x78,0x7A,0x7C,0x80,0x86,0x8C,0x8E,0x92,0x98,0x9C,0xA0,0xA4,0xA6,0xAA,0xAC, |
2988 | 0xAE,0xB0,0xB2,0xB6,0xBA,0xBC,0xBE,0xC0,0xC4,0xC6,0xC8,0xCA,0xCC,0xCE,0xD0,0xD2 |
2989 | }; |
2990 | |
2991 | #endif |
2992 | |
2993 | #ifdef HAVE_CHARSET_macroman |
2994 | #endif |
2995 | |
2996 | #ifdef HAVE_CHARSET_cp1256 |
2997 | static const uchar ctype_cp1256_general_ci[] = { |
2998 | 0x00, |
2999 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
3000 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
3001 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
3002 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
3003 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
3004 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x00,0x00, |
3005 | 0x00,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
3006 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
3007 | 0x00,0x03,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x03,0x00, |
3008 | 0x03,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00, |
3009 | 0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x10,0x00,0x00, |
3010 | 0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x10, |
3011 | 0x00,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, |
3012 | 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, |
3013 | 0x02,0x03,0x02,0x03,0x03,0x03,0x03,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x02,0x02, |
3014 | 0x03,0x03,0x03,0x03,0x02,0x03,0x03,0x00,0x03,0x02,0x03,0x02,0x02,0x00,0x00,0x00 |
3015 | }; |
3016 | |
3017 | static const uchar to_lower_cp1256_general_ci[] = { |
3018 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3019 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3020 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3021 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3022 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
3023 | 0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
3024 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
3025 | 0x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
3026 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x9C,0x8D,0x8E,0x8F, |
3027 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
3028 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
3029 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
3030 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3031 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
3032 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
3033 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
3034 | }; |
3035 | |
3036 | static const uchar to_upper_cp1256_general_ci[] = { |
3037 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3038 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3039 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3040 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3041 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3042 | 0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5F,0x5E,0x5F, |
3043 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3044 | 0x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7F,0x7E,0x7F, |
3045 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
3046 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x8C,0x9D,0x9E,0x9F, |
3047 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
3048 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
3049 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3050 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
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,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
3053 | }; |
3054 | |
3055 | static const uchar sort_order_cp1256_general_ci[] = { |
3056 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3057 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3058 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3059 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3060 | 0x40,0x41,0x45,0x47,0x4A,0x4C,0x52,0x55,0x57,0x59,0x5D,0x5F,0x61,0x63,0x65,0x67, |
3061 | 0x6C,0x6E,0x70,0x72,0x74,0x76,0x7B,0x7D,0x7F,0x81,0x83,0xB9,0xBA,0xBB,0xBC,0xBD, |
3062 | 0xBE,0x41,0x45,0x47,0x4A,0x4C,0x52,0x55,0x57,0x59,0x5D,0x5F,0x61,0x63,0x65,0x67, |
3063 | 0x6C,0x6E,0x70,0x72,0x74,0x76,0x7B,0x7D,0x7F,0x81,0x83,0xBF,0xC0,0xC1,0xC2,0xC3, |
3064 | 0xC4,0x8E,0xC5,0x54,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0x6A,0x92,0x99,0xCE, |
3065 | 0xA5,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0x6A,0xDA,0xDB,0xDC, |
3066 | 0xDD,0xB6,0xDE,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB, |
3067 | 0xEC,0xED,0xEE,0xEF,0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xB7,0xF6,0xF7,0xF8,0xF9,0xB8, |
3068 | 0xFA,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x9F,0x90,0x91,0x93,0x94,0x95, |
3069 | 0x96,0x97,0x98,0x9A,0x9B,0x9C,0x9D,0xFB,0x9E,0x9F,0xA0,0xA1,0xAD,0xA2,0xA3,0xA4, |
3070 | 0x43,0xA6,0x44,0xA7,0xA8,0xA9,0xAA,0x49,0x4E,0x4F,0x50,0x51,0xAB,0xAC,0x5B,0x5C, |
3071 | 0xAE,0xAF,0xB0,0xB1,0x69,0xB2,0xB3,0xFC,0xB4,0x78,0xB5,0x79,0x7A,0xFD,0xFE,0xFF |
3072 | }; |
3073 | |
3074 | static const uint16 to_uni_cp1256_general_ci[] = { |
3075 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
3076 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
3077 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
3078 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
3079 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
3080 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
3081 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
3082 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
3083 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
3084 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
3085 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
3086 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
3087 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
3088 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
3089 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
3090 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
3091 | 0x20AC,0x067E,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021, |
3092 | 0x02C6,0x2030,0x0000,0x2039,0x0152,0x0686,0x0698,0x0000, |
3093 | 0x06AF,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
3094 | 0x0000,0x2122,0x0000,0x203A,0x0153,0x200C,0x200D,0x0000, |
3095 | 0x00A0,0x060C,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, |
3096 | 0x00A8,0x00A9,0x0000,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF, |
3097 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
3098 | 0x00B8,0x00B9,0x061B,0x00BB,0x00BC,0x00BD,0x00BE,0x061F, |
3099 | 0x0000,0x0621,0x0622,0x0623,0x0624,0x0625,0x0626,0x0627, |
3100 | 0x0628,0x0629,0x062A,0x062B,0x062C,0x062D,0x062E,0x062F, |
3101 | 0x0630,0x0631,0x0632,0x0633,0x0634,0x0635,0x0636,0x00D7, |
3102 | 0x0637,0x0638,0x0639,0x063A,0x0640,0x0641,0x0642,0x0643, |
3103 | 0x00E0,0x0644,0x00E2,0x0645,0x0646,0x0647,0x0648,0x00E7, |
3104 | 0x00E8,0x00E9,0x00EA,0x00EB,0x0649,0x064A,0x00EE,0x00EF, |
3105 | 0x064B,0x064C,0x064D,0x064E,0x00F4,0x064F,0x0650,0x00F7, |
3106 | 0x0651,0x00F9,0x0652,0x00FB,0x00FC,0x200E,0x200F,0x0000 |
3107 | }; |
3108 | |
3109 | #endif |
3110 | |
3111 | #ifdef HAVE_CHARSET_cp1257 |
3112 | #endif |
3113 | |
3114 | #ifdef HAVE_CHARSET_cp1257 |
3115 | static const uchar ctype_cp1257_general_ci[] = { |
3116 | 0x00, |
3117 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
3118 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
3119 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
3120 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
3121 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
3122 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
3123 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
3124 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00, |
3125 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
3126 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
3127 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01, |
3128 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x02, |
3129 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
3130 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
3131 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
3132 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00 |
3133 | }; |
3134 | |
3135 | static const uchar to_lower_cp1257_general_ci[] = { |
3136 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3137 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3138 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3139 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3140 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
3141 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
3142 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
3143 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
3144 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
3145 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
3146 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF, |
3147 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
3148 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
3149 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
3150 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
3151 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
3152 | }; |
3153 | |
3154 | static const uchar to_upper_cp1257_general_ci[] = { |
3155 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3156 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3157 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3158 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3159 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3160 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
3161 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3162 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
3163 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
3164 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
3165 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xAF, |
3166 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xAF, |
3167 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3168 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
3169 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3170 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
3171 | }; |
3172 | |
3173 | static const uchar sort_order_cp1257_general_ci[] = { |
3174 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3175 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3176 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3177 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3178 | 0x40,0x41,0x4D,0x4F,0x55,0x57,0x61,0x63,0x67,0x69,0x6F,0x71,0x75,0x7B,0x7D,0x83, |
3179 | 0x8F,0x91,0x93,0x97,0x9E,0xA0,0xA8,0xAA,0xAC,0xAE,0xB0,0xB8,0xB9,0xBA,0xBB,0xBC, |
3180 | 0xBD,0x41,0x4D,0x4F,0x55,0x57,0x61,0x63,0x67,0x69,0x6F,0x71,0x75,0x7B,0x7D,0x83, |
3181 | 0x8F,0x91,0x93,0x97,0x9E,0xA0,0xA8,0xAA,0xAC,0xAE,0xB0,0xBE,0xBF,0xC0,0xC1,0xC4, |
3182 | 0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4, |
3183 | 0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4, |
3184 | 0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0x83,0xED,0x93,0xEE,0xEF,0xF0,0xF1,0x41, |
3185 | 0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0x83,0xFA,0x93,0xFB,0xFC,0xFD,0xFE,0x41, |
3186 | 0x41,0x69,0x41,0x4F,0x41,0x41,0x57,0x57,0x4F,0x57,0xB0,0x57,0x63,0x71,0x69,0x75, |
3187 | 0x97,0x7D,0x7D,0x83,0x83,0x83,0x83,0xC2,0xA0,0x75,0x97,0xA0,0xA0,0xB0,0xB0,0x97, |
3188 | 0x41,0x69,0x41,0x4F,0x41,0x41,0x57,0x57,0x4F,0x57,0xB0,0x57,0x63,0x71,0x69,0x75, |
3189 | 0x97,0x7D,0x7D,0x83,0x83,0x83,0x83,0xC3,0xA0,0x75,0x97,0xA0,0xA0,0xB0,0xB0,0xFF |
3190 | }; |
3191 | |
3192 | static const uint16 to_uni_cp1257_general_ci[] = { |
3193 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
3194 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
3195 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
3196 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
3197 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
3198 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
3199 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
3200 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
3201 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
3202 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
3203 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
3204 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
3205 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
3206 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
3207 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
3208 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
3209 | 0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021, |
3210 | 0x0000,0x2030,0x0000,0x2039,0x0000,0x00A8,0x02C7,0x00B8, |
3211 | 0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
3212 | 0x0000,0x2122,0x0000,0x203A,0x0000,0x00AF,0x02DB,0x0000, |
3213 | 0x00A0,0x0000,0x00A2,0x00A3,0x00A4,0x0000,0x00A6,0x00A7, |
3214 | 0x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6, |
3215 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
3216 | 0x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6, |
3217 | 0x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112, |
3218 | 0x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B, |
3219 | 0x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7, |
3220 | 0x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF, |
3221 | 0x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113, |
3222 | 0x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C, |
3223 | 0x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7, |
3224 | 0x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x02D9 |
3225 | }; |
3226 | |
3227 | #endif |
3228 | |
3229 | #ifdef HAVE_CHARSET_armscii8 |
3230 | #endif |
3231 | |
3232 | #ifdef HAVE_CHARSET_ascii |
3233 | #endif |
3234 | |
3235 | #ifdef HAVE_CHARSET_cp1250 |
3236 | #endif |
3237 | |
3238 | #ifdef HAVE_CHARSET_cp1256 |
3239 | #endif |
3240 | |
3241 | #ifdef HAVE_CHARSET_cp866 |
3242 | #endif |
3243 | |
3244 | #ifdef HAVE_CHARSET_dec8 |
3245 | #endif |
3246 | |
3247 | #ifdef HAVE_CHARSET_greek |
3248 | #endif |
3249 | |
3250 | #ifdef HAVE_CHARSET_hebrew |
3251 | #endif |
3252 | |
3253 | #ifdef HAVE_CHARSET_hp8 |
3254 | #endif |
3255 | |
3256 | #ifdef HAVE_CHARSET_keybcs2 |
3257 | #endif |
3258 | |
3259 | #ifdef HAVE_CHARSET_koi8r |
3260 | #endif |
3261 | |
3262 | #ifdef HAVE_CHARSET_koi8u |
3263 | #endif |
3264 | |
3265 | #ifdef HAVE_CHARSET_latin2 |
3266 | #endif |
3267 | |
3268 | #ifdef HAVE_CHARSET_latin5 |
3269 | #endif |
3270 | |
3271 | #ifdef HAVE_CHARSET_latin7 |
3272 | #endif |
3273 | |
3274 | #ifdef HAVE_CHARSET_cp850 |
3275 | #endif |
3276 | |
3277 | #ifdef HAVE_CHARSET_cp852 |
3278 | #endif |
3279 | |
3280 | #ifdef HAVE_CHARSET_swe7 |
3281 | #endif |
3282 | |
3283 | #ifdef HAVE_CHARSET_geostd8 |
3284 | static const uchar ctype_geostd8_general_ci[] = { |
3285 | 0x00, |
3286 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
3287 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
3288 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
3289 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
3290 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
3291 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
3292 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
3293 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
3294 | 0x00,0x00,0x10,0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x00,0x10,0x00,0x00,0x00,0x00, |
3295 | 0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00, |
3296 | 0x48,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
3297 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
3298 | 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, |
3299 | 0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03, |
3300 | 0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, |
3301 | 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 |
3302 | }; |
3303 | |
3304 | static const uchar to_lower_geostd8_general_ci[] = { |
3305 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3306 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3307 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3308 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3309 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
3310 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
3311 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
3312 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
3313 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
3314 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
3315 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
3316 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
3317 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3318 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
3319 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
3320 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
3321 | }; |
3322 | |
3323 | static const uchar to_upper_geostd8_general_ci[] = { |
3324 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3325 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3326 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3327 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3328 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3329 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
3330 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3331 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
3332 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
3333 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
3334 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
3335 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
3336 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3337 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
3338 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
3339 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
3340 | }; |
3341 | |
3342 | static const uchar sort_order_geostd8_general_ci[] = { |
3343 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3344 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3345 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3346 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3347 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3348 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
3349 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3350 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
3351 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
3352 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
3353 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
3354 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
3355 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3356 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
3357 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
3358 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
3359 | }; |
3360 | |
3361 | static const uint16 to_uni_geostd8_general_ci[] = { |
3362 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
3363 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
3364 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
3365 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
3366 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
3367 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
3368 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
3369 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
3370 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
3371 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
3372 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
3373 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
3374 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
3375 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
3376 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
3377 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
3378 | 0x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021, |
3379 | 0x0000,0x2030,0x0000,0x2039,0x0000,0x0000,0x0000,0x0000, |
3380 | 0x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
3381 | 0x0000,0x0000,0x0000,0x203A,0x0000,0x0000,0x0000,0x0000, |
3382 | 0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, |
3383 | 0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF, |
3384 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
3385 | 0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF, |
3386 | 0x10D0,0x10D1,0x10D2,0x10D3,0x10D4,0x10D5,0x10D6,0x10F1, |
3387 | 0x10D7,0x10D8,0x10D9,0x10DA,0x10DB,0x10DC,0x10F2,0x10DD, |
3388 | 0x10DE,0x10DF,0x10E0,0x10E1,0x10E2,0x10F3,0x10E3,0x10E4, |
3389 | 0x10E5,0x10E6,0x10E7,0x10E8,0x10E9,0x10EA,0x10EB,0x10EC, |
3390 | 0x10ED,0x10EE,0x10F4,0x10EF,0x10F0,0x10F5,0x0000,0x0000, |
3391 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, |
3392 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, |
3393 | 0x0000,0x0000,0x0000,0x0000,0x0000,0x2116,0x0000,0x0000 |
3394 | }; |
3395 | |
3396 | #endif |
3397 | |
3398 | #ifdef HAVE_CHARSET_geostd8 |
3399 | #endif |
3400 | |
3401 | #ifdef HAVE_CHARSET_latin1 |
3402 | static const uchar ctype_latin1_spanish_ci[] = { |
3403 | 0x00, |
3404 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20, |
3405 | 0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20, |
3406 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
3407 | 0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10, |
3408 | 0x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
3409 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10, |
3410 | 0x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
3411 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20, |
3412 | 0x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00, |
3413 | 0x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01, |
3414 | 0x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
3415 | 0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10, |
3416 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01, |
3417 | 0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02, |
3418 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02, |
3419 | 0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02 |
3420 | }; |
3421 | |
3422 | static const uchar to_lower_latin1_spanish_ci[] = { |
3423 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3424 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3425 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3426 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3427 | 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
3428 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F, |
3429 | 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F, |
3430 | 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F, |
3431 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
3432 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
3433 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
3434 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
3435 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
3436 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF, |
3437 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
3438 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF |
3439 | }; |
3440 | |
3441 | static const uchar to_upper_latin1_spanish_ci[] = { |
3442 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3443 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3444 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3445 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3446 | 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3447 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F, |
3448 | 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F, |
3449 | 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F, |
3450 | 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F, |
3451 | 0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F, |
3452 | 0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF, |
3453 | 0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF, |
3454 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3455 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
3456 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3457 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF |
3458 | }; |
3459 | |
3460 | static const uchar sort_order_latin1_spanish_ci[] = { |
3461 | 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, |
3462 | 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F, |
3463 | 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F, |
3464 | 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F, |
3465 | 0x40,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81, |
3466 | 0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB3,0xB4,0xB5,0xB6,0xB7, |
3467 | 0xB8,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81, |
3468 | 0x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB9,0xBA,0xBB,0xBC,0xBF, |
3469 | 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF, |
3470 | 0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF, |
3471 | 0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF, |
3472 | 0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF, |
3473 | 0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x53,0x5B,0x5B,0x5B,0x5B,0x6B,0x6B,0x6B,0x6B, |
3474 | 0x57,0x7F,0x81,0x81,0x81,0x81,0x81,0xBD,0x81,0x9A,0x9A,0x9A,0x9A,0xAA,0xB1,0x97, |
3475 | 0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x53,0x5B,0x5B,0x5B,0x5B,0x6B,0x6B,0x6B,0x6B, |
3476 | 0x57,0x7F,0x81,0x81,0x81,0x81,0x81,0xBE,0x81,0x9A,0x9A,0x9A,0x9A,0xAA,0xB1,0xAA |
3477 | }; |
3478 | |
3479 | static const uint16 to_uni_latin1_spanish_ci[] = { |
3480 | 0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007, |
3481 | 0x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F, |
3482 | 0x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017, |
3483 | 0x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F, |
3484 | 0x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027, |
3485 | 0x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F, |
3486 | 0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037, |
3487 | 0x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F, |
3488 | 0x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047, |
3489 | 0x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F, |
3490 | 0x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057, |
3491 | 0x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F, |
3492 | 0x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067, |
3493 | 0x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F, |
3494 | 0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077, |
3495 | 0x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F, |
3496 | 0x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021, |
3497 | 0x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F, |
3498 | 0x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014, |
3499 | 0x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178, |
3500 | 0x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7, |
3501 | 0x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF, |
3502 | 0x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7, |
3503 | 0x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF, |
3504 | 0x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7, |
3505 | 0x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF, |
3506 | 0x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7, |
3507 | 0x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF, |
3508 | 0x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7, |
3509 | 0x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF, |
3510 | 0x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7, |
3511 | 0x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF |
3512 | }; |
3513 | |
3514 | #endif |
3515 | |
3516 | #ifdef HAVE_CHARSET_cp1250 |
3517 | static const uchar sort_order_cp1250_polish_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,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59, |
3523 | 0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x90,0x91,0x92,0x93,0x94, |
3524 | 0x95,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59, |
3525 | 0x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x96,0x97,0x98,0x99,0x9A, |
3526 | 0x9B,0x9C,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x5F,0xA6,0x60,0x62,0x6B,0x6C, |
3527 | 0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0x5F,0xB1,0x60,0x62,0x6B,0x6C, |
3528 | 0xB2,0xB3,0xB4,0x55,0xB5,0x42,0xB6,0xB7,0xB8,0xB9,0x5F,0xBA,0xBB,0xBC,0xBD,0x6D, |
3529 | 0xBE,0xBF,0xC0,0x55,0xC1,0xC2,0xC3,0xC4,0xC5,0x42,0x5F,0xC6,0x54,0xC7,0x54,0x6D, |
3530 | 0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x44,0x4B,0x4C,0x4B,0x4B,0x50,0x50,0x48, |
3531 | 0x48,0x58,0x57,0x5A,0x59,0x59,0x59,0xC8,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0x5F, |
3532 | 0x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x44,0x4B,0x4C,0x4B,0x4B,0x50,0x50,0x48, |
3533 | 0x48,0x58,0x57,0x5A,0x59,0x59,0x59,0xC9,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0xFF |
3534 | }; |
3535 | |
3536 | #endif |
3537 | |
3538 | #ifdef HAVE_CHARSET_dec8 |
3539 | #endif |
3540 | |
3541 | #ifdef HAVE_CHARSET_cp850 |
3542 | #endif |
3543 | |
3544 | #ifdef HAVE_CHARSET_hp8 |
3545 | #endif |
3546 | |
3547 | #ifdef HAVE_CHARSET_koi8r |
3548 | #endif |
3549 | |
3550 | #ifdef HAVE_CHARSET_latin2 |
3551 | #endif |
3552 | |
3553 | #ifdef HAVE_CHARSET_swe7 |
3554 | #endif |
3555 | |
3556 | #ifdef HAVE_CHARSET_ascii |
3557 | #endif |
3558 | |
3559 | #ifdef HAVE_CHARSET_hebrew |
3560 | #endif |
3561 | |
3562 | #ifdef HAVE_CHARSET_koi8u |
3563 | #endif |
3564 | |
3565 | #ifdef HAVE_CHARSET_greek |
3566 | #endif |
3567 | |
3568 | #ifdef HAVE_CHARSET_cp1250 |
3569 | #endif |
3570 | |
3571 | #ifdef HAVE_CHARSET_latin5 |
3572 | #endif |
3573 | |
3574 | #ifdef HAVE_CHARSET_armscii8 |
3575 | #endif |
3576 | |
3577 | #ifdef HAVE_CHARSET_cp866 |
3578 | #endif |
3579 | |
3580 | #ifdef HAVE_CHARSET_keybcs2 |
3581 | #endif |
3582 | |
3583 | #ifdef HAVE_CHARSET_macce |
3584 | #endif |
3585 | |
3586 | #ifdef HAVE_CHARSET_macroman |
3587 | #endif |
3588 | |
3589 | #ifdef HAVE_CHARSET_cp852 |
3590 | #endif |
3591 | |
3592 | #ifdef HAVE_CHARSET_latin7 |
3593 | #endif |
3594 | |
3595 | #ifdef HAVE_CHARSET_macce |
3596 | #endif |
3597 | |
3598 | #ifdef HAVE_CHARSET_cp1251 |
3599 | #endif |
3600 | |
3601 | #ifdef HAVE_CHARSET_cp1251 |
3602 | #endif |
3603 | |
3604 | #ifdef HAVE_CHARSET_macroman |
3605 | #endif |
3606 | |
3607 | #ifdef HAVE_CHARSET_cp1256 |
3608 | #endif |
3609 | |
3610 | #ifdef HAVE_CHARSET_cp1257 |
3611 | #endif |
3612 | |
3613 | #ifdef HAVE_CHARSET_cp1257 |
3614 | #endif |
3615 | |
3616 | #ifdef HAVE_CHARSET_armscii8 |
3617 | #endif |
3618 | |
3619 | #ifdef HAVE_CHARSET_ascii |
3620 | #endif |
3621 | |
3622 | #ifdef HAVE_CHARSET_cp1250 |
3623 | #endif |
3624 | |
3625 | #ifdef HAVE_CHARSET_cp1256 |
3626 | #endif |
3627 | |
3628 | #ifdef HAVE_CHARSET_cp866 |
3629 | #endif |
3630 | |
3631 | #ifdef HAVE_CHARSET_dec8 |
3632 | #endif |
3633 | |
3634 | #ifdef HAVE_CHARSET_greek |
3635 | #endif |
3636 | |
3637 | #ifdef HAVE_CHARSET_hebrew |
3638 | #endif |
3639 | |
3640 | #ifdef HAVE_CHARSET_hp8 |
3641 | #endif |
3642 | |
3643 | #ifdef HAVE_CHARSET_keybcs2 |
3644 | #endif |
3645 | |
3646 | #ifdef HAVE_CHARSET_koi8r |
3647 | #endif |
3648 | |
3649 | #ifdef HAVE_CHARSET_koi8u |
3650 | #endif |
3651 | |
3652 | #ifdef HAVE_CHARSET_latin2 |
3653 | #endif |
3654 | |
3655 | #ifdef HAVE_CHARSET_latin5 |
3656 | #endif |
3657 | |
3658 | #ifdef HAVE_CHARSET_latin7 |
3659 | #endif |
3660 | |
3661 | #ifdef HAVE_CHARSET_cp850 |
3662 | #endif |
3663 | |
3664 | #ifdef HAVE_CHARSET_cp852 |
3665 | #endif |
3666 | |
3667 | #ifdef HAVE_CHARSET_swe7 |
3668 | #endif |
3669 | |
3670 | #ifdef HAVE_CHARSET_geostd8 |
3671 | #endif |
3672 | |
3673 | #ifdef HAVE_CHARSET_geostd8 |
3674 | #endif |
3675 | |
3676 | struct charset_info_st compiled_charsets[] = { |
3677 | #ifdef HAVE_CHARSET_dec8 |
3678 | { |
3679 | 3,0,0, |
3680 | MY_CS_COMPILED|MY_CS_PRIMARY, |
3681 | "dec8" , /* cset name */ |
3682 | "dec8_swedish_ci" , /* coll name */ |
3683 | "" , /* comment */ |
3684 | NULL, /* tailoring */ |
3685 | ctype_dec8_swedish_ci, /* ctype */ |
3686 | to_lower_dec8_swedish_ci, /* to_lower */ |
3687 | to_upper_dec8_swedish_ci, /* to_upper */ |
3688 | sort_order_dec8_swedish_ci, /* sort_order */ |
3689 | NULL, /* uca */ |
3690 | to_uni_dec8_swedish_ci, /* to_uni */ |
3691 | NULL, /* from_uni */ |
3692 | &my_unicase_default, /* caseinfo */ |
3693 | NULL, /* state map */ |
3694 | NULL, /* ident map */ |
3695 | 1, /* strxfrm_multiply*/ |
3696 | 1, /* caseup_multiply*/ |
3697 | 1, /* casedn_multiply*/ |
3698 | 1, /* mbminlen */ |
3699 | 1, /* mbmaxlen */ |
3700 | 0, /* min_sort_char */ |
3701 | 255, /* max_sort_char */ |
3702 | ' ', /* pad_char */ |
3703 | 0, /* escape_with_backslash_is_dangerous */ |
3704 | 1, /* levels_for_order */ |
3705 | &my_charset_8bit_handler, |
3706 | &my_collation_8bit_simple_ci_handler, |
3707 | } |
3708 | , |
3709 | #endif |
3710 | #ifdef HAVE_CHARSET_cp850 |
3711 | { |
3712 | 4,0,0, |
3713 | MY_CS_COMPILED|MY_CS_PRIMARY, |
3714 | "cp850" , /* cset name */ |
3715 | "cp850_general_ci" , /* coll name */ |
3716 | "" , /* comment */ |
3717 | NULL, /* tailoring */ |
3718 | ctype_cp850_general_ci, /* ctype */ |
3719 | to_lower_cp850_general_ci, /* to_lower */ |
3720 | to_upper_cp850_general_ci, /* to_upper */ |
3721 | sort_order_cp850_general_ci, /* sort_order */ |
3722 | NULL, /* uca */ |
3723 | to_uni_cp850_general_ci, /* to_uni */ |
3724 | NULL, /* from_uni */ |
3725 | &my_unicase_default, /* caseinfo */ |
3726 | NULL, /* state map */ |
3727 | NULL, /* ident map */ |
3728 | 1, /* strxfrm_multiply*/ |
3729 | 1, /* caseup_multiply*/ |
3730 | 1, /* casedn_multiply*/ |
3731 | 1, /* mbminlen */ |
3732 | 1, /* mbmaxlen */ |
3733 | 0, /* min_sort_char */ |
3734 | 255, /* max_sort_char */ |
3735 | ' ', /* pad_char */ |
3736 | 0, /* escape_with_backslash_is_dangerous */ |
3737 | 1, /* levels_for_order */ |
3738 | &my_charset_8bit_handler, |
3739 | &my_collation_8bit_simple_ci_handler, |
3740 | } |
3741 | , |
3742 | #endif |
3743 | #ifdef HAVE_CHARSET_latin1 |
3744 | { |
3745 | 5,0,0, |
3746 | MY_CS_COMPILED, |
3747 | "latin1" , /* cset name */ |
3748 | "latin1_german1_ci" , /* coll name */ |
3749 | "" , /* comment */ |
3750 | NULL, /* tailoring */ |
3751 | ctype_latin1_german1_ci, /* ctype */ |
3752 | to_lower_latin1_german1_ci, /* to_lower */ |
3753 | to_upper_latin1_german1_ci, /* to_upper */ |
3754 | sort_order_latin1_german1_ci, /* sort_order */ |
3755 | NULL, /* uca */ |
3756 | to_uni_latin1_german1_ci, /* to_uni */ |
3757 | NULL, /* from_uni */ |
3758 | &my_unicase_default, /* caseinfo */ |
3759 | NULL, /* state map */ |
3760 | NULL, /* ident map */ |
3761 | 1, /* strxfrm_multiply*/ |
3762 | 1, /* caseup_multiply*/ |
3763 | 1, /* casedn_multiply*/ |
3764 | 1, /* mbminlen */ |
3765 | 1, /* mbmaxlen */ |
3766 | 0, /* min_sort_char */ |
3767 | 255, /* max_sort_char */ |
3768 | ' ', /* pad_char */ |
3769 | 0, /* escape_with_backslash_is_dangerous */ |
3770 | 1, /* levels_for_order */ |
3771 | &my_charset_8bit_handler, |
3772 | &my_collation_8bit_simple_ci_handler, |
3773 | } |
3774 | , |
3775 | #endif |
3776 | #ifdef HAVE_CHARSET_hp8 |
3777 | { |
3778 | 6,0,0, |
3779 | MY_CS_COMPILED|MY_CS_PRIMARY, |
3780 | "hp8" , /* cset name */ |
3781 | "hp8_english_ci" , /* coll name */ |
3782 | "" , /* comment */ |
3783 | NULL, /* tailoring */ |
3784 | ctype_hp8_english_ci, /* ctype */ |
3785 | to_lower_hp8_english_ci, /* to_lower */ |
3786 | to_upper_hp8_english_ci, /* to_upper */ |
3787 | sort_order_hp8_english_ci, /* sort_order */ |
3788 | NULL, /* uca */ |
3789 | to_uni_hp8_english_ci, /* to_uni */ |
3790 | NULL, /* from_uni */ |
3791 | &my_unicase_default, /* caseinfo */ |
3792 | NULL, /* state map */ |
3793 | NULL, /* ident map */ |
3794 | 1, /* strxfrm_multiply*/ |
3795 | 1, /* caseup_multiply*/ |
3796 | 1, /* casedn_multiply*/ |
3797 | 1, /* mbminlen */ |
3798 | 1, /* mbmaxlen */ |
3799 | 0, /* min_sort_char */ |
3800 | 255, /* max_sort_char */ |
3801 | ' ', /* pad_char */ |
3802 | 0, /* escape_with_backslash_is_dangerous */ |
3803 | 1, /* levels_for_order */ |
3804 | &my_charset_8bit_handler, |
3805 | &my_collation_8bit_simple_ci_handler, |
3806 | } |
3807 | , |
3808 | #endif |
3809 | #ifdef HAVE_CHARSET_koi8r |
3810 | { |
3811 | 7,0,0, |
3812 | MY_CS_COMPILED|MY_CS_PRIMARY, |
3813 | "koi8r" , /* cset name */ |
3814 | "koi8r_general_ci" , /* coll name */ |
3815 | "" , /* comment */ |
3816 | NULL, /* tailoring */ |
3817 | ctype_koi8r_general_ci, /* ctype */ |
3818 | to_lower_koi8r_general_ci, /* to_lower */ |
3819 | to_upper_koi8r_general_ci, /* to_upper */ |
3820 | sort_order_koi8r_general_ci, /* sort_order */ |
3821 | NULL, /* uca */ |
3822 | to_uni_koi8r_general_ci, /* to_uni */ |
3823 | NULL, /* from_uni */ |
3824 | &my_unicase_default, /* caseinfo */ |
3825 | NULL, /* state map */ |
3826 | NULL, /* ident map */ |
3827 | 1, /* strxfrm_multiply*/ |
3828 | 1, /* caseup_multiply*/ |
3829 | 1, /* casedn_multiply*/ |
3830 | 1, /* mbminlen */ |
3831 | 1, /* mbmaxlen */ |
3832 | 0, /* min_sort_char */ |
3833 | 255, /* max_sort_char */ |
3834 | ' ', /* pad_char */ |
3835 | 0, /* escape_with_backslash_is_dangerous */ |
3836 | 1, /* levels_for_order */ |
3837 | &my_charset_8bit_handler, |
3838 | &my_collation_8bit_simple_ci_handler, |
3839 | } |
3840 | , |
3841 | #endif |
3842 | #ifdef HAVE_CHARSET_latin2 |
3843 | { |
3844 | 9,0,0, |
3845 | MY_CS_COMPILED|MY_CS_PRIMARY, |
3846 | "latin2" , /* cset name */ |
3847 | "latin2_general_ci" , /* coll name */ |
3848 | "" , /* comment */ |
3849 | NULL, /* tailoring */ |
3850 | ctype_latin2_general_ci, /* ctype */ |
3851 | to_lower_latin2_general_ci, /* to_lower */ |
3852 | to_upper_latin2_general_ci, /* to_upper */ |
3853 | sort_order_latin2_general_ci, /* sort_order */ |
3854 | NULL, /* uca */ |
3855 | to_uni_latin2_general_ci, /* to_uni */ |
3856 | NULL, /* from_uni */ |
3857 | &my_unicase_default, /* caseinfo */ |
3858 | NULL, /* state map */ |
3859 | NULL, /* ident map */ |
3860 | 1, /* strxfrm_multiply*/ |
3861 | 1, /* caseup_multiply*/ |
3862 | 1, /* casedn_multiply*/ |
3863 | 1, /* mbminlen */ |
3864 | 1, /* mbmaxlen */ |
3865 | 0, /* min_sort_char */ |
3866 | 255, /* max_sort_char */ |
3867 | ' ', /* pad_char */ |
3868 | 0, /* escape_with_backslash_is_dangerous */ |
3869 | 1, /* levels_for_order */ |
3870 | &my_charset_8bit_handler, |
3871 | &my_collation_8bit_simple_ci_handler, |
3872 | } |
3873 | , |
3874 | #endif |
3875 | #ifdef HAVE_CHARSET_swe7 |
3876 | { |
3877 | 10,0,0, |
3878 | MY_CS_COMPILED|MY_CS_PRIMARY|MY_CS_NONASCII, |
3879 | "swe7" , /* cset name */ |
3880 | "swe7_swedish_ci" , /* coll name */ |
3881 | "" , /* comment */ |
3882 | NULL, /* tailoring */ |
3883 | ctype_swe7_swedish_ci, /* ctype */ |
3884 | to_lower_swe7_swedish_ci, /* to_lower */ |
3885 | to_upper_swe7_swedish_ci, /* to_upper */ |
3886 | sort_order_swe7_swedish_ci, /* sort_order */ |
3887 | NULL, /* uca */ |
3888 | to_uni_swe7_swedish_ci, /* to_uni */ |
3889 | NULL, /* from_uni */ |
3890 | &my_unicase_default, /* caseinfo */ |
3891 | NULL, /* state map */ |
3892 | NULL, /* ident map */ |
3893 | 1, /* strxfrm_multiply*/ |
3894 | 1, /* caseup_multiply*/ |
3895 | 1, /* casedn_multiply*/ |
3896 | 1, /* mbminlen */ |
3897 | 1, /* mbmaxlen */ |
3898 | 0, /* min_sort_char */ |
3899 | 255, /* max_sort_char */ |
3900 | ' ', /* pad_char */ |
3901 | 0, /* escape_with_backslash_is_dangerous */ |
3902 | 1, /* levels_for_order */ |
3903 | &my_charset_8bit_handler, |
3904 | &my_collation_8bit_simple_ci_handler, |
3905 | } |
3906 | , |
3907 | #endif |
3908 | #ifdef HAVE_CHARSET_ascii |
3909 | { |
3910 | 11,0,0, |
3911 | MY_CS_COMPILED|MY_CS_PRIMARY|MY_CS_PUREASCII, |
3912 | "ascii" , /* cset name */ |
3913 | "ascii_general_ci" , /* coll name */ |
3914 | "" , /* comment */ |
3915 | NULL, /* tailoring */ |
3916 | ctype_ascii_general_ci, /* ctype */ |
3917 | to_lower_ascii_general_ci, /* to_lower */ |
3918 | to_upper_ascii_general_ci, /* to_upper */ |
3919 | sort_order_ascii_general_ci, /* sort_order */ |
3920 | NULL, /* uca */ |
3921 | to_uni_ascii_general_ci, /* to_uni */ |
3922 | NULL, /* from_uni */ |
3923 | &my_unicase_default, /* caseinfo */ |
3924 | NULL, /* state map */ |
3925 | NULL, /* ident map */ |
3926 | 1, /* strxfrm_multiply*/ |
3927 | 1, /* caseup_multiply*/ |
3928 | 1, /* casedn_multiply*/ |
3929 | 1, /* mbminlen */ |
3930 | 1, /* mbmaxlen */ |
3931 | 0, /* min_sort_char */ |
3932 | 255, /* max_sort_char */ |
3933 | ' ', /* pad_char */ |
3934 | 0, /* escape_with_backslash_is_dangerous */ |
3935 | 1, /* levels_for_order */ |
3936 | &my_charset_8bit_handler, |
3937 | &my_collation_8bit_simple_ci_handler, |
3938 | } |
3939 | , |
3940 | #endif |
3941 | #ifdef HAVE_CHARSET_cp1251 |
3942 | { |
3943 | 14,0,0, |
3944 | MY_CS_COMPILED, |
3945 | "cp1251" , /* cset name */ |
3946 | "cp1251_bulgarian_ci" , /* coll name */ |
3947 | "" , /* comment */ |
3948 | NULL, /* tailoring */ |
3949 | ctype_cp1251_general_ci, /* ctype */ |
3950 | to_lower_cp1251_general_ci, /* to_lower */ |
3951 | to_upper_cp1251_general_ci, /* to_upper */ |
3952 | sort_order_cp1251_bulgarian_ci, /* sort_order */ |
3953 | NULL, /* uca */ |
3954 | to_uni_cp1251_general_ci, /* to_uni */ |
3955 | NULL, /* from_uni */ |
3956 | &my_unicase_default, /* caseinfo */ |
3957 | NULL, /* state map */ |
3958 | NULL, /* ident map */ |
3959 | 1, /* strxfrm_multiply*/ |
3960 | 1, /* caseup_multiply*/ |
3961 | 1, /* casedn_multiply*/ |
3962 | 1, /* mbminlen */ |
3963 | 1, /* mbmaxlen */ |
3964 | 0, /* min_sort_char */ |
3965 | 255, /* max_sort_char */ |
3966 | ' ', /* pad_char */ |
3967 | 0, /* escape_with_backslash_is_dangerous */ |
3968 | 1, /* levels_for_order */ |
3969 | &my_charset_8bit_handler, |
3970 | &my_collation_8bit_simple_ci_handler, |
3971 | } |
3972 | , |
3973 | #endif |
3974 | #ifdef HAVE_CHARSET_latin1 |
3975 | { |
3976 | 15,0,0, |
3977 | MY_CS_COMPILED, |
3978 | "latin1" , /* cset name */ |
3979 | "latin1_danish_ci" , /* coll name */ |
3980 | "" , /* comment */ |
3981 | NULL, /* tailoring */ |
3982 | ctype_latin1_danish_ci, /* ctype */ |
3983 | to_lower_latin1_danish_ci, /* to_lower */ |
3984 | to_upper_latin1_danish_ci, /* to_upper */ |
3985 | sort_order_latin1_danish_ci, /* sort_order */ |
3986 | NULL, /* uca */ |
3987 | to_uni_latin1_danish_ci, /* to_uni */ |
3988 | NULL, /* from_uni */ |
3989 | &my_unicase_default, /* caseinfo */ |
3990 | NULL, /* state map */ |
3991 | NULL, /* ident map */ |
3992 | 1, /* strxfrm_multiply*/ |
3993 | 1, /* caseup_multiply*/ |
3994 | 1, /* casedn_multiply*/ |
3995 | 1, /* mbminlen */ |
3996 | 1, /* mbmaxlen */ |
3997 | 0, /* min_sort_char */ |
3998 | 255, /* max_sort_char */ |
3999 | ' ', /* pad_char */ |
4000 | 0, /* escape_with_backslash_is_dangerous */ |
4001 | 1, /* levels_for_order */ |
4002 | &my_charset_8bit_handler, |
4003 | &my_collation_8bit_simple_ci_handler, |
4004 | } |
4005 | , |
4006 | #endif |
4007 | #ifdef HAVE_CHARSET_hebrew |
4008 | { |
4009 | 16,0,0, |
4010 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4011 | "hebrew" , /* cset name */ |
4012 | "hebrew_general_ci" , /* coll name */ |
4013 | "" , /* comment */ |
4014 | NULL, /* tailoring */ |
4015 | ctype_hebrew_general_ci, /* ctype */ |
4016 | to_lower_hebrew_general_ci, /* to_lower */ |
4017 | to_upper_hebrew_general_ci, /* to_upper */ |
4018 | sort_order_hebrew_general_ci, /* sort_order */ |
4019 | NULL, /* uca */ |
4020 | to_uni_hebrew_general_ci, /* to_uni */ |
4021 | NULL, /* from_uni */ |
4022 | &my_unicase_default, /* caseinfo */ |
4023 | NULL, /* state map */ |
4024 | NULL, /* ident map */ |
4025 | 1, /* strxfrm_multiply*/ |
4026 | 1, /* caseup_multiply*/ |
4027 | 1, /* casedn_multiply*/ |
4028 | 1, /* mbminlen */ |
4029 | 1, /* mbmaxlen */ |
4030 | 0, /* min_sort_char */ |
4031 | 255, /* max_sort_char */ |
4032 | ' ', /* pad_char */ |
4033 | 0, /* escape_with_backslash_is_dangerous */ |
4034 | 1, /* levels_for_order */ |
4035 | &my_charset_8bit_handler, |
4036 | &my_collation_8bit_simple_ci_handler, |
4037 | } |
4038 | , |
4039 | #endif |
4040 | #ifdef HAVE_CHARSET_latin7 |
4041 | { |
4042 | 20,0,0, |
4043 | MY_CS_COMPILED|MY_CS_CSSORT, |
4044 | "latin7" , /* cset name */ |
4045 | "latin7_estonian_cs" , /* coll name */ |
4046 | "" , /* comment */ |
4047 | NULL, /* tailoring */ |
4048 | ctype_latin7_general_ci, /* ctype */ |
4049 | to_lower_latin7_general_ci, /* to_lower */ |
4050 | to_upper_latin7_general_ci, /* to_upper */ |
4051 | sort_order_latin7_estonian_cs, /* sort_order */ |
4052 | NULL, /* uca */ |
4053 | to_uni_latin7_general_ci, /* to_uni */ |
4054 | NULL, /* from_uni */ |
4055 | &my_unicase_default, /* caseinfo */ |
4056 | NULL, /* state map */ |
4057 | NULL, /* ident map */ |
4058 | 1, /* strxfrm_multiply*/ |
4059 | 1, /* caseup_multiply*/ |
4060 | 1, /* casedn_multiply*/ |
4061 | 1, /* mbminlen */ |
4062 | 1, /* mbmaxlen */ |
4063 | 0, /* min_sort_char */ |
4064 | 255, /* max_sort_char */ |
4065 | ' ', /* pad_char */ |
4066 | 0, /* escape_with_backslash_is_dangerous */ |
4067 | 1, /* levels_for_order */ |
4068 | &my_charset_8bit_handler, |
4069 | &my_collation_8bit_simple_ci_handler, |
4070 | } |
4071 | , |
4072 | #endif |
4073 | #ifdef HAVE_CHARSET_latin2 |
4074 | { |
4075 | 21,0,0, |
4076 | MY_CS_COMPILED, |
4077 | "latin2" , /* cset name */ |
4078 | "latin2_hungarian_ci" , /* coll name */ |
4079 | "" , /* comment */ |
4080 | NULL, /* tailoring */ |
4081 | ctype_latin2_general_ci, /* ctype */ |
4082 | to_lower_latin2_general_ci, /* to_lower */ |
4083 | to_upper_latin2_general_ci, /* to_upper */ |
4084 | sort_order_latin2_hungarian_ci, /* sort_order */ |
4085 | NULL, /* uca */ |
4086 | to_uni_latin2_general_ci, /* to_uni */ |
4087 | NULL, /* from_uni */ |
4088 | &my_unicase_default, /* caseinfo */ |
4089 | NULL, /* state map */ |
4090 | NULL, /* ident map */ |
4091 | 1, /* strxfrm_multiply*/ |
4092 | 1, /* caseup_multiply*/ |
4093 | 1, /* casedn_multiply*/ |
4094 | 1, /* mbminlen */ |
4095 | 1, /* mbmaxlen */ |
4096 | 0, /* min_sort_char */ |
4097 | 255, /* max_sort_char */ |
4098 | ' ', /* pad_char */ |
4099 | 0, /* escape_with_backslash_is_dangerous */ |
4100 | 1, /* levels_for_order */ |
4101 | &my_charset_8bit_handler, |
4102 | &my_collation_8bit_simple_ci_handler, |
4103 | } |
4104 | , |
4105 | #endif |
4106 | #ifdef HAVE_CHARSET_koi8u |
4107 | { |
4108 | 22,0,0, |
4109 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4110 | "koi8u" , /* cset name */ |
4111 | "koi8u_general_ci" , /* coll name */ |
4112 | "" , /* comment */ |
4113 | NULL, /* tailoring */ |
4114 | ctype_koi8u_general_ci, /* ctype */ |
4115 | to_lower_koi8u_general_ci, /* to_lower */ |
4116 | to_upper_koi8u_general_ci, /* to_upper */ |
4117 | sort_order_koi8u_general_ci, /* sort_order */ |
4118 | NULL, /* uca */ |
4119 | to_uni_koi8u_general_ci, /* to_uni */ |
4120 | NULL, /* from_uni */ |
4121 | &my_unicase_default, /* caseinfo */ |
4122 | NULL, /* state map */ |
4123 | NULL, /* ident map */ |
4124 | 1, /* strxfrm_multiply*/ |
4125 | 1, /* caseup_multiply*/ |
4126 | 1, /* casedn_multiply*/ |
4127 | 1, /* mbminlen */ |
4128 | 1, /* mbmaxlen */ |
4129 | 0, /* min_sort_char */ |
4130 | 255, /* max_sort_char */ |
4131 | ' ', /* pad_char */ |
4132 | 0, /* escape_with_backslash_is_dangerous */ |
4133 | 1, /* levels_for_order */ |
4134 | &my_charset_8bit_handler, |
4135 | &my_collation_8bit_simple_ci_handler, |
4136 | } |
4137 | , |
4138 | #endif |
4139 | #ifdef HAVE_CHARSET_cp1251 |
4140 | { |
4141 | 23,0,0, |
4142 | MY_CS_COMPILED, |
4143 | "cp1251" , /* cset name */ |
4144 | "cp1251_ukrainian_ci" , /* coll name */ |
4145 | "" , /* comment */ |
4146 | NULL, /* tailoring */ |
4147 | ctype_cp1251_general_ci, /* ctype */ |
4148 | to_lower_cp1251_general_ci, /* to_lower */ |
4149 | to_upper_cp1251_general_ci, /* to_upper */ |
4150 | sort_order_cp1251_ukrainian_ci, /* sort_order */ |
4151 | NULL, /* uca */ |
4152 | to_uni_cp1251_general_ci, /* to_uni */ |
4153 | NULL, /* from_uni */ |
4154 | &my_unicase_default, /* caseinfo */ |
4155 | NULL, /* state map */ |
4156 | NULL, /* ident map */ |
4157 | 1, /* strxfrm_multiply*/ |
4158 | 1, /* caseup_multiply*/ |
4159 | 1, /* casedn_multiply*/ |
4160 | 1, /* mbminlen */ |
4161 | 1, /* mbmaxlen */ |
4162 | 0, /* min_sort_char */ |
4163 | 255, /* max_sort_char */ |
4164 | ' ', /* pad_char */ |
4165 | 0, /* escape_with_backslash_is_dangerous */ |
4166 | 1, /* levels_for_order */ |
4167 | &my_charset_8bit_handler, |
4168 | &my_collation_8bit_simple_ci_handler, |
4169 | } |
4170 | , |
4171 | #endif |
4172 | #ifdef HAVE_CHARSET_greek |
4173 | { |
4174 | 25,0,0, |
4175 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4176 | "greek" , /* cset name */ |
4177 | "greek_general_ci" , /* coll name */ |
4178 | "" , /* comment */ |
4179 | NULL, /* tailoring */ |
4180 | ctype_greek_general_ci, /* ctype */ |
4181 | to_lower_greek_general_ci, /* to_lower */ |
4182 | to_upper_greek_general_ci, /* to_upper */ |
4183 | sort_order_greek_general_ci, /* sort_order */ |
4184 | NULL, /* uca */ |
4185 | to_uni_greek_general_ci, /* to_uni */ |
4186 | NULL, /* from_uni */ |
4187 | &my_unicase_default, /* caseinfo */ |
4188 | NULL, /* state map */ |
4189 | NULL, /* ident map */ |
4190 | 1, /* strxfrm_multiply*/ |
4191 | 1, /* caseup_multiply*/ |
4192 | 1, /* casedn_multiply*/ |
4193 | 1, /* mbminlen */ |
4194 | 1, /* mbmaxlen */ |
4195 | 0, /* min_sort_char */ |
4196 | 255, /* max_sort_char */ |
4197 | ' ', /* pad_char */ |
4198 | 0, /* escape_with_backslash_is_dangerous */ |
4199 | 1, /* levels_for_order */ |
4200 | &my_charset_8bit_handler, |
4201 | &my_collation_8bit_simple_ci_handler, |
4202 | } |
4203 | , |
4204 | #endif |
4205 | #ifdef HAVE_CHARSET_cp1250 |
4206 | { |
4207 | 26,0,0, |
4208 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4209 | "cp1250" , /* cset name */ |
4210 | "cp1250_general_ci" , /* coll name */ |
4211 | "" , /* comment */ |
4212 | NULL, /* tailoring */ |
4213 | ctype_cp1250_general_ci, /* ctype */ |
4214 | to_lower_cp1250_general_ci, /* to_lower */ |
4215 | to_upper_cp1250_general_ci, /* to_upper */ |
4216 | sort_order_cp1250_general_ci, /* sort_order */ |
4217 | NULL, /* uca */ |
4218 | to_uni_cp1250_general_ci, /* to_uni */ |
4219 | NULL, /* from_uni */ |
4220 | &my_unicase_default, /* caseinfo */ |
4221 | NULL, /* state map */ |
4222 | NULL, /* ident map */ |
4223 | 1, /* strxfrm_multiply*/ |
4224 | 1, /* caseup_multiply*/ |
4225 | 1, /* casedn_multiply*/ |
4226 | 1, /* mbminlen */ |
4227 | 1, /* mbmaxlen */ |
4228 | 0, /* min_sort_char */ |
4229 | 255, /* max_sort_char */ |
4230 | ' ', /* pad_char */ |
4231 | 0, /* escape_with_backslash_is_dangerous */ |
4232 | 1, /* levels_for_order */ |
4233 | &my_charset_8bit_handler, |
4234 | &my_collation_8bit_simple_ci_handler, |
4235 | } |
4236 | , |
4237 | #endif |
4238 | #ifdef HAVE_CHARSET_latin2 |
4239 | { |
4240 | 27,0,0, |
4241 | MY_CS_COMPILED, |
4242 | "latin2" , /* cset name */ |
4243 | "latin2_croatian_ci" , /* coll name */ |
4244 | "" , /* comment */ |
4245 | NULL, /* tailoring */ |
4246 | ctype_latin2_general_ci, /* ctype */ |
4247 | to_lower_latin2_general_ci, /* to_lower */ |
4248 | to_upper_latin2_general_ci, /* to_upper */ |
4249 | sort_order_latin2_croatian_ci, /* sort_order */ |
4250 | NULL, /* uca */ |
4251 | to_uni_latin2_general_ci, /* to_uni */ |
4252 | NULL, /* from_uni */ |
4253 | &my_unicase_default, /* caseinfo */ |
4254 | NULL, /* state map */ |
4255 | NULL, /* ident map */ |
4256 | 1, /* strxfrm_multiply*/ |
4257 | 1, /* caseup_multiply*/ |
4258 | 1, /* casedn_multiply*/ |
4259 | 1, /* mbminlen */ |
4260 | 1, /* mbmaxlen */ |
4261 | 0, /* min_sort_char */ |
4262 | 255, /* max_sort_char */ |
4263 | ' ', /* pad_char */ |
4264 | 0, /* escape_with_backslash_is_dangerous */ |
4265 | 1, /* levels_for_order */ |
4266 | &my_charset_8bit_handler, |
4267 | &my_collation_8bit_simple_ci_handler, |
4268 | } |
4269 | , |
4270 | #endif |
4271 | #ifdef HAVE_CHARSET_cp1257 |
4272 | { |
4273 | 29,0,0, |
4274 | MY_CS_COMPILED, |
4275 | "cp1257" , /* cset name */ |
4276 | "cp1257_lithuanian_ci" , /* coll name */ |
4277 | "" , /* comment */ |
4278 | NULL, /* tailoring */ |
4279 | ctype_cp1257_general_ci, /* ctype */ |
4280 | to_lower_cp1257_general_ci, /* to_lower */ |
4281 | to_upper_cp1257_general_ci, /* to_upper */ |
4282 | sort_order_cp1257_lithuanian_ci, /* sort_order */ |
4283 | NULL, /* uca */ |
4284 | to_uni_cp1257_general_ci, /* to_uni */ |
4285 | NULL, /* from_uni */ |
4286 | &my_unicase_default, /* caseinfo */ |
4287 | NULL, /* state map */ |
4288 | NULL, /* ident map */ |
4289 | 1, /* strxfrm_multiply*/ |
4290 | 1, /* caseup_multiply*/ |
4291 | 1, /* casedn_multiply*/ |
4292 | 1, /* mbminlen */ |
4293 | 1, /* mbmaxlen */ |
4294 | 0, /* min_sort_char */ |
4295 | 255, /* max_sort_char */ |
4296 | ' ', /* pad_char */ |
4297 | 0, /* escape_with_backslash_is_dangerous */ |
4298 | 1, /* levels_for_order */ |
4299 | &my_charset_8bit_handler, |
4300 | &my_collation_8bit_simple_ci_handler, |
4301 | } |
4302 | , |
4303 | #endif |
4304 | #ifdef HAVE_CHARSET_latin5 |
4305 | { |
4306 | 30,0,0, |
4307 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4308 | "latin5" , /* cset name */ |
4309 | "latin5_turkish_ci" , /* coll name */ |
4310 | "" , /* comment */ |
4311 | NULL, /* tailoring */ |
4312 | ctype_latin5_turkish_ci, /* ctype */ |
4313 | to_lower_latin5_turkish_ci, /* to_lower */ |
4314 | to_upper_latin5_turkish_ci, /* to_upper */ |
4315 | sort_order_latin5_turkish_ci, /* sort_order */ |
4316 | NULL, /* uca */ |
4317 | to_uni_latin5_turkish_ci, /* to_uni */ |
4318 | NULL, /* from_uni */ |
4319 | &my_unicase_default, /* caseinfo */ |
4320 | NULL, /* state map */ |
4321 | NULL, /* ident map */ |
4322 | 1, /* strxfrm_multiply*/ |
4323 | 1, /* caseup_multiply*/ |
4324 | 1, /* casedn_multiply*/ |
4325 | 1, /* mbminlen */ |
4326 | 1, /* mbmaxlen */ |
4327 | 0, /* min_sort_char */ |
4328 | 255, /* max_sort_char */ |
4329 | ' ', /* pad_char */ |
4330 | 0, /* escape_with_backslash_is_dangerous */ |
4331 | 1, /* levels_for_order */ |
4332 | &my_charset_8bit_handler, |
4333 | &my_collation_8bit_simple_ci_handler, |
4334 | } |
4335 | , |
4336 | #endif |
4337 | #ifdef HAVE_CHARSET_armscii8 |
4338 | { |
4339 | 32,0,0, |
4340 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4341 | "armscii8" , /* cset name */ |
4342 | "armscii8_general_ci" , /* coll name */ |
4343 | "" , /* comment */ |
4344 | NULL, /* tailoring */ |
4345 | ctype_armscii8_general_ci, /* ctype */ |
4346 | to_lower_armscii8_general_ci, /* to_lower */ |
4347 | to_upper_armscii8_general_ci, /* to_upper */ |
4348 | sort_order_armscii8_general_ci, /* sort_order */ |
4349 | NULL, /* uca */ |
4350 | to_uni_armscii8_general_ci, /* to_uni */ |
4351 | NULL, /* from_uni */ |
4352 | &my_unicase_default, /* caseinfo */ |
4353 | NULL, /* state map */ |
4354 | NULL, /* ident map */ |
4355 | 1, /* strxfrm_multiply*/ |
4356 | 1, /* caseup_multiply*/ |
4357 | 1, /* casedn_multiply*/ |
4358 | 1, /* mbminlen */ |
4359 | 1, /* mbmaxlen */ |
4360 | 0, /* min_sort_char */ |
4361 | 255, /* max_sort_char */ |
4362 | ' ', /* pad_char */ |
4363 | 0, /* escape_with_backslash_is_dangerous */ |
4364 | 1, /* levels_for_order */ |
4365 | &my_charset_8bit_handler, |
4366 | &my_collation_8bit_simple_ci_handler, |
4367 | } |
4368 | , |
4369 | #endif |
4370 | #ifdef HAVE_CHARSET_cp866 |
4371 | { |
4372 | 36,0,0, |
4373 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4374 | "cp866" , /* cset name */ |
4375 | "cp866_general_ci" , /* coll name */ |
4376 | "" , /* comment */ |
4377 | NULL, /* tailoring */ |
4378 | ctype_cp866_general_ci, /* ctype */ |
4379 | to_lower_cp866_general_ci, /* to_lower */ |
4380 | to_upper_cp866_general_ci, /* to_upper */ |
4381 | sort_order_cp866_general_ci, /* sort_order */ |
4382 | NULL, /* uca */ |
4383 | to_uni_cp866_general_ci, /* to_uni */ |
4384 | NULL, /* from_uni */ |
4385 | &my_unicase_default, /* caseinfo */ |
4386 | NULL, /* state map */ |
4387 | NULL, /* ident map */ |
4388 | 1, /* strxfrm_multiply*/ |
4389 | 1, /* caseup_multiply*/ |
4390 | 1, /* casedn_multiply*/ |
4391 | 1, /* mbminlen */ |
4392 | 1, /* mbmaxlen */ |
4393 | 0, /* min_sort_char */ |
4394 | 255, /* max_sort_char */ |
4395 | ' ', /* pad_char */ |
4396 | 0, /* escape_with_backslash_is_dangerous */ |
4397 | 1, /* levels_for_order */ |
4398 | &my_charset_8bit_handler, |
4399 | &my_collation_8bit_simple_ci_handler, |
4400 | } |
4401 | , |
4402 | #endif |
4403 | #ifdef HAVE_CHARSET_keybcs2 |
4404 | { |
4405 | 37,0,0, |
4406 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4407 | "keybcs2" , /* cset name */ |
4408 | "keybcs2_general_ci" , /* coll name */ |
4409 | "" , /* comment */ |
4410 | NULL, /* tailoring */ |
4411 | ctype_keybcs2_general_ci, /* ctype */ |
4412 | to_lower_keybcs2_general_ci, /* to_lower */ |
4413 | to_upper_keybcs2_general_ci, /* to_upper */ |
4414 | sort_order_keybcs2_general_ci, /* sort_order */ |
4415 | NULL, /* uca */ |
4416 | to_uni_keybcs2_general_ci, /* to_uni */ |
4417 | NULL, /* from_uni */ |
4418 | &my_unicase_default, /* caseinfo */ |
4419 | NULL, /* state map */ |
4420 | NULL, /* ident map */ |
4421 | 1, /* strxfrm_multiply*/ |
4422 | 1, /* caseup_multiply*/ |
4423 | 1, /* casedn_multiply*/ |
4424 | 1, /* mbminlen */ |
4425 | 1, /* mbmaxlen */ |
4426 | 0, /* min_sort_char */ |
4427 | 255, /* max_sort_char */ |
4428 | ' ', /* pad_char */ |
4429 | 0, /* escape_with_backslash_is_dangerous */ |
4430 | 1, /* levels_for_order */ |
4431 | &my_charset_8bit_handler, |
4432 | &my_collation_8bit_simple_ci_handler, |
4433 | } |
4434 | , |
4435 | #endif |
4436 | #ifdef HAVE_CHARSET_macce |
4437 | { |
4438 | 38,0,0, |
4439 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4440 | "macce" , /* cset name */ |
4441 | "macce_general_ci" , /* coll name */ |
4442 | "" , /* comment */ |
4443 | NULL, /* tailoring */ |
4444 | ctype_macce_general_ci, /* ctype */ |
4445 | to_lower_macce_general_ci, /* to_lower */ |
4446 | to_upper_macce_general_ci, /* to_upper */ |
4447 | sort_order_macce_general_ci, /* sort_order */ |
4448 | NULL, /* uca */ |
4449 | to_uni_macce_general_ci, /* to_uni */ |
4450 | NULL, /* from_uni */ |
4451 | &my_unicase_default, /* caseinfo */ |
4452 | NULL, /* state map */ |
4453 | NULL, /* ident map */ |
4454 | 1, /* strxfrm_multiply*/ |
4455 | 1, /* caseup_multiply*/ |
4456 | 1, /* casedn_multiply*/ |
4457 | 1, /* mbminlen */ |
4458 | 1, /* mbmaxlen */ |
4459 | 0, /* min_sort_char */ |
4460 | 255, /* max_sort_char */ |
4461 | ' ', /* pad_char */ |
4462 | 0, /* escape_with_backslash_is_dangerous */ |
4463 | 1, /* levels_for_order */ |
4464 | &my_charset_8bit_handler, |
4465 | &my_collation_8bit_simple_ci_handler, |
4466 | } |
4467 | , |
4468 | #endif |
4469 | #ifdef HAVE_CHARSET_macroman |
4470 | { |
4471 | 39,0,0, |
4472 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4473 | "macroman" , /* cset name */ |
4474 | "macroman_general_ci" , /* coll name */ |
4475 | "" , /* comment */ |
4476 | NULL, /* tailoring */ |
4477 | ctype_macroman_general_ci, /* ctype */ |
4478 | to_lower_macroman_general_ci, /* to_lower */ |
4479 | to_upper_macroman_general_ci, /* to_upper */ |
4480 | sort_order_macroman_general_ci, /* sort_order */ |
4481 | NULL, /* uca */ |
4482 | to_uni_macroman_general_ci, /* to_uni */ |
4483 | NULL, /* from_uni */ |
4484 | &my_unicase_default, /* caseinfo */ |
4485 | NULL, /* state map */ |
4486 | NULL, /* ident map */ |
4487 | 1, /* strxfrm_multiply*/ |
4488 | 1, /* caseup_multiply*/ |
4489 | 1, /* casedn_multiply*/ |
4490 | 1, /* mbminlen */ |
4491 | 1, /* mbmaxlen */ |
4492 | 0, /* min_sort_char */ |
4493 | 255, /* max_sort_char */ |
4494 | ' ', /* pad_char */ |
4495 | 0, /* escape_with_backslash_is_dangerous */ |
4496 | 1, /* levels_for_order */ |
4497 | &my_charset_8bit_handler, |
4498 | &my_collation_8bit_simple_ci_handler, |
4499 | } |
4500 | , |
4501 | #endif |
4502 | #ifdef HAVE_CHARSET_cp852 |
4503 | { |
4504 | 40,0,0, |
4505 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4506 | "cp852" , /* cset name */ |
4507 | "cp852_general_ci" , /* coll name */ |
4508 | "" , /* comment */ |
4509 | NULL, /* tailoring */ |
4510 | ctype_cp852_general_ci, /* ctype */ |
4511 | to_lower_cp852_general_ci, /* to_lower */ |
4512 | to_upper_cp852_general_ci, /* to_upper */ |
4513 | sort_order_cp852_general_ci, /* sort_order */ |
4514 | NULL, /* uca */ |
4515 | to_uni_cp852_general_ci, /* to_uni */ |
4516 | NULL, /* from_uni */ |
4517 | &my_unicase_default, /* caseinfo */ |
4518 | NULL, /* state map */ |
4519 | NULL, /* ident map */ |
4520 | 1, /* strxfrm_multiply*/ |
4521 | 1, /* caseup_multiply*/ |
4522 | 1, /* casedn_multiply*/ |
4523 | 1, /* mbminlen */ |
4524 | 1, /* mbmaxlen */ |
4525 | 0, /* min_sort_char */ |
4526 | 255, /* max_sort_char */ |
4527 | ' ', /* pad_char */ |
4528 | 0, /* escape_with_backslash_is_dangerous */ |
4529 | 1, /* levels_for_order */ |
4530 | &my_charset_8bit_handler, |
4531 | &my_collation_8bit_simple_ci_handler, |
4532 | } |
4533 | , |
4534 | #endif |
4535 | #ifdef HAVE_CHARSET_latin7 |
4536 | { |
4537 | 41,0,0, |
4538 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4539 | "latin7" , /* cset name */ |
4540 | "latin7_general_ci" , /* coll name */ |
4541 | "" , /* comment */ |
4542 | NULL, /* tailoring */ |
4543 | ctype_latin7_general_ci, /* ctype */ |
4544 | to_lower_latin7_general_ci, /* to_lower */ |
4545 | to_upper_latin7_general_ci, /* to_upper */ |
4546 | sort_order_latin7_general_ci, /* sort_order */ |
4547 | NULL, /* uca */ |
4548 | to_uni_latin7_general_ci, /* to_uni */ |
4549 | NULL, /* from_uni */ |
4550 | &my_unicase_default, /* caseinfo */ |
4551 | NULL, /* state map */ |
4552 | NULL, /* ident map */ |
4553 | 1, /* strxfrm_multiply*/ |
4554 | 1, /* caseup_multiply*/ |
4555 | 1, /* casedn_multiply*/ |
4556 | 1, /* mbminlen */ |
4557 | 1, /* mbmaxlen */ |
4558 | 0, /* min_sort_char */ |
4559 | 255, /* max_sort_char */ |
4560 | ' ', /* pad_char */ |
4561 | 0, /* escape_with_backslash_is_dangerous */ |
4562 | 1, /* levels_for_order */ |
4563 | &my_charset_8bit_handler, |
4564 | &my_collation_8bit_simple_ci_handler, |
4565 | } |
4566 | , |
4567 | #endif |
4568 | #ifdef HAVE_CHARSET_latin7 |
4569 | { |
4570 | 42,0,0, |
4571 | MY_CS_COMPILED|MY_CS_CSSORT, |
4572 | "latin7" , /* cset name */ |
4573 | "latin7_general_cs" , /* coll name */ |
4574 | "" , /* comment */ |
4575 | NULL, /* tailoring */ |
4576 | ctype_latin7_general_ci, /* ctype */ |
4577 | to_lower_latin7_general_ci, /* to_lower */ |
4578 | to_upper_latin7_general_ci, /* to_upper */ |
4579 | sort_order_latin7_general_cs, /* sort_order */ |
4580 | NULL, /* uca */ |
4581 | to_uni_latin7_general_ci, /* to_uni */ |
4582 | NULL, /* from_uni */ |
4583 | &my_unicase_default, /* caseinfo */ |
4584 | NULL, /* state map */ |
4585 | NULL, /* ident map */ |
4586 | 1, /* strxfrm_multiply*/ |
4587 | 1, /* caseup_multiply*/ |
4588 | 1, /* casedn_multiply*/ |
4589 | 1, /* mbminlen */ |
4590 | 1, /* mbmaxlen */ |
4591 | 0, /* min_sort_char */ |
4592 | 255, /* max_sort_char */ |
4593 | ' ', /* pad_char */ |
4594 | 0, /* escape_with_backslash_is_dangerous */ |
4595 | 1, /* levels_for_order */ |
4596 | &my_charset_8bit_handler, |
4597 | &my_collation_8bit_simple_ci_handler, |
4598 | } |
4599 | , |
4600 | #endif |
4601 | #ifdef HAVE_CHARSET_macce |
4602 | { |
4603 | 43,0,0, |
4604 | MY_CS_COMPILED|MY_CS_BINSORT, |
4605 | "macce" , /* cset name */ |
4606 | "macce_bin" , /* coll name */ |
4607 | "" , /* comment */ |
4608 | NULL, /* tailoring */ |
4609 | ctype_macce_general_ci, /* ctype */ |
4610 | to_lower_macce_general_ci, /* to_lower */ |
4611 | to_upper_macce_general_ci, /* to_upper */ |
4612 | NULL, /* sort_order */ |
4613 | NULL, /* uca */ |
4614 | to_uni_macce_general_ci, /* to_uni */ |
4615 | NULL, /* from_uni */ |
4616 | &my_unicase_default, /* caseinfo */ |
4617 | NULL, /* state map */ |
4618 | NULL, /* ident map */ |
4619 | 1, /* strxfrm_multiply*/ |
4620 | 1, /* caseup_multiply*/ |
4621 | 1, /* casedn_multiply*/ |
4622 | 1, /* mbminlen */ |
4623 | 1, /* mbmaxlen */ |
4624 | 0, /* min_sort_char */ |
4625 | 255, /* max_sort_char */ |
4626 | ' ', /* pad_char */ |
4627 | 0, /* escape_with_backslash_is_dangerous */ |
4628 | 1, /* levels_for_order */ |
4629 | &my_charset_8bit_handler, |
4630 | &my_collation_8bit_bin_handler, |
4631 | } |
4632 | , |
4633 | #endif |
4634 | #ifdef HAVE_CHARSET_cp1250 |
4635 | { |
4636 | 44,0,0, |
4637 | MY_CS_COMPILED, |
4638 | "cp1250" , /* cset name */ |
4639 | "cp1250_croatian_ci" , /* coll name */ |
4640 | "" , /* comment */ |
4641 | NULL, /* tailoring */ |
4642 | ctype_cp1250_general_ci, /* ctype */ |
4643 | to_lower_cp1250_general_ci, /* to_lower */ |
4644 | to_upper_cp1250_general_ci, /* to_upper */ |
4645 | sort_order_cp1250_croatian_ci, /* sort_order */ |
4646 | NULL, /* uca */ |
4647 | to_uni_cp1250_general_ci, /* to_uni */ |
4648 | NULL, /* from_uni */ |
4649 | &my_unicase_default, /* caseinfo */ |
4650 | NULL, /* state map */ |
4651 | NULL, /* ident map */ |
4652 | 1, /* strxfrm_multiply*/ |
4653 | 1, /* caseup_multiply*/ |
4654 | 1, /* casedn_multiply*/ |
4655 | 1, /* mbminlen */ |
4656 | 1, /* mbmaxlen */ |
4657 | 0, /* min_sort_char */ |
4658 | 255, /* max_sort_char */ |
4659 | ' ', /* pad_char */ |
4660 | 0, /* escape_with_backslash_is_dangerous */ |
4661 | 1, /* levels_for_order */ |
4662 | &my_charset_8bit_handler, |
4663 | &my_collation_8bit_simple_ci_handler, |
4664 | } |
4665 | , |
4666 | #endif |
4667 | #ifdef HAVE_CHARSET_latin1 |
4668 | { |
4669 | 48,0,0, |
4670 | MY_CS_COMPILED, |
4671 | "latin1" , /* cset name */ |
4672 | "latin1_general_ci" , /* coll name */ |
4673 | "" , /* comment */ |
4674 | NULL, /* tailoring */ |
4675 | ctype_latin1_general_ci, /* ctype */ |
4676 | to_lower_latin1_general_ci, /* to_lower */ |
4677 | to_upper_latin1_general_ci, /* to_upper */ |
4678 | sort_order_latin1_general_ci, /* sort_order */ |
4679 | NULL, /* uca */ |
4680 | to_uni_latin1_general_ci, /* to_uni */ |
4681 | NULL, /* from_uni */ |
4682 | &my_unicase_default, /* caseinfo */ |
4683 | NULL, /* state map */ |
4684 | NULL, /* ident map */ |
4685 | 1, /* strxfrm_multiply*/ |
4686 | 1, /* caseup_multiply*/ |
4687 | 1, /* casedn_multiply*/ |
4688 | 1, /* mbminlen */ |
4689 | 1, /* mbmaxlen */ |
4690 | 0, /* min_sort_char */ |
4691 | 255, /* max_sort_char */ |
4692 | ' ', /* pad_char */ |
4693 | 0, /* escape_with_backslash_is_dangerous */ |
4694 | 1, /* levels_for_order */ |
4695 | &my_charset_8bit_handler, |
4696 | &my_collation_8bit_simple_ci_handler, |
4697 | } |
4698 | , |
4699 | #endif |
4700 | #ifdef HAVE_CHARSET_latin1 |
4701 | { |
4702 | 49,0,0, |
4703 | MY_CS_COMPILED|MY_CS_CSSORT, |
4704 | "latin1" , /* cset name */ |
4705 | "latin1_general_cs" , /* coll name */ |
4706 | "" , /* comment */ |
4707 | NULL, /* tailoring */ |
4708 | ctype_latin1_general_cs, /* ctype */ |
4709 | to_lower_latin1_general_cs, /* to_lower */ |
4710 | to_upper_latin1_general_cs, /* to_upper */ |
4711 | sort_order_latin1_general_cs, /* sort_order */ |
4712 | NULL, /* uca */ |
4713 | to_uni_latin1_general_cs, /* to_uni */ |
4714 | NULL, /* from_uni */ |
4715 | &my_unicase_default, /* caseinfo */ |
4716 | NULL, /* state map */ |
4717 | NULL, /* ident map */ |
4718 | 1, /* strxfrm_multiply*/ |
4719 | 1, /* caseup_multiply*/ |
4720 | 1, /* casedn_multiply*/ |
4721 | 1, /* mbminlen */ |
4722 | 1, /* mbmaxlen */ |
4723 | 0, /* min_sort_char */ |
4724 | 255, /* max_sort_char */ |
4725 | ' ', /* pad_char */ |
4726 | 0, /* escape_with_backslash_is_dangerous */ |
4727 | 1, /* levels_for_order */ |
4728 | &my_charset_8bit_handler, |
4729 | &my_collation_8bit_simple_ci_handler, |
4730 | } |
4731 | , |
4732 | #endif |
4733 | #ifdef HAVE_CHARSET_cp1251 |
4734 | { |
4735 | 50,0,0, |
4736 | MY_CS_COMPILED|MY_CS_BINSORT, |
4737 | "cp1251" , /* cset name */ |
4738 | "cp1251_bin" , /* coll name */ |
4739 | "" , /* comment */ |
4740 | NULL, /* tailoring */ |
4741 | ctype_cp1251_general_ci, /* ctype */ |
4742 | to_lower_cp1251_general_ci, /* to_lower */ |
4743 | to_upper_cp1251_general_ci, /* to_upper */ |
4744 | NULL, /* sort_order */ |
4745 | NULL, /* uca */ |
4746 | to_uni_cp1251_general_ci, /* to_uni */ |
4747 | NULL, /* from_uni */ |
4748 | &my_unicase_default, /* caseinfo */ |
4749 | NULL, /* state map */ |
4750 | NULL, /* ident map */ |
4751 | 1, /* strxfrm_multiply*/ |
4752 | 1, /* caseup_multiply*/ |
4753 | 1, /* casedn_multiply*/ |
4754 | 1, /* mbminlen */ |
4755 | 1, /* mbmaxlen */ |
4756 | 0, /* min_sort_char */ |
4757 | 255, /* max_sort_char */ |
4758 | ' ', /* pad_char */ |
4759 | 0, /* escape_with_backslash_is_dangerous */ |
4760 | 1, /* levels_for_order */ |
4761 | &my_charset_8bit_handler, |
4762 | &my_collation_8bit_bin_handler, |
4763 | } |
4764 | , |
4765 | #endif |
4766 | #ifdef HAVE_CHARSET_cp1251 |
4767 | { |
4768 | 51,0,0, |
4769 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4770 | "cp1251" , /* cset name */ |
4771 | "cp1251_general_ci" , /* coll name */ |
4772 | "" , /* comment */ |
4773 | NULL, /* tailoring */ |
4774 | ctype_cp1251_general_ci, /* ctype */ |
4775 | to_lower_cp1251_general_ci, /* to_lower */ |
4776 | to_upper_cp1251_general_ci, /* to_upper */ |
4777 | sort_order_cp1251_general_ci, /* sort_order */ |
4778 | NULL, /* uca */ |
4779 | to_uni_cp1251_general_ci, /* to_uni */ |
4780 | NULL, /* from_uni */ |
4781 | &my_unicase_default, /* caseinfo */ |
4782 | NULL, /* state map */ |
4783 | NULL, /* ident map */ |
4784 | 1, /* strxfrm_multiply*/ |
4785 | 1, /* caseup_multiply*/ |
4786 | 1, /* casedn_multiply*/ |
4787 | 1, /* mbminlen */ |
4788 | 1, /* mbmaxlen */ |
4789 | 0, /* min_sort_char */ |
4790 | 255, /* max_sort_char */ |
4791 | ' ', /* pad_char */ |
4792 | 0, /* escape_with_backslash_is_dangerous */ |
4793 | 1, /* levels_for_order */ |
4794 | &my_charset_8bit_handler, |
4795 | &my_collation_8bit_simple_ci_handler, |
4796 | } |
4797 | , |
4798 | #endif |
4799 | #ifdef HAVE_CHARSET_cp1251 |
4800 | { |
4801 | 52,0,0, |
4802 | MY_CS_COMPILED|MY_CS_CSSORT, |
4803 | "cp1251" , /* cset name */ |
4804 | "cp1251_general_cs" , /* coll name */ |
4805 | "" , /* comment */ |
4806 | NULL, /* tailoring */ |
4807 | ctype_cp1251_general_ci, /* ctype */ |
4808 | to_lower_cp1251_general_ci, /* to_lower */ |
4809 | to_upper_cp1251_general_ci, /* to_upper */ |
4810 | sort_order_cp1251_general_cs, /* sort_order */ |
4811 | NULL, /* uca */ |
4812 | to_uni_cp1251_general_ci, /* to_uni */ |
4813 | NULL, /* from_uni */ |
4814 | &my_unicase_default, /* caseinfo */ |
4815 | NULL, /* state map */ |
4816 | NULL, /* ident map */ |
4817 | 1, /* strxfrm_multiply*/ |
4818 | 1, /* caseup_multiply*/ |
4819 | 1, /* casedn_multiply*/ |
4820 | 1, /* mbminlen */ |
4821 | 1, /* mbmaxlen */ |
4822 | 0, /* min_sort_char */ |
4823 | 255, /* max_sort_char */ |
4824 | ' ', /* pad_char */ |
4825 | 0, /* escape_with_backslash_is_dangerous */ |
4826 | 1, /* levels_for_order */ |
4827 | &my_charset_8bit_handler, |
4828 | &my_collation_8bit_simple_ci_handler, |
4829 | } |
4830 | , |
4831 | #endif |
4832 | #ifdef HAVE_CHARSET_macroman |
4833 | { |
4834 | 53,0,0, |
4835 | MY_CS_COMPILED|MY_CS_BINSORT, |
4836 | "macroman" , /* cset name */ |
4837 | "macroman_bin" , /* coll name */ |
4838 | "" , /* comment */ |
4839 | NULL, /* tailoring */ |
4840 | ctype_macroman_general_ci, /* ctype */ |
4841 | to_lower_macroman_general_ci, /* to_lower */ |
4842 | to_upper_macroman_general_ci, /* to_upper */ |
4843 | NULL, /* sort_order */ |
4844 | NULL, /* uca */ |
4845 | to_uni_macroman_general_ci, /* to_uni */ |
4846 | NULL, /* from_uni */ |
4847 | &my_unicase_default, /* caseinfo */ |
4848 | NULL, /* state map */ |
4849 | NULL, /* ident map */ |
4850 | 1, /* strxfrm_multiply*/ |
4851 | 1, /* caseup_multiply*/ |
4852 | 1, /* casedn_multiply*/ |
4853 | 1, /* mbminlen */ |
4854 | 1, /* mbmaxlen */ |
4855 | 0, /* min_sort_char */ |
4856 | 255, /* max_sort_char */ |
4857 | ' ', /* pad_char */ |
4858 | 0, /* escape_with_backslash_is_dangerous */ |
4859 | 1, /* levels_for_order */ |
4860 | &my_charset_8bit_handler, |
4861 | &my_collation_8bit_bin_handler, |
4862 | } |
4863 | , |
4864 | #endif |
4865 | #ifdef HAVE_CHARSET_cp1256 |
4866 | { |
4867 | 57,0,0, |
4868 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4869 | "cp1256" , /* cset name */ |
4870 | "cp1256_general_ci" , /* coll name */ |
4871 | "" , /* comment */ |
4872 | NULL, /* tailoring */ |
4873 | ctype_cp1256_general_ci, /* ctype */ |
4874 | to_lower_cp1256_general_ci, /* to_lower */ |
4875 | to_upper_cp1256_general_ci, /* to_upper */ |
4876 | sort_order_cp1256_general_ci, /* sort_order */ |
4877 | NULL, /* uca */ |
4878 | to_uni_cp1256_general_ci, /* to_uni */ |
4879 | NULL, /* from_uni */ |
4880 | &my_unicase_default, /* caseinfo */ |
4881 | NULL, /* state map */ |
4882 | NULL, /* ident map */ |
4883 | 1, /* strxfrm_multiply*/ |
4884 | 1, /* caseup_multiply*/ |
4885 | 1, /* casedn_multiply*/ |
4886 | 1, /* mbminlen */ |
4887 | 1, /* mbmaxlen */ |
4888 | 0, /* min_sort_char */ |
4889 | 255, /* max_sort_char */ |
4890 | ' ', /* pad_char */ |
4891 | 0, /* escape_with_backslash_is_dangerous */ |
4892 | 1, /* levels_for_order */ |
4893 | &my_charset_8bit_handler, |
4894 | &my_collation_8bit_simple_ci_handler, |
4895 | } |
4896 | , |
4897 | #endif |
4898 | #ifdef HAVE_CHARSET_cp1257 |
4899 | { |
4900 | 58,0,0, |
4901 | MY_CS_COMPILED|MY_CS_BINSORT, |
4902 | "cp1257" , /* cset name */ |
4903 | "cp1257_bin" , /* coll name */ |
4904 | "" , /* comment */ |
4905 | NULL, /* tailoring */ |
4906 | ctype_cp1257_general_ci, /* ctype */ |
4907 | to_lower_cp1257_general_ci, /* to_lower */ |
4908 | to_upper_cp1257_general_ci, /* to_upper */ |
4909 | NULL, /* sort_order */ |
4910 | NULL, /* uca */ |
4911 | to_uni_cp1257_general_ci, /* to_uni */ |
4912 | NULL, /* from_uni */ |
4913 | &my_unicase_default, /* caseinfo */ |
4914 | NULL, /* state map */ |
4915 | NULL, /* ident map */ |
4916 | 1, /* strxfrm_multiply*/ |
4917 | 1, /* caseup_multiply*/ |
4918 | 1, /* casedn_multiply*/ |
4919 | 1, /* mbminlen */ |
4920 | 1, /* mbmaxlen */ |
4921 | 0, /* min_sort_char */ |
4922 | 255, /* max_sort_char */ |
4923 | ' ', /* pad_char */ |
4924 | 0, /* escape_with_backslash_is_dangerous */ |
4925 | 1, /* levels_for_order */ |
4926 | &my_charset_8bit_handler, |
4927 | &my_collation_8bit_bin_handler, |
4928 | } |
4929 | , |
4930 | #endif |
4931 | #ifdef HAVE_CHARSET_cp1257 |
4932 | { |
4933 | 59,0,0, |
4934 | MY_CS_COMPILED|MY_CS_PRIMARY, |
4935 | "cp1257" , /* cset name */ |
4936 | "cp1257_general_ci" , /* coll name */ |
4937 | "" , /* comment */ |
4938 | NULL, /* tailoring */ |
4939 | ctype_cp1257_general_ci, /* ctype */ |
4940 | to_lower_cp1257_general_ci, /* to_lower */ |
4941 | to_upper_cp1257_general_ci, /* to_upper */ |
4942 | sort_order_cp1257_general_ci, /* sort_order */ |
4943 | NULL, /* uca */ |
4944 | to_uni_cp1257_general_ci, /* to_uni */ |
4945 | NULL, /* from_uni */ |
4946 | &my_unicase_default, /* caseinfo */ |
4947 | NULL, /* state map */ |
4948 | NULL, /* ident map */ |
4949 | 1, /* strxfrm_multiply*/ |
4950 | 1, /* caseup_multiply*/ |
4951 | 1, /* casedn_multiply*/ |
4952 | 1, /* mbminlen */ |
4953 | 1, /* mbmaxlen */ |
4954 | 0, /* min_sort_char */ |
4955 | 255, /* max_sort_char */ |
4956 | ' ', /* pad_char */ |
4957 | 0, /* escape_with_backslash_is_dangerous */ |
4958 | 1, /* levels_for_order */ |
4959 | &my_charset_8bit_handler, |
4960 | &my_collation_8bit_simple_ci_handler, |
4961 | } |
4962 | , |
4963 | #endif |
4964 | #ifdef HAVE_CHARSET_armscii8 |
4965 | { |
4966 | 64,0,0, |
4967 | MY_CS_COMPILED|MY_CS_BINSORT, |
4968 | "armscii8" , /* cset name */ |
4969 | "armscii8_bin" , /* coll name */ |
4970 | "" , /* comment */ |
4971 | NULL, /* tailoring */ |
4972 | ctype_armscii8_general_ci, /* ctype */ |
4973 | to_lower_armscii8_general_ci, /* to_lower */ |
4974 | to_upper_armscii8_general_ci, /* to_upper */ |
4975 | NULL, /* sort_order */ |
4976 | NULL, /* uca */ |
4977 | to_uni_armscii8_general_ci, /* to_uni */ |
4978 | NULL, /* from_uni */ |
4979 | &my_unicase_default, /* caseinfo */ |
4980 | NULL, /* state map */ |
4981 | NULL, /* ident map */ |
4982 | 1, /* strxfrm_multiply*/ |
4983 | 1, /* caseup_multiply*/ |
4984 | 1, /* casedn_multiply*/ |
4985 | 1, /* mbminlen */ |
4986 | 1, /* mbmaxlen */ |
4987 | 0, /* min_sort_char */ |
4988 | 255, /* max_sort_char */ |
4989 | ' ', /* pad_char */ |
4990 | 0, /* escape_with_backslash_is_dangerous */ |
4991 | 1, /* levels_for_order */ |
4992 | &my_charset_8bit_handler, |
4993 | &my_collation_8bit_bin_handler, |
4994 | } |
4995 | , |
4996 | #endif |
4997 | #ifdef HAVE_CHARSET_ascii |
4998 | { |
4999 | 65,0,0, |
5000 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_PUREASCII, |
5001 | "ascii" , /* cset name */ |
5002 | "ascii_bin" , /* coll name */ |
5003 | "" , /* comment */ |
5004 | NULL, /* tailoring */ |
5005 | ctype_ascii_general_ci, /* ctype */ |
5006 | to_lower_ascii_general_ci, /* to_lower */ |
5007 | to_upper_ascii_general_ci, /* to_upper */ |
5008 | NULL, /* sort_order */ |
5009 | NULL, /* uca */ |
5010 | to_uni_ascii_general_ci, /* to_uni */ |
5011 | NULL, /* from_uni */ |
5012 | &my_unicase_default, /* caseinfo */ |
5013 | NULL, /* state map */ |
5014 | NULL, /* ident map */ |
5015 | 1, /* strxfrm_multiply*/ |
5016 | 1, /* caseup_multiply*/ |
5017 | 1, /* casedn_multiply*/ |
5018 | 1, /* mbminlen */ |
5019 | 1, /* mbmaxlen */ |
5020 | 0, /* min_sort_char */ |
5021 | 255, /* max_sort_char */ |
5022 | ' ', /* pad_char */ |
5023 | 0, /* escape_with_backslash_is_dangerous */ |
5024 | 1, /* levels_for_order */ |
5025 | &my_charset_8bit_handler, |
5026 | &my_collation_8bit_bin_handler, |
5027 | } |
5028 | , |
5029 | #endif |
5030 | #ifdef HAVE_CHARSET_cp1250 |
5031 | { |
5032 | 66,0,0, |
5033 | MY_CS_COMPILED|MY_CS_BINSORT, |
5034 | "cp1250" , /* cset name */ |
5035 | "cp1250_bin" , /* coll name */ |
5036 | "" , /* comment */ |
5037 | NULL, /* tailoring */ |
5038 | ctype_cp1250_general_ci, /* ctype */ |
5039 | to_lower_cp1250_general_ci, /* to_lower */ |
5040 | to_upper_cp1250_general_ci, /* to_upper */ |
5041 | NULL, /* sort_order */ |
5042 | NULL, /* uca */ |
5043 | to_uni_cp1250_general_ci, /* to_uni */ |
5044 | NULL, /* from_uni */ |
5045 | &my_unicase_default, /* caseinfo */ |
5046 | NULL, /* state map */ |
5047 | NULL, /* ident map */ |
5048 | 1, /* strxfrm_multiply*/ |
5049 | 1, /* caseup_multiply*/ |
5050 | 1, /* casedn_multiply*/ |
5051 | 1, /* mbminlen */ |
5052 | 1, /* mbmaxlen */ |
5053 | 0, /* min_sort_char */ |
5054 | 255, /* max_sort_char */ |
5055 | ' ', /* pad_char */ |
5056 | 0, /* escape_with_backslash_is_dangerous */ |
5057 | 1, /* levels_for_order */ |
5058 | &my_charset_8bit_handler, |
5059 | &my_collation_8bit_bin_handler, |
5060 | } |
5061 | , |
5062 | #endif |
5063 | #ifdef HAVE_CHARSET_cp1256 |
5064 | { |
5065 | 67,0,0, |
5066 | MY_CS_COMPILED|MY_CS_BINSORT, |
5067 | "cp1256" , /* cset name */ |
5068 | "cp1256_bin" , /* coll name */ |
5069 | "" , /* comment */ |
5070 | NULL, /* tailoring */ |
5071 | ctype_cp1256_general_ci, /* ctype */ |
5072 | to_lower_cp1256_general_ci, /* to_lower */ |
5073 | to_upper_cp1256_general_ci, /* to_upper */ |
5074 | NULL, /* sort_order */ |
5075 | NULL, /* uca */ |
5076 | to_uni_cp1256_general_ci, /* to_uni */ |
5077 | NULL, /* from_uni */ |
5078 | &my_unicase_default, /* caseinfo */ |
5079 | NULL, /* state map */ |
5080 | NULL, /* ident map */ |
5081 | 1, /* strxfrm_multiply*/ |
5082 | 1, /* caseup_multiply*/ |
5083 | 1, /* casedn_multiply*/ |
5084 | 1, /* mbminlen */ |
5085 | 1, /* mbmaxlen */ |
5086 | 0, /* min_sort_char */ |
5087 | 255, /* max_sort_char */ |
5088 | ' ', /* pad_char */ |
5089 | 0, /* escape_with_backslash_is_dangerous */ |
5090 | 1, /* levels_for_order */ |
5091 | &my_charset_8bit_handler, |
5092 | &my_collation_8bit_bin_handler, |
5093 | } |
5094 | , |
5095 | #endif |
5096 | #ifdef HAVE_CHARSET_cp866 |
5097 | { |
5098 | 68,0,0, |
5099 | MY_CS_COMPILED|MY_CS_BINSORT, |
5100 | "cp866" , /* cset name */ |
5101 | "cp866_bin" , /* coll name */ |
5102 | "" , /* comment */ |
5103 | NULL, /* tailoring */ |
5104 | ctype_cp866_general_ci, /* ctype */ |
5105 | to_lower_cp866_general_ci, /* to_lower */ |
5106 | to_upper_cp866_general_ci, /* to_upper */ |
5107 | NULL, /* sort_order */ |
5108 | NULL, /* uca */ |
5109 | to_uni_cp866_general_ci, /* to_uni */ |
5110 | NULL, /* from_uni */ |
5111 | &my_unicase_default, /* caseinfo */ |
5112 | NULL, /* state map */ |
5113 | NULL, /* ident map */ |
5114 | 1, /* strxfrm_multiply*/ |
5115 | 1, /* caseup_multiply*/ |
5116 | 1, /* casedn_multiply*/ |
5117 | 1, /* mbminlen */ |
5118 | 1, /* mbmaxlen */ |
5119 | 0, /* min_sort_char */ |
5120 | 255, /* max_sort_char */ |
5121 | ' ', /* pad_char */ |
5122 | 0, /* escape_with_backslash_is_dangerous */ |
5123 | 1, /* levels_for_order */ |
5124 | &my_charset_8bit_handler, |
5125 | &my_collation_8bit_bin_handler, |
5126 | } |
5127 | , |
5128 | #endif |
5129 | #ifdef HAVE_CHARSET_dec8 |
5130 | { |
5131 | 69,0,0, |
5132 | MY_CS_COMPILED|MY_CS_BINSORT, |
5133 | "dec8" , /* cset name */ |
5134 | "dec8_bin" , /* coll name */ |
5135 | "" , /* comment */ |
5136 | NULL, /* tailoring */ |
5137 | ctype_dec8_swedish_ci, /* ctype */ |
5138 | to_lower_dec8_swedish_ci, /* to_lower */ |
5139 | to_upper_dec8_swedish_ci, /* to_upper */ |
5140 | NULL, /* sort_order */ |
5141 | NULL, /* uca */ |
5142 | to_uni_dec8_swedish_ci, /* to_uni */ |
5143 | NULL, /* from_uni */ |
5144 | &my_unicase_default, /* caseinfo */ |
5145 | NULL, /* state map */ |
5146 | NULL, /* ident map */ |
5147 | 1, /* strxfrm_multiply*/ |
5148 | 1, /* caseup_multiply*/ |
5149 | 1, /* casedn_multiply*/ |
5150 | 1, /* mbminlen */ |
5151 | 1, /* mbmaxlen */ |
5152 | 0, /* min_sort_char */ |
5153 | 255, /* max_sort_char */ |
5154 | ' ', /* pad_char */ |
5155 | 0, /* escape_with_backslash_is_dangerous */ |
5156 | 1, /* levels_for_order */ |
5157 | &my_charset_8bit_handler, |
5158 | &my_collation_8bit_bin_handler, |
5159 | } |
5160 | , |
5161 | #endif |
5162 | #ifdef HAVE_CHARSET_greek |
5163 | { |
5164 | 70,0,0, |
5165 | MY_CS_COMPILED|MY_CS_BINSORT, |
5166 | "greek" , /* cset name */ |
5167 | "greek_bin" , /* coll name */ |
5168 | "" , /* comment */ |
5169 | NULL, /* tailoring */ |
5170 | ctype_greek_general_ci, /* ctype */ |
5171 | to_lower_greek_general_ci, /* to_lower */ |
5172 | to_upper_greek_general_ci, /* to_upper */ |
5173 | NULL, /* sort_order */ |
5174 | NULL, /* uca */ |
5175 | to_uni_greek_general_ci, /* to_uni */ |
5176 | NULL, /* from_uni */ |
5177 | &my_unicase_default, /* caseinfo */ |
5178 | NULL, /* state map */ |
5179 | NULL, /* ident map */ |
5180 | 1, /* strxfrm_multiply*/ |
5181 | 1, /* caseup_multiply*/ |
5182 | 1, /* casedn_multiply*/ |
5183 | 1, /* mbminlen */ |
5184 | 1, /* mbmaxlen */ |
5185 | 0, /* min_sort_char */ |
5186 | 255, /* max_sort_char */ |
5187 | ' ', /* pad_char */ |
5188 | 0, /* escape_with_backslash_is_dangerous */ |
5189 | 1, /* levels_for_order */ |
5190 | &my_charset_8bit_handler, |
5191 | &my_collation_8bit_bin_handler, |
5192 | } |
5193 | , |
5194 | #endif |
5195 | #ifdef HAVE_CHARSET_hebrew |
5196 | { |
5197 | 71,0,0, |
5198 | MY_CS_COMPILED|MY_CS_BINSORT, |
5199 | "hebrew" , /* cset name */ |
5200 | "hebrew_bin" , /* coll name */ |
5201 | "" , /* comment */ |
5202 | NULL, /* tailoring */ |
5203 | ctype_hebrew_general_ci, /* ctype */ |
5204 | to_lower_hebrew_general_ci, /* to_lower */ |
5205 | to_upper_hebrew_general_ci, /* to_upper */ |
5206 | NULL, /* sort_order */ |
5207 | NULL, /* uca */ |
5208 | to_uni_hebrew_general_ci, /* to_uni */ |
5209 | NULL, /* from_uni */ |
5210 | &my_unicase_default, /* caseinfo */ |
5211 | NULL, /* state map */ |
5212 | NULL, /* ident map */ |
5213 | 1, /* strxfrm_multiply*/ |
5214 | 1, /* caseup_multiply*/ |
5215 | 1, /* casedn_multiply*/ |
5216 | 1, /* mbminlen */ |
5217 | 1, /* mbmaxlen */ |
5218 | 0, /* min_sort_char */ |
5219 | 255, /* max_sort_char */ |
5220 | ' ', /* pad_char */ |
5221 | 0, /* escape_with_backslash_is_dangerous */ |
5222 | 1, /* levels_for_order */ |
5223 | &my_charset_8bit_handler, |
5224 | &my_collation_8bit_bin_handler, |
5225 | } |
5226 | , |
5227 | #endif |
5228 | #ifdef HAVE_CHARSET_hp8 |
5229 | { |
5230 | 72,0,0, |
5231 | MY_CS_COMPILED|MY_CS_BINSORT, |
5232 | "hp8" , /* cset name */ |
5233 | "hp8_bin" , /* coll name */ |
5234 | "" , /* comment */ |
5235 | NULL, /* tailoring */ |
5236 | ctype_hp8_english_ci, /* ctype */ |
5237 | to_lower_hp8_english_ci, /* to_lower */ |
5238 | to_upper_hp8_english_ci, /* to_upper */ |
5239 | NULL, /* sort_order */ |
5240 | NULL, /* uca */ |
5241 | to_uni_hp8_english_ci, /* to_uni */ |
5242 | NULL, /* from_uni */ |
5243 | &my_unicase_default, /* caseinfo */ |
5244 | NULL, /* state map */ |
5245 | NULL, /* ident map */ |
5246 | 1, /* strxfrm_multiply*/ |
5247 | 1, /* caseup_multiply*/ |
5248 | 1, /* casedn_multiply*/ |
5249 | 1, /* mbminlen */ |
5250 | 1, /* mbmaxlen */ |
5251 | 0, /* min_sort_char */ |
5252 | 255, /* max_sort_char */ |
5253 | ' ', /* pad_char */ |
5254 | 0, /* escape_with_backslash_is_dangerous */ |
5255 | 1, /* levels_for_order */ |
5256 | &my_charset_8bit_handler, |
5257 | &my_collation_8bit_bin_handler, |
5258 | } |
5259 | , |
5260 | #endif |
5261 | #ifdef HAVE_CHARSET_keybcs2 |
5262 | { |
5263 | 73,0,0, |
5264 | MY_CS_COMPILED|MY_CS_BINSORT, |
5265 | "keybcs2" , /* cset name */ |
5266 | "keybcs2_bin" , /* coll name */ |
5267 | "" , /* comment */ |
5268 | NULL, /* tailoring */ |
5269 | ctype_keybcs2_general_ci, /* ctype */ |
5270 | to_lower_keybcs2_general_ci, /* to_lower */ |
5271 | to_upper_keybcs2_general_ci, /* to_upper */ |
5272 | NULL, /* sort_order */ |
5273 | NULL, /* uca */ |
5274 | to_uni_keybcs2_general_ci, /* to_uni */ |
5275 | NULL, /* from_uni */ |
5276 | &my_unicase_default, /* caseinfo */ |
5277 | NULL, /* state map */ |
5278 | NULL, /* ident map */ |
5279 | 1, /* strxfrm_multiply*/ |
5280 | 1, /* caseup_multiply*/ |
5281 | 1, /* casedn_multiply*/ |
5282 | 1, /* mbminlen */ |
5283 | 1, /* mbmaxlen */ |
5284 | 0, /* min_sort_char */ |
5285 | 255, /* max_sort_char */ |
5286 | ' ', /* pad_char */ |
5287 | 0, /* escape_with_backslash_is_dangerous */ |
5288 | 1, /* levels_for_order */ |
5289 | &my_charset_8bit_handler, |
5290 | &my_collation_8bit_bin_handler, |
5291 | } |
5292 | , |
5293 | #endif |
5294 | #ifdef HAVE_CHARSET_koi8r |
5295 | { |
5296 | 74,0,0, |
5297 | MY_CS_COMPILED|MY_CS_BINSORT, |
5298 | "koi8r" , /* cset name */ |
5299 | "koi8r_bin" , /* coll name */ |
5300 | "" , /* comment */ |
5301 | NULL, /* tailoring */ |
5302 | ctype_koi8r_general_ci, /* ctype */ |
5303 | to_lower_koi8r_general_ci, /* to_lower */ |
5304 | to_upper_koi8r_general_ci, /* to_upper */ |
5305 | NULL, /* sort_order */ |
5306 | NULL, /* uca */ |
5307 | to_uni_koi8r_general_ci, /* to_uni */ |
5308 | NULL, /* from_uni */ |
5309 | &my_unicase_default, /* caseinfo */ |
5310 | NULL, /* state map */ |
5311 | NULL, /* ident map */ |
5312 | 1, /* strxfrm_multiply*/ |
5313 | 1, /* caseup_multiply*/ |
5314 | 1, /* casedn_multiply*/ |
5315 | 1, /* mbminlen */ |
5316 | 1, /* mbmaxlen */ |
5317 | 0, /* min_sort_char */ |
5318 | 255, /* max_sort_char */ |
5319 | ' ', /* pad_char */ |
5320 | 0, /* escape_with_backslash_is_dangerous */ |
5321 | 1, /* levels_for_order */ |
5322 | &my_charset_8bit_handler, |
5323 | &my_collation_8bit_bin_handler, |
5324 | } |
5325 | , |
5326 | #endif |
5327 | #ifdef HAVE_CHARSET_koi8u |
5328 | { |
5329 | 75,0,0, |
5330 | MY_CS_COMPILED|MY_CS_BINSORT, |
5331 | "koi8u" , /* cset name */ |
5332 | "koi8u_bin" , /* coll name */ |
5333 | "" , /* comment */ |
5334 | NULL, /* tailoring */ |
5335 | ctype_koi8u_general_ci, /* ctype */ |
5336 | to_lower_koi8u_general_ci, /* to_lower */ |
5337 | to_upper_koi8u_general_ci, /* to_upper */ |
5338 | NULL, /* sort_order */ |
5339 | NULL, /* uca */ |
5340 | to_uni_koi8u_general_ci, /* to_uni */ |
5341 | NULL, /* from_uni */ |
5342 | &my_unicase_default, /* caseinfo */ |
5343 | NULL, /* state map */ |
5344 | NULL, /* ident map */ |
5345 | 1, /* strxfrm_multiply*/ |
5346 | 1, /* caseup_multiply*/ |
5347 | 1, /* casedn_multiply*/ |
5348 | 1, /* mbminlen */ |
5349 | 1, /* mbmaxlen */ |
5350 | 0, /* min_sort_char */ |
5351 | 255, /* max_sort_char */ |
5352 | ' ', /* pad_char */ |
5353 | 0, /* escape_with_backslash_is_dangerous */ |
5354 | 1, /* levels_for_order */ |
5355 | &my_charset_8bit_handler, |
5356 | &my_collation_8bit_bin_handler, |
5357 | } |
5358 | , |
5359 | #endif |
5360 | #ifdef HAVE_CHARSET_latin2 |
5361 | { |
5362 | 77,0,0, |
5363 | MY_CS_COMPILED|MY_CS_BINSORT, |
5364 | "latin2" , /* cset name */ |
5365 | "latin2_bin" , /* coll name */ |
5366 | "" , /* comment */ |
5367 | NULL, /* tailoring */ |
5368 | ctype_latin2_general_ci, /* ctype */ |
5369 | to_lower_latin2_general_ci, /* to_lower */ |
5370 | to_upper_latin2_general_ci, /* to_upper */ |
5371 | NULL, /* sort_order */ |
5372 | NULL, /* uca */ |
5373 | to_uni_latin2_general_ci, /* to_uni */ |
5374 | NULL, /* from_uni */ |
5375 | &my_unicase_default, /* caseinfo */ |
5376 | NULL, /* state map */ |
5377 | NULL, /* ident map */ |
5378 | 1, /* strxfrm_multiply*/ |
5379 | 1, /* caseup_multiply*/ |
5380 | 1, /* casedn_multiply*/ |
5381 | 1, /* mbminlen */ |
5382 | 1, /* mbmaxlen */ |
5383 | 0, /* min_sort_char */ |
5384 | 255, /* max_sort_char */ |
5385 | ' ', /* pad_char */ |
5386 | 0, /* escape_with_backslash_is_dangerous */ |
5387 | 1, /* levels_for_order */ |
5388 | &my_charset_8bit_handler, |
5389 | &my_collation_8bit_bin_handler, |
5390 | } |
5391 | , |
5392 | #endif |
5393 | #ifdef HAVE_CHARSET_latin5 |
5394 | { |
5395 | 78,0,0, |
5396 | MY_CS_COMPILED|MY_CS_BINSORT, |
5397 | "latin5" , /* cset name */ |
5398 | "latin5_bin" , /* coll name */ |
5399 | "" , /* comment */ |
5400 | NULL, /* tailoring */ |
5401 | ctype_latin5_turkish_ci, /* ctype */ |
5402 | to_lower_latin5_turkish_ci, /* to_lower */ |
5403 | to_upper_latin5_turkish_ci, /* to_upper */ |
5404 | NULL, /* sort_order */ |
5405 | NULL, /* uca */ |
5406 | to_uni_latin5_turkish_ci, /* to_uni */ |
5407 | NULL, /* from_uni */ |
5408 | &my_unicase_default, /* caseinfo */ |
5409 | NULL, /* state map */ |
5410 | NULL, /* ident map */ |
5411 | 1, /* strxfrm_multiply*/ |
5412 | 1, /* caseup_multiply*/ |
5413 | 1, /* casedn_multiply*/ |
5414 | 1, /* mbminlen */ |
5415 | 1, /* mbmaxlen */ |
5416 | 0, /* min_sort_char */ |
5417 | 255, /* max_sort_char */ |
5418 | ' ', /* pad_char */ |
5419 | 0, /* escape_with_backslash_is_dangerous */ |
5420 | 1, /* levels_for_order */ |
5421 | &my_charset_8bit_handler, |
5422 | &my_collation_8bit_bin_handler, |
5423 | } |
5424 | , |
5425 | #endif |
5426 | #ifdef HAVE_CHARSET_latin7 |
5427 | { |
5428 | 79,0,0, |
5429 | MY_CS_COMPILED|MY_CS_BINSORT, |
5430 | "latin7" , /* cset name */ |
5431 | "latin7_bin" , /* coll name */ |
5432 | "" , /* comment */ |
5433 | NULL, /* tailoring */ |
5434 | ctype_latin7_general_ci, /* ctype */ |
5435 | to_lower_latin7_general_ci, /* to_lower */ |
5436 | to_upper_latin7_general_ci, /* to_upper */ |
5437 | NULL, /* sort_order */ |
5438 | NULL, /* uca */ |
5439 | to_uni_latin7_general_ci, /* to_uni */ |
5440 | NULL, /* from_uni */ |
5441 | &my_unicase_default, /* caseinfo */ |
5442 | NULL, /* state map */ |
5443 | NULL, /* ident map */ |
5444 | 1, /* strxfrm_multiply*/ |
5445 | 1, /* caseup_multiply*/ |
5446 | 1, /* casedn_multiply*/ |
5447 | 1, /* mbminlen */ |
5448 | 1, /* mbmaxlen */ |
5449 | 0, /* min_sort_char */ |
5450 | 255, /* max_sort_char */ |
5451 | ' ', /* pad_char */ |
5452 | 0, /* escape_with_backslash_is_dangerous */ |
5453 | 1, /* levels_for_order */ |
5454 | &my_charset_8bit_handler, |
5455 | &my_collation_8bit_bin_handler, |
5456 | } |
5457 | , |
5458 | #endif |
5459 | #ifdef HAVE_CHARSET_cp850 |
5460 | { |
5461 | 80,0,0, |
5462 | MY_CS_COMPILED|MY_CS_BINSORT, |
5463 | "cp850" , /* cset name */ |
5464 | "cp850_bin" , /* coll name */ |
5465 | "" , /* comment */ |
5466 | NULL, /* tailoring */ |
5467 | ctype_cp850_general_ci, /* ctype */ |
5468 | to_lower_cp850_general_ci, /* to_lower */ |
5469 | to_upper_cp850_general_ci, /* to_upper */ |
5470 | NULL, /* sort_order */ |
5471 | NULL, /* uca */ |
5472 | to_uni_cp850_general_ci, /* to_uni */ |
5473 | NULL, /* from_uni */ |
5474 | &my_unicase_default, /* caseinfo */ |
5475 | NULL, /* state map */ |
5476 | NULL, /* ident map */ |
5477 | 1, /* strxfrm_multiply*/ |
5478 | 1, /* caseup_multiply*/ |
5479 | 1, /* casedn_multiply*/ |
5480 | 1, /* mbminlen */ |
5481 | 1, /* mbmaxlen */ |
5482 | 0, /* min_sort_char */ |
5483 | 255, /* max_sort_char */ |
5484 | ' ', /* pad_char */ |
5485 | 0, /* escape_with_backslash_is_dangerous */ |
5486 | 1, /* levels_for_order */ |
5487 | &my_charset_8bit_handler, |
5488 | &my_collation_8bit_bin_handler, |
5489 | } |
5490 | , |
5491 | #endif |
5492 | #ifdef HAVE_CHARSET_cp852 |
5493 | { |
5494 | 81,0,0, |
5495 | MY_CS_COMPILED|MY_CS_BINSORT, |
5496 | "cp852" , /* cset name */ |
5497 | "cp852_bin" , /* coll name */ |
5498 | "" , /* comment */ |
5499 | NULL, /* tailoring */ |
5500 | ctype_cp852_general_ci, /* ctype */ |
5501 | to_lower_cp852_general_ci, /* to_lower */ |
5502 | to_upper_cp852_general_ci, /* to_upper */ |
5503 | NULL, /* sort_order */ |
5504 | NULL, /* uca */ |
5505 | to_uni_cp852_general_ci, /* to_uni */ |
5506 | NULL, /* from_uni */ |
5507 | &my_unicase_default, /* caseinfo */ |
5508 | NULL, /* state map */ |
5509 | NULL, /* ident map */ |
5510 | 1, /* strxfrm_multiply*/ |
5511 | 1, /* caseup_multiply*/ |
5512 | 1, /* casedn_multiply*/ |
5513 | 1, /* mbminlen */ |
5514 | 1, /* mbmaxlen */ |
5515 | 0, /* min_sort_char */ |
5516 | 255, /* max_sort_char */ |
5517 | ' ', /* pad_char */ |
5518 | 0, /* escape_with_backslash_is_dangerous */ |
5519 | 1, /* levels_for_order */ |
5520 | &my_charset_8bit_handler, |
5521 | &my_collation_8bit_bin_handler, |
5522 | } |
5523 | , |
5524 | #endif |
5525 | #ifdef HAVE_CHARSET_swe7 |
5526 | { |
5527 | 82,0,0, |
5528 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NONASCII, |
5529 | "swe7" , /* cset name */ |
5530 | "swe7_bin" , /* coll name */ |
5531 | "" , /* comment */ |
5532 | NULL, /* tailoring */ |
5533 | ctype_swe7_swedish_ci, /* ctype */ |
5534 | to_lower_swe7_swedish_ci, /* to_lower */ |
5535 | to_upper_swe7_swedish_ci, /* to_upper */ |
5536 | NULL, /* sort_order */ |
5537 | NULL, /* uca */ |
5538 | to_uni_swe7_swedish_ci, /* to_uni */ |
5539 | NULL, /* from_uni */ |
5540 | &my_unicase_default, /* caseinfo */ |
5541 | NULL, /* state map */ |
5542 | NULL, /* ident map */ |
5543 | 1, /* strxfrm_multiply*/ |
5544 | 1, /* caseup_multiply*/ |
5545 | 1, /* casedn_multiply*/ |
5546 | 1, /* mbminlen */ |
5547 | 1, /* mbmaxlen */ |
5548 | 0, /* min_sort_char */ |
5549 | 255, /* max_sort_char */ |
5550 | ' ', /* pad_char */ |
5551 | 0, /* escape_with_backslash_is_dangerous */ |
5552 | 1, /* levels_for_order */ |
5553 | &my_charset_8bit_handler, |
5554 | &my_collation_8bit_bin_handler, |
5555 | } |
5556 | , |
5557 | #endif |
5558 | #ifdef HAVE_CHARSET_geostd8 |
5559 | { |
5560 | 92,0,0, |
5561 | MY_CS_COMPILED|MY_CS_PRIMARY, |
5562 | "geostd8" , /* cset name */ |
5563 | "geostd8_general_ci" , /* coll name */ |
5564 | "" , /* comment */ |
5565 | NULL, /* tailoring */ |
5566 | ctype_geostd8_general_ci, /* ctype */ |
5567 | to_lower_geostd8_general_ci, /* to_lower */ |
5568 | to_upper_geostd8_general_ci, /* to_upper */ |
5569 | sort_order_geostd8_general_ci, /* sort_order */ |
5570 | NULL, /* uca */ |
5571 | to_uni_geostd8_general_ci, /* to_uni */ |
5572 | NULL, /* from_uni */ |
5573 | &my_unicase_default, /* caseinfo */ |
5574 | NULL, /* state map */ |
5575 | NULL, /* ident map */ |
5576 | 1, /* strxfrm_multiply*/ |
5577 | 1, /* caseup_multiply*/ |
5578 | 1, /* casedn_multiply*/ |
5579 | 1, /* mbminlen */ |
5580 | 1, /* mbmaxlen */ |
5581 | 0, /* min_sort_char */ |
5582 | 255, /* max_sort_char */ |
5583 | ' ', /* pad_char */ |
5584 | 0, /* escape_with_backslash_is_dangerous */ |
5585 | 1, /* levels_for_order */ |
5586 | &my_charset_8bit_handler, |
5587 | &my_collation_8bit_simple_ci_handler, |
5588 | } |
5589 | , |
5590 | #endif |
5591 | #ifdef HAVE_CHARSET_geostd8 |
5592 | { |
5593 | 93,0,0, |
5594 | MY_CS_COMPILED|MY_CS_BINSORT, |
5595 | "geostd8" , /* cset name */ |
5596 | "geostd8_bin" , /* coll name */ |
5597 | "" , /* comment */ |
5598 | NULL, /* tailoring */ |
5599 | ctype_geostd8_general_ci, /* ctype */ |
5600 | to_lower_geostd8_general_ci, /* to_lower */ |
5601 | to_upper_geostd8_general_ci, /* to_upper */ |
5602 | NULL, /* sort_order */ |
5603 | NULL, /* uca */ |
5604 | to_uni_geostd8_general_ci, /* to_uni */ |
5605 | NULL, /* from_uni */ |
5606 | &my_unicase_default, /* caseinfo */ |
5607 | NULL, /* state map */ |
5608 | NULL, /* ident map */ |
5609 | 1, /* strxfrm_multiply*/ |
5610 | 1, /* caseup_multiply*/ |
5611 | 1, /* casedn_multiply*/ |
5612 | 1, /* mbminlen */ |
5613 | 1, /* mbmaxlen */ |
5614 | 0, /* min_sort_char */ |
5615 | 255, /* max_sort_char */ |
5616 | ' ', /* pad_char */ |
5617 | 0, /* escape_with_backslash_is_dangerous */ |
5618 | 1, /* levels_for_order */ |
5619 | &my_charset_8bit_handler, |
5620 | &my_collation_8bit_bin_handler, |
5621 | } |
5622 | , |
5623 | #endif |
5624 | #ifdef HAVE_CHARSET_latin1 |
5625 | { |
5626 | 94,0,0, |
5627 | MY_CS_COMPILED, |
5628 | "latin1" , /* cset name */ |
5629 | "latin1_spanish_ci" , /* coll name */ |
5630 | "" , /* comment */ |
5631 | NULL, /* tailoring */ |
5632 | ctype_latin1_spanish_ci, /* ctype */ |
5633 | to_lower_latin1_spanish_ci, /* to_lower */ |
5634 | to_upper_latin1_spanish_ci, /* to_upper */ |
5635 | sort_order_latin1_spanish_ci, /* sort_order */ |
5636 | NULL, /* uca */ |
5637 | to_uni_latin1_spanish_ci, /* to_uni */ |
5638 | NULL, /* from_uni */ |
5639 | &my_unicase_default, /* caseinfo */ |
5640 | NULL, /* state map */ |
5641 | NULL, /* ident map */ |
5642 | 1, /* strxfrm_multiply*/ |
5643 | 1, /* caseup_multiply*/ |
5644 | 1, /* casedn_multiply*/ |
5645 | 1, /* mbminlen */ |
5646 | 1, /* mbmaxlen */ |
5647 | 0, /* min_sort_char */ |
5648 | 255, /* max_sort_char */ |
5649 | ' ', /* pad_char */ |
5650 | 0, /* escape_with_backslash_is_dangerous */ |
5651 | 1, /* levels_for_order */ |
5652 | &my_charset_8bit_handler, |
5653 | &my_collation_8bit_simple_ci_handler, |
5654 | } |
5655 | , |
5656 | #endif |
5657 | #ifdef HAVE_CHARSET_cp1250 |
5658 | { |
5659 | 99,0,0, |
5660 | MY_CS_COMPILED, |
5661 | "cp1250" , /* cset name */ |
5662 | "cp1250_polish_ci" , /* coll name */ |
5663 | "" , /* comment */ |
5664 | NULL, /* tailoring */ |
5665 | ctype_cp1250_general_ci, /* ctype */ |
5666 | to_lower_cp1250_general_ci, /* to_lower */ |
5667 | to_upper_cp1250_general_ci, /* to_upper */ |
5668 | sort_order_cp1250_polish_ci, /* sort_order */ |
5669 | NULL, /* uca */ |
5670 | to_uni_cp1250_general_ci, /* to_uni */ |
5671 | NULL, /* from_uni */ |
5672 | &my_unicase_default, /* caseinfo */ |
5673 | NULL, /* state map */ |
5674 | NULL, /* ident map */ |
5675 | 1, /* strxfrm_multiply*/ |
5676 | 1, /* caseup_multiply*/ |
5677 | 1, /* casedn_multiply*/ |
5678 | 1, /* mbminlen */ |
5679 | 1, /* mbmaxlen */ |
5680 | 0, /* min_sort_char */ |
5681 | 255, /* max_sort_char */ |
5682 | ' ', /* pad_char */ |
5683 | 0, /* escape_with_backslash_is_dangerous */ |
5684 | 1, /* levels_for_order */ |
5685 | &my_charset_8bit_handler, |
5686 | &my_collation_8bit_simple_ci_handler, |
5687 | } |
5688 | , |
5689 | #endif |
5690 | #ifdef HAVE_CHARSET_dec8 |
5691 | { |
5692 | 1027,0,0, |
5693 | MY_CS_COMPILED|MY_CS_NOPAD, |
5694 | "dec8" , /* cset name */ |
5695 | "dec8_swedish_nopad_ci" , /* coll name */ |
5696 | "" , /* comment */ |
5697 | "[import dec8_swedish_ci]" , /* tailoring */ |
5698 | ctype_dec8_swedish_ci, /* ctype */ |
5699 | to_lower_dec8_swedish_ci, /* to_lower */ |
5700 | to_upper_dec8_swedish_ci, /* to_upper */ |
5701 | NULL, /* sort_order */ |
5702 | NULL, /* uca */ |
5703 | to_uni_dec8_swedish_ci, /* to_uni */ |
5704 | NULL, /* from_uni */ |
5705 | &my_unicase_default, /* caseinfo */ |
5706 | NULL, /* state map */ |
5707 | NULL, /* ident map */ |
5708 | 1, /* strxfrm_multiply*/ |
5709 | 1, /* caseup_multiply*/ |
5710 | 1, /* casedn_multiply*/ |
5711 | 1, /* mbminlen */ |
5712 | 1, /* mbmaxlen */ |
5713 | 0, /* min_sort_char */ |
5714 | 255, /* max_sort_char */ |
5715 | ' ', /* pad_char */ |
5716 | 0, /* escape_with_backslash_is_dangerous */ |
5717 | 1, /* levels_for_order */ |
5718 | &my_charset_8bit_handler, |
5719 | &my_collation_8bit_simple_nopad_ci_handler, |
5720 | } |
5721 | , |
5722 | #endif |
5723 | #ifdef HAVE_CHARSET_cp850 |
5724 | { |
5725 | 1028,0,0, |
5726 | MY_CS_COMPILED|MY_CS_NOPAD, |
5727 | "cp850" , /* cset name */ |
5728 | "cp850_general_nopad_ci" , /* coll name */ |
5729 | "" , /* comment */ |
5730 | "[import cp850_general_ci]" , /* tailoring */ |
5731 | ctype_cp850_general_ci, /* ctype */ |
5732 | to_lower_cp850_general_ci, /* to_lower */ |
5733 | to_upper_cp850_general_ci, /* to_upper */ |
5734 | NULL, /* sort_order */ |
5735 | NULL, /* uca */ |
5736 | to_uni_cp850_general_ci, /* to_uni */ |
5737 | NULL, /* from_uni */ |
5738 | &my_unicase_default, /* caseinfo */ |
5739 | NULL, /* state map */ |
5740 | NULL, /* ident map */ |
5741 | 1, /* strxfrm_multiply*/ |
5742 | 1, /* caseup_multiply*/ |
5743 | 1, /* casedn_multiply*/ |
5744 | 1, /* mbminlen */ |
5745 | 1, /* mbmaxlen */ |
5746 | 0, /* min_sort_char */ |
5747 | 255, /* max_sort_char */ |
5748 | ' ', /* pad_char */ |
5749 | 0, /* escape_with_backslash_is_dangerous */ |
5750 | 1, /* levels_for_order */ |
5751 | &my_charset_8bit_handler, |
5752 | &my_collation_8bit_simple_nopad_ci_handler, |
5753 | } |
5754 | , |
5755 | #endif |
5756 | #ifdef HAVE_CHARSET_hp8 |
5757 | { |
5758 | 1030,0,0, |
5759 | MY_CS_COMPILED|MY_CS_NOPAD, |
5760 | "hp8" , /* cset name */ |
5761 | "hp8_english_nopad_ci" , /* coll name */ |
5762 | "" , /* comment */ |
5763 | "[import hp8_english_ci]" , /* tailoring */ |
5764 | ctype_hp8_english_ci, /* ctype */ |
5765 | to_lower_hp8_english_ci, /* to_lower */ |
5766 | to_upper_hp8_english_ci, /* to_upper */ |
5767 | NULL, /* sort_order */ |
5768 | NULL, /* uca */ |
5769 | to_uni_hp8_english_ci, /* to_uni */ |
5770 | NULL, /* from_uni */ |
5771 | &my_unicase_default, /* caseinfo */ |
5772 | NULL, /* state map */ |
5773 | NULL, /* ident map */ |
5774 | 1, /* strxfrm_multiply*/ |
5775 | 1, /* caseup_multiply*/ |
5776 | 1, /* casedn_multiply*/ |
5777 | 1, /* mbminlen */ |
5778 | 1, /* mbmaxlen */ |
5779 | 0, /* min_sort_char */ |
5780 | 255, /* max_sort_char */ |
5781 | ' ', /* pad_char */ |
5782 | 0, /* escape_with_backslash_is_dangerous */ |
5783 | 1, /* levels_for_order */ |
5784 | &my_charset_8bit_handler, |
5785 | &my_collation_8bit_simple_nopad_ci_handler, |
5786 | } |
5787 | , |
5788 | #endif |
5789 | #ifdef HAVE_CHARSET_koi8r |
5790 | { |
5791 | 1031,0,0, |
5792 | MY_CS_COMPILED|MY_CS_NOPAD, |
5793 | "koi8r" , /* cset name */ |
5794 | "koi8r_general_nopad_ci" , /* coll name */ |
5795 | "" , /* comment */ |
5796 | "[import koi8r_general_ci]" , /* tailoring */ |
5797 | ctype_koi8r_general_ci, /* ctype */ |
5798 | to_lower_koi8r_general_ci, /* to_lower */ |
5799 | to_upper_koi8r_general_ci, /* to_upper */ |
5800 | NULL, /* sort_order */ |
5801 | NULL, /* uca */ |
5802 | to_uni_koi8r_general_ci, /* to_uni */ |
5803 | NULL, /* from_uni */ |
5804 | &my_unicase_default, /* caseinfo */ |
5805 | NULL, /* state map */ |
5806 | NULL, /* ident map */ |
5807 | 1, /* strxfrm_multiply*/ |
5808 | 1, /* caseup_multiply*/ |
5809 | 1, /* casedn_multiply*/ |
5810 | 1, /* mbminlen */ |
5811 | 1, /* mbmaxlen */ |
5812 | 0, /* min_sort_char */ |
5813 | 255, /* max_sort_char */ |
5814 | ' ', /* pad_char */ |
5815 | 0, /* escape_with_backslash_is_dangerous */ |
5816 | 1, /* levels_for_order */ |
5817 | &my_charset_8bit_handler, |
5818 | &my_collation_8bit_simple_nopad_ci_handler, |
5819 | } |
5820 | , |
5821 | #endif |
5822 | #ifdef HAVE_CHARSET_latin2 |
5823 | { |
5824 | 1033,0,0, |
5825 | MY_CS_COMPILED|MY_CS_NOPAD, |
5826 | "latin2" , /* cset name */ |
5827 | "latin2_general_nopad_ci" , /* coll name */ |
5828 | "" , /* comment */ |
5829 | "[import latin2_general_ci]" , /* tailoring */ |
5830 | ctype_latin2_general_ci, /* ctype */ |
5831 | to_lower_latin2_general_ci, /* to_lower */ |
5832 | to_upper_latin2_general_ci, /* to_upper */ |
5833 | NULL, /* sort_order */ |
5834 | NULL, /* uca */ |
5835 | to_uni_latin2_general_ci, /* to_uni */ |
5836 | NULL, /* from_uni */ |
5837 | &my_unicase_default, /* caseinfo */ |
5838 | NULL, /* state map */ |
5839 | NULL, /* ident map */ |
5840 | 1, /* strxfrm_multiply*/ |
5841 | 1, /* caseup_multiply*/ |
5842 | 1, /* casedn_multiply*/ |
5843 | 1, /* mbminlen */ |
5844 | 1, /* mbmaxlen */ |
5845 | 0, /* min_sort_char */ |
5846 | 255, /* max_sort_char */ |
5847 | ' ', /* pad_char */ |
5848 | 0, /* escape_with_backslash_is_dangerous */ |
5849 | 1, /* levels_for_order */ |
5850 | &my_charset_8bit_handler, |
5851 | &my_collation_8bit_simple_nopad_ci_handler, |
5852 | } |
5853 | , |
5854 | #endif |
5855 | #ifdef HAVE_CHARSET_swe7 |
5856 | { |
5857 | 1034,0,0, |
5858 | MY_CS_COMPILED|MY_CS_NONASCII|MY_CS_NOPAD, |
5859 | "swe7" , /* cset name */ |
5860 | "swe7_swedish_nopad_ci" , /* coll name */ |
5861 | "" , /* comment */ |
5862 | "[import swe7_swedish_ci]" , /* tailoring */ |
5863 | ctype_swe7_swedish_ci, /* ctype */ |
5864 | to_lower_swe7_swedish_ci, /* to_lower */ |
5865 | to_upper_swe7_swedish_ci, /* to_upper */ |
5866 | NULL, /* sort_order */ |
5867 | NULL, /* uca */ |
5868 | to_uni_swe7_swedish_ci, /* to_uni */ |
5869 | NULL, /* from_uni */ |
5870 | &my_unicase_default, /* caseinfo */ |
5871 | NULL, /* state map */ |
5872 | NULL, /* ident map */ |
5873 | 1, /* strxfrm_multiply*/ |
5874 | 1, /* caseup_multiply*/ |
5875 | 1, /* casedn_multiply*/ |
5876 | 1, /* mbminlen */ |
5877 | 1, /* mbmaxlen */ |
5878 | 0, /* min_sort_char */ |
5879 | 255, /* max_sort_char */ |
5880 | ' ', /* pad_char */ |
5881 | 0, /* escape_with_backslash_is_dangerous */ |
5882 | 1, /* levels_for_order */ |
5883 | &my_charset_8bit_handler, |
5884 | &my_collation_8bit_simple_nopad_ci_handler, |
5885 | } |
5886 | , |
5887 | #endif |
5888 | #ifdef HAVE_CHARSET_ascii |
5889 | { |
5890 | 1035,0,0, |
5891 | MY_CS_COMPILED|MY_CS_PUREASCII|MY_CS_NOPAD, |
5892 | "ascii" , /* cset name */ |
5893 | "ascii_general_nopad_ci" , /* coll name */ |
5894 | "" , /* comment */ |
5895 | "[import ascii_general_ci]" , /* tailoring */ |
5896 | ctype_ascii_general_ci, /* ctype */ |
5897 | to_lower_ascii_general_ci, /* to_lower */ |
5898 | to_upper_ascii_general_ci, /* to_upper */ |
5899 | NULL, /* sort_order */ |
5900 | NULL, /* uca */ |
5901 | to_uni_ascii_general_ci, /* to_uni */ |
5902 | NULL, /* from_uni */ |
5903 | &my_unicase_default, /* caseinfo */ |
5904 | NULL, /* state map */ |
5905 | NULL, /* ident map */ |
5906 | 1, /* strxfrm_multiply*/ |
5907 | 1, /* caseup_multiply*/ |
5908 | 1, /* casedn_multiply*/ |
5909 | 1, /* mbminlen */ |
5910 | 1, /* mbmaxlen */ |
5911 | 0, /* min_sort_char */ |
5912 | 255, /* max_sort_char */ |
5913 | ' ', /* pad_char */ |
5914 | 0, /* escape_with_backslash_is_dangerous */ |
5915 | 1, /* levels_for_order */ |
5916 | &my_charset_8bit_handler, |
5917 | &my_collation_8bit_simple_nopad_ci_handler, |
5918 | } |
5919 | , |
5920 | #endif |
5921 | #ifdef HAVE_CHARSET_hebrew |
5922 | { |
5923 | 1040,0,0, |
5924 | MY_CS_COMPILED|MY_CS_NOPAD, |
5925 | "hebrew" , /* cset name */ |
5926 | "hebrew_general_nopad_ci" , /* coll name */ |
5927 | "" , /* comment */ |
5928 | "[import hebrew_general_ci]" , /* tailoring */ |
5929 | ctype_hebrew_general_ci, /* ctype */ |
5930 | to_lower_hebrew_general_ci, /* to_lower */ |
5931 | to_upper_hebrew_general_ci, /* to_upper */ |
5932 | NULL, /* sort_order */ |
5933 | NULL, /* uca */ |
5934 | to_uni_hebrew_general_ci, /* to_uni */ |
5935 | NULL, /* from_uni */ |
5936 | &my_unicase_default, /* caseinfo */ |
5937 | NULL, /* state map */ |
5938 | NULL, /* ident map */ |
5939 | 1, /* strxfrm_multiply*/ |
5940 | 1, /* caseup_multiply*/ |
5941 | 1, /* casedn_multiply*/ |
5942 | 1, /* mbminlen */ |
5943 | 1, /* mbmaxlen */ |
5944 | 0, /* min_sort_char */ |
5945 | 255, /* max_sort_char */ |
5946 | ' ', /* pad_char */ |
5947 | 0, /* escape_with_backslash_is_dangerous */ |
5948 | 1, /* levels_for_order */ |
5949 | &my_charset_8bit_handler, |
5950 | &my_collation_8bit_simple_nopad_ci_handler, |
5951 | } |
5952 | , |
5953 | #endif |
5954 | #ifdef HAVE_CHARSET_koi8u |
5955 | { |
5956 | 1046,0,0, |
5957 | MY_CS_COMPILED|MY_CS_NOPAD, |
5958 | "koi8u" , /* cset name */ |
5959 | "koi8u_general_nopad_ci" , /* coll name */ |
5960 | "" , /* comment */ |
5961 | "[import koi8u_general_ci]" , /* tailoring */ |
5962 | ctype_koi8u_general_ci, /* ctype */ |
5963 | to_lower_koi8u_general_ci, /* to_lower */ |
5964 | to_upper_koi8u_general_ci, /* to_upper */ |
5965 | NULL, /* sort_order */ |
5966 | NULL, /* uca */ |
5967 | to_uni_koi8u_general_ci, /* to_uni */ |
5968 | NULL, /* from_uni */ |
5969 | &my_unicase_default, /* caseinfo */ |
5970 | NULL, /* state map */ |
5971 | NULL, /* ident map */ |
5972 | 1, /* strxfrm_multiply*/ |
5973 | 1, /* caseup_multiply*/ |
5974 | 1, /* casedn_multiply*/ |
5975 | 1, /* mbminlen */ |
5976 | 1, /* mbmaxlen */ |
5977 | 0, /* min_sort_char */ |
5978 | 255, /* max_sort_char */ |
5979 | ' ', /* pad_char */ |
5980 | 0, /* escape_with_backslash_is_dangerous */ |
5981 | 1, /* levels_for_order */ |
5982 | &my_charset_8bit_handler, |
5983 | &my_collation_8bit_simple_nopad_ci_handler, |
5984 | } |
5985 | , |
5986 | #endif |
5987 | #ifdef HAVE_CHARSET_greek |
5988 | { |
5989 | 1049,0,0, |
5990 | MY_CS_COMPILED|MY_CS_NOPAD, |
5991 | "greek" , /* cset name */ |
5992 | "greek_general_nopad_ci" , /* coll name */ |
5993 | "" , /* comment */ |
5994 | "[import greek_general_ci]" , /* tailoring */ |
5995 | ctype_greek_general_ci, /* ctype */ |
5996 | to_lower_greek_general_ci, /* to_lower */ |
5997 | to_upper_greek_general_ci, /* to_upper */ |
5998 | NULL, /* sort_order */ |
5999 | NULL, /* uca */ |
6000 | to_uni_greek_general_ci, /* to_uni */ |
6001 | NULL, /* from_uni */ |
6002 | &my_unicase_default, /* caseinfo */ |
6003 | NULL, /* state map */ |
6004 | NULL, /* ident map */ |
6005 | 1, /* strxfrm_multiply*/ |
6006 | 1, /* caseup_multiply*/ |
6007 | 1, /* casedn_multiply*/ |
6008 | 1, /* mbminlen */ |
6009 | 1, /* mbmaxlen */ |
6010 | 0, /* min_sort_char */ |
6011 | 255, /* max_sort_char */ |
6012 | ' ', /* pad_char */ |
6013 | 0, /* escape_with_backslash_is_dangerous */ |
6014 | 1, /* levels_for_order */ |
6015 | &my_charset_8bit_handler, |
6016 | &my_collation_8bit_simple_nopad_ci_handler, |
6017 | } |
6018 | , |
6019 | #endif |
6020 | #ifdef HAVE_CHARSET_cp1250 |
6021 | { |
6022 | 1050,0,0, |
6023 | MY_CS_COMPILED|MY_CS_NOPAD, |
6024 | "cp1250" , /* cset name */ |
6025 | "cp1250_general_nopad_ci" , /* coll name */ |
6026 | "" , /* comment */ |
6027 | "[import cp1250_general_ci]" , /* tailoring */ |
6028 | ctype_cp1250_general_ci, /* ctype */ |
6029 | to_lower_cp1250_general_ci, /* to_lower */ |
6030 | to_upper_cp1250_general_ci, /* to_upper */ |
6031 | NULL, /* sort_order */ |
6032 | NULL, /* uca */ |
6033 | to_uni_cp1250_general_ci, /* to_uni */ |
6034 | NULL, /* from_uni */ |
6035 | &my_unicase_default, /* caseinfo */ |
6036 | NULL, /* state map */ |
6037 | NULL, /* ident map */ |
6038 | 1, /* strxfrm_multiply*/ |
6039 | 1, /* caseup_multiply*/ |
6040 | 1, /* casedn_multiply*/ |
6041 | 1, /* mbminlen */ |
6042 | 1, /* mbmaxlen */ |
6043 | 0, /* min_sort_char */ |
6044 | 255, /* max_sort_char */ |
6045 | ' ', /* pad_char */ |
6046 | 0, /* escape_with_backslash_is_dangerous */ |
6047 | 1, /* levels_for_order */ |
6048 | &my_charset_8bit_handler, |
6049 | &my_collation_8bit_simple_nopad_ci_handler, |
6050 | } |
6051 | , |
6052 | #endif |
6053 | #ifdef HAVE_CHARSET_latin5 |
6054 | { |
6055 | 1054,0,0, |
6056 | MY_CS_COMPILED|MY_CS_NOPAD, |
6057 | "latin5" , /* cset name */ |
6058 | "latin5_turkish_nopad_ci" , /* coll name */ |
6059 | "" , /* comment */ |
6060 | "[import latin5_turkish_ci]" , /* tailoring */ |
6061 | ctype_latin5_turkish_ci, /* ctype */ |
6062 | to_lower_latin5_turkish_ci, /* to_lower */ |
6063 | to_upper_latin5_turkish_ci, /* to_upper */ |
6064 | NULL, /* sort_order */ |
6065 | NULL, /* uca */ |
6066 | to_uni_latin5_turkish_ci, /* to_uni */ |
6067 | NULL, /* from_uni */ |
6068 | &my_unicase_default, /* caseinfo */ |
6069 | NULL, /* state map */ |
6070 | NULL, /* ident map */ |
6071 | 1, /* strxfrm_multiply*/ |
6072 | 1, /* caseup_multiply*/ |
6073 | 1, /* casedn_multiply*/ |
6074 | 1, /* mbminlen */ |
6075 | 1, /* mbmaxlen */ |
6076 | 0, /* min_sort_char */ |
6077 | 255, /* max_sort_char */ |
6078 | ' ', /* pad_char */ |
6079 | 0, /* escape_with_backslash_is_dangerous */ |
6080 | 1, /* levels_for_order */ |
6081 | &my_charset_8bit_handler, |
6082 | &my_collation_8bit_simple_nopad_ci_handler, |
6083 | } |
6084 | , |
6085 | #endif |
6086 | #ifdef HAVE_CHARSET_armscii8 |
6087 | { |
6088 | 1056,0,0, |
6089 | MY_CS_COMPILED|MY_CS_NOPAD, |
6090 | "armscii8" , /* cset name */ |
6091 | "armscii8_general_nopad_ci" , /* coll name */ |
6092 | "" , /* comment */ |
6093 | "[import armscii8_general_ci]" , /* tailoring */ |
6094 | ctype_armscii8_general_ci, /* ctype */ |
6095 | to_lower_armscii8_general_ci, /* to_lower */ |
6096 | to_upper_armscii8_general_ci, /* to_upper */ |
6097 | NULL, /* sort_order */ |
6098 | NULL, /* uca */ |
6099 | to_uni_armscii8_general_ci, /* to_uni */ |
6100 | NULL, /* from_uni */ |
6101 | &my_unicase_default, /* caseinfo */ |
6102 | NULL, /* state map */ |
6103 | NULL, /* ident map */ |
6104 | 1, /* strxfrm_multiply*/ |
6105 | 1, /* caseup_multiply*/ |
6106 | 1, /* casedn_multiply*/ |
6107 | 1, /* mbminlen */ |
6108 | 1, /* mbmaxlen */ |
6109 | 0, /* min_sort_char */ |
6110 | 255, /* max_sort_char */ |
6111 | ' ', /* pad_char */ |
6112 | 0, /* escape_with_backslash_is_dangerous */ |
6113 | 1, /* levels_for_order */ |
6114 | &my_charset_8bit_handler, |
6115 | &my_collation_8bit_simple_nopad_ci_handler, |
6116 | } |
6117 | , |
6118 | #endif |
6119 | #ifdef HAVE_CHARSET_cp866 |
6120 | { |
6121 | 1060,0,0, |
6122 | MY_CS_COMPILED|MY_CS_NOPAD, |
6123 | "cp866" , /* cset name */ |
6124 | "cp866_general_nopad_ci" , /* coll name */ |
6125 | "" , /* comment */ |
6126 | "[import cp866_general_ci]" , /* tailoring */ |
6127 | ctype_cp866_general_ci, /* ctype */ |
6128 | to_lower_cp866_general_ci, /* to_lower */ |
6129 | to_upper_cp866_general_ci, /* to_upper */ |
6130 | NULL, /* sort_order */ |
6131 | NULL, /* uca */ |
6132 | to_uni_cp866_general_ci, /* to_uni */ |
6133 | NULL, /* from_uni */ |
6134 | &my_unicase_default, /* caseinfo */ |
6135 | NULL, /* state map */ |
6136 | NULL, /* ident map */ |
6137 | 1, /* strxfrm_multiply*/ |
6138 | 1, /* caseup_multiply*/ |
6139 | 1, /* casedn_multiply*/ |
6140 | 1, /* mbminlen */ |
6141 | 1, /* mbmaxlen */ |
6142 | 0, /* min_sort_char */ |
6143 | 255, /* max_sort_char */ |
6144 | ' ', /* pad_char */ |
6145 | 0, /* escape_with_backslash_is_dangerous */ |
6146 | 1, /* levels_for_order */ |
6147 | &my_charset_8bit_handler, |
6148 | &my_collation_8bit_simple_nopad_ci_handler, |
6149 | } |
6150 | , |
6151 | #endif |
6152 | #ifdef HAVE_CHARSET_keybcs2 |
6153 | { |
6154 | 1061,0,0, |
6155 | MY_CS_COMPILED|MY_CS_NOPAD, |
6156 | "keybcs2" , /* cset name */ |
6157 | "keybcs2_general_nopad_ci" , /* coll name */ |
6158 | "" , /* comment */ |
6159 | "[import keybcs2_general_ci]" , /* tailoring */ |
6160 | ctype_keybcs2_general_ci, /* ctype */ |
6161 | to_lower_keybcs2_general_ci, /* to_lower */ |
6162 | to_upper_keybcs2_general_ci, /* to_upper */ |
6163 | NULL, /* sort_order */ |
6164 | NULL, /* uca */ |
6165 | to_uni_keybcs2_general_ci, /* to_uni */ |
6166 | NULL, /* from_uni */ |
6167 | &my_unicase_default, /* caseinfo */ |
6168 | NULL, /* state map */ |
6169 | NULL, /* ident map */ |
6170 | 1, /* strxfrm_multiply*/ |
6171 | 1, /* caseup_multiply*/ |
6172 | 1, /* casedn_multiply*/ |
6173 | 1, /* mbminlen */ |
6174 | 1, /* mbmaxlen */ |
6175 | 0, /* min_sort_char */ |
6176 | 255, /* max_sort_char */ |
6177 | ' ', /* pad_char */ |
6178 | 0, /* escape_with_backslash_is_dangerous */ |
6179 | 1, /* levels_for_order */ |
6180 | &my_charset_8bit_handler, |
6181 | &my_collation_8bit_simple_nopad_ci_handler, |
6182 | } |
6183 | , |
6184 | #endif |
6185 | #ifdef HAVE_CHARSET_macce |
6186 | { |
6187 | 1062,0,0, |
6188 | MY_CS_COMPILED|MY_CS_NOPAD, |
6189 | "macce" , /* cset name */ |
6190 | "macce_general_nopad_ci" , /* coll name */ |
6191 | "" , /* comment */ |
6192 | "[import macce_general_ci]" , /* tailoring */ |
6193 | ctype_macce_general_ci, /* ctype */ |
6194 | to_lower_macce_general_ci, /* to_lower */ |
6195 | to_upper_macce_general_ci, /* to_upper */ |
6196 | NULL, /* sort_order */ |
6197 | NULL, /* uca */ |
6198 | to_uni_macce_general_ci, /* to_uni */ |
6199 | NULL, /* from_uni */ |
6200 | &my_unicase_default, /* caseinfo */ |
6201 | NULL, /* state map */ |
6202 | NULL, /* ident map */ |
6203 | 1, /* strxfrm_multiply*/ |
6204 | 1, /* caseup_multiply*/ |
6205 | 1, /* casedn_multiply*/ |
6206 | 1, /* mbminlen */ |
6207 | 1, /* mbmaxlen */ |
6208 | 0, /* min_sort_char */ |
6209 | 255, /* max_sort_char */ |
6210 | ' ', /* pad_char */ |
6211 | 0, /* escape_with_backslash_is_dangerous */ |
6212 | 1, /* levels_for_order */ |
6213 | &my_charset_8bit_handler, |
6214 | &my_collation_8bit_simple_nopad_ci_handler, |
6215 | } |
6216 | , |
6217 | #endif |
6218 | #ifdef HAVE_CHARSET_macroman |
6219 | { |
6220 | 1063,0,0, |
6221 | MY_CS_COMPILED|MY_CS_NOPAD, |
6222 | "macroman" , /* cset name */ |
6223 | "macroman_general_nopad_ci" , /* coll name */ |
6224 | "" , /* comment */ |
6225 | "[import macroman_general_ci]" , /* tailoring */ |
6226 | ctype_macroman_general_ci, /* ctype */ |
6227 | to_lower_macroman_general_ci, /* to_lower */ |
6228 | to_upper_macroman_general_ci, /* to_upper */ |
6229 | NULL, /* sort_order */ |
6230 | NULL, /* uca */ |
6231 | to_uni_macroman_general_ci, /* to_uni */ |
6232 | NULL, /* from_uni */ |
6233 | &my_unicase_default, /* caseinfo */ |
6234 | NULL, /* state map */ |
6235 | NULL, /* ident map */ |
6236 | 1, /* strxfrm_multiply*/ |
6237 | 1, /* caseup_multiply*/ |
6238 | 1, /* casedn_multiply*/ |
6239 | 1, /* mbminlen */ |
6240 | 1, /* mbmaxlen */ |
6241 | 0, /* min_sort_char */ |
6242 | 255, /* max_sort_char */ |
6243 | ' ', /* pad_char */ |
6244 | 0, /* escape_with_backslash_is_dangerous */ |
6245 | 1, /* levels_for_order */ |
6246 | &my_charset_8bit_handler, |
6247 | &my_collation_8bit_simple_nopad_ci_handler, |
6248 | } |
6249 | , |
6250 | #endif |
6251 | #ifdef HAVE_CHARSET_cp852 |
6252 | { |
6253 | 1064,0,0, |
6254 | MY_CS_COMPILED|MY_CS_NOPAD, |
6255 | "cp852" , /* cset name */ |
6256 | "cp852_general_nopad_ci" , /* coll name */ |
6257 | "" , /* comment */ |
6258 | "[import cp852_general_ci]" , /* tailoring */ |
6259 | ctype_cp852_general_ci, /* ctype */ |
6260 | to_lower_cp852_general_ci, /* to_lower */ |
6261 | to_upper_cp852_general_ci, /* to_upper */ |
6262 | NULL, /* sort_order */ |
6263 | NULL, /* uca */ |
6264 | to_uni_cp852_general_ci, /* to_uni */ |
6265 | NULL, /* from_uni */ |
6266 | &my_unicase_default, /* caseinfo */ |
6267 | NULL, /* state map */ |
6268 | NULL, /* ident map */ |
6269 | 1, /* strxfrm_multiply*/ |
6270 | 1, /* caseup_multiply*/ |
6271 | 1, /* casedn_multiply*/ |
6272 | 1, /* mbminlen */ |
6273 | 1, /* mbmaxlen */ |
6274 | 0, /* min_sort_char */ |
6275 | 255, /* max_sort_char */ |
6276 | ' ', /* pad_char */ |
6277 | 0, /* escape_with_backslash_is_dangerous */ |
6278 | 1, /* levels_for_order */ |
6279 | &my_charset_8bit_handler, |
6280 | &my_collation_8bit_simple_nopad_ci_handler, |
6281 | } |
6282 | , |
6283 | #endif |
6284 | #ifdef HAVE_CHARSET_latin7 |
6285 | { |
6286 | 1065,0,0, |
6287 | MY_CS_COMPILED|MY_CS_NOPAD, |
6288 | "latin7" , /* cset name */ |
6289 | "latin7_general_nopad_ci" , /* coll name */ |
6290 | "" , /* comment */ |
6291 | "[import latin7_general_ci]" , /* tailoring */ |
6292 | ctype_latin7_general_ci, /* ctype */ |
6293 | to_lower_latin7_general_ci, /* to_lower */ |
6294 | to_upper_latin7_general_ci, /* to_upper */ |
6295 | NULL, /* sort_order */ |
6296 | NULL, /* uca */ |
6297 | to_uni_latin7_general_ci, /* to_uni */ |
6298 | NULL, /* from_uni */ |
6299 | &my_unicase_default, /* caseinfo */ |
6300 | NULL, /* state map */ |
6301 | NULL, /* ident map */ |
6302 | 1, /* strxfrm_multiply*/ |
6303 | 1, /* caseup_multiply*/ |
6304 | 1, /* casedn_multiply*/ |
6305 | 1, /* mbminlen */ |
6306 | 1, /* mbmaxlen */ |
6307 | 0, /* min_sort_char */ |
6308 | 255, /* max_sort_char */ |
6309 | ' ', /* pad_char */ |
6310 | 0, /* escape_with_backslash_is_dangerous */ |
6311 | 1, /* levels_for_order */ |
6312 | &my_charset_8bit_handler, |
6313 | &my_collation_8bit_simple_nopad_ci_handler, |
6314 | } |
6315 | , |
6316 | #endif |
6317 | #ifdef HAVE_CHARSET_macce |
6318 | { |
6319 | 1067,0,0, |
6320 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6321 | "macce" , /* cset name */ |
6322 | "macce_nopad_bin" , /* coll name */ |
6323 | "" , /* comment */ |
6324 | NULL, /* tailoring */ |
6325 | ctype_macce_general_ci, /* ctype */ |
6326 | to_lower_macce_general_ci, /* to_lower */ |
6327 | to_upper_macce_general_ci, /* to_upper */ |
6328 | NULL, /* sort_order */ |
6329 | NULL, /* uca */ |
6330 | to_uni_macce_general_ci, /* to_uni */ |
6331 | NULL, /* from_uni */ |
6332 | &my_unicase_default, /* caseinfo */ |
6333 | NULL, /* state map */ |
6334 | NULL, /* ident map */ |
6335 | 1, /* strxfrm_multiply*/ |
6336 | 1, /* caseup_multiply*/ |
6337 | 1, /* casedn_multiply*/ |
6338 | 1, /* mbminlen */ |
6339 | 1, /* mbmaxlen */ |
6340 | 0, /* min_sort_char */ |
6341 | 255, /* max_sort_char */ |
6342 | ' ', /* pad_char */ |
6343 | 0, /* escape_with_backslash_is_dangerous */ |
6344 | 1, /* levels_for_order */ |
6345 | &my_charset_8bit_handler, |
6346 | &my_collation_8bit_nopad_bin_handler, |
6347 | } |
6348 | , |
6349 | #endif |
6350 | #ifdef HAVE_CHARSET_cp1251 |
6351 | { |
6352 | 1074,0,0, |
6353 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6354 | "cp1251" , /* cset name */ |
6355 | "cp1251_nopad_bin" , /* coll name */ |
6356 | "" , /* comment */ |
6357 | NULL, /* tailoring */ |
6358 | ctype_cp1251_general_ci, /* ctype */ |
6359 | to_lower_cp1251_general_ci, /* to_lower */ |
6360 | to_upper_cp1251_general_ci, /* to_upper */ |
6361 | NULL, /* sort_order */ |
6362 | NULL, /* uca */ |
6363 | to_uni_cp1251_general_ci, /* to_uni */ |
6364 | NULL, /* from_uni */ |
6365 | &my_unicase_default, /* caseinfo */ |
6366 | NULL, /* state map */ |
6367 | NULL, /* ident map */ |
6368 | 1, /* strxfrm_multiply*/ |
6369 | 1, /* caseup_multiply*/ |
6370 | 1, /* casedn_multiply*/ |
6371 | 1, /* mbminlen */ |
6372 | 1, /* mbmaxlen */ |
6373 | 0, /* min_sort_char */ |
6374 | 255, /* max_sort_char */ |
6375 | ' ', /* pad_char */ |
6376 | 0, /* escape_with_backslash_is_dangerous */ |
6377 | 1, /* levels_for_order */ |
6378 | &my_charset_8bit_handler, |
6379 | &my_collation_8bit_nopad_bin_handler, |
6380 | } |
6381 | , |
6382 | #endif |
6383 | #ifdef HAVE_CHARSET_cp1251 |
6384 | { |
6385 | 1075,0,0, |
6386 | MY_CS_COMPILED|MY_CS_NOPAD, |
6387 | "cp1251" , /* cset name */ |
6388 | "cp1251_general_nopad_ci" , /* coll name */ |
6389 | "" , /* comment */ |
6390 | "[import cp1251_general_ci]" , /* tailoring */ |
6391 | ctype_cp1251_general_ci, /* ctype */ |
6392 | to_lower_cp1251_general_ci, /* to_lower */ |
6393 | to_upper_cp1251_general_ci, /* to_upper */ |
6394 | NULL, /* sort_order */ |
6395 | NULL, /* uca */ |
6396 | to_uni_cp1251_general_ci, /* to_uni */ |
6397 | NULL, /* from_uni */ |
6398 | &my_unicase_default, /* caseinfo */ |
6399 | NULL, /* state map */ |
6400 | NULL, /* ident map */ |
6401 | 1, /* strxfrm_multiply*/ |
6402 | 1, /* caseup_multiply*/ |
6403 | 1, /* casedn_multiply*/ |
6404 | 1, /* mbminlen */ |
6405 | 1, /* mbmaxlen */ |
6406 | 0, /* min_sort_char */ |
6407 | 255, /* max_sort_char */ |
6408 | ' ', /* pad_char */ |
6409 | 0, /* escape_with_backslash_is_dangerous */ |
6410 | 1, /* levels_for_order */ |
6411 | &my_charset_8bit_handler, |
6412 | &my_collation_8bit_simple_nopad_ci_handler, |
6413 | } |
6414 | , |
6415 | #endif |
6416 | #ifdef HAVE_CHARSET_macroman |
6417 | { |
6418 | 1077,0,0, |
6419 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6420 | "macroman" , /* cset name */ |
6421 | "macroman_nopad_bin" , /* coll name */ |
6422 | "" , /* comment */ |
6423 | NULL, /* tailoring */ |
6424 | ctype_macroman_general_ci, /* ctype */ |
6425 | to_lower_macroman_general_ci, /* to_lower */ |
6426 | to_upper_macroman_general_ci, /* to_upper */ |
6427 | NULL, /* sort_order */ |
6428 | NULL, /* uca */ |
6429 | to_uni_macroman_general_ci, /* to_uni */ |
6430 | NULL, /* from_uni */ |
6431 | &my_unicase_default, /* caseinfo */ |
6432 | NULL, /* state map */ |
6433 | NULL, /* ident map */ |
6434 | 1, /* strxfrm_multiply*/ |
6435 | 1, /* caseup_multiply*/ |
6436 | 1, /* casedn_multiply*/ |
6437 | 1, /* mbminlen */ |
6438 | 1, /* mbmaxlen */ |
6439 | 0, /* min_sort_char */ |
6440 | 255, /* max_sort_char */ |
6441 | ' ', /* pad_char */ |
6442 | 0, /* escape_with_backslash_is_dangerous */ |
6443 | 1, /* levels_for_order */ |
6444 | &my_charset_8bit_handler, |
6445 | &my_collation_8bit_nopad_bin_handler, |
6446 | } |
6447 | , |
6448 | #endif |
6449 | #ifdef HAVE_CHARSET_cp1256 |
6450 | { |
6451 | 1081,0,0, |
6452 | MY_CS_COMPILED|MY_CS_NOPAD, |
6453 | "cp1256" , /* cset name */ |
6454 | "cp1256_general_nopad_ci" , /* coll name */ |
6455 | "" , /* comment */ |
6456 | "[import cp1256_general_ci]" , /* tailoring */ |
6457 | ctype_cp1256_general_ci, /* ctype */ |
6458 | to_lower_cp1256_general_ci, /* to_lower */ |
6459 | to_upper_cp1256_general_ci, /* to_upper */ |
6460 | NULL, /* sort_order */ |
6461 | NULL, /* uca */ |
6462 | to_uni_cp1256_general_ci, /* to_uni */ |
6463 | NULL, /* from_uni */ |
6464 | &my_unicase_default, /* caseinfo */ |
6465 | NULL, /* state map */ |
6466 | NULL, /* ident map */ |
6467 | 1, /* strxfrm_multiply*/ |
6468 | 1, /* caseup_multiply*/ |
6469 | 1, /* casedn_multiply*/ |
6470 | 1, /* mbminlen */ |
6471 | 1, /* mbmaxlen */ |
6472 | 0, /* min_sort_char */ |
6473 | 255, /* max_sort_char */ |
6474 | ' ', /* pad_char */ |
6475 | 0, /* escape_with_backslash_is_dangerous */ |
6476 | 1, /* levels_for_order */ |
6477 | &my_charset_8bit_handler, |
6478 | &my_collation_8bit_simple_nopad_ci_handler, |
6479 | } |
6480 | , |
6481 | #endif |
6482 | #ifdef HAVE_CHARSET_cp1257 |
6483 | { |
6484 | 1082,0,0, |
6485 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6486 | "cp1257" , /* cset name */ |
6487 | "cp1257_nopad_bin" , /* coll name */ |
6488 | "" , /* comment */ |
6489 | NULL, /* tailoring */ |
6490 | ctype_cp1257_general_ci, /* ctype */ |
6491 | to_lower_cp1257_general_ci, /* to_lower */ |
6492 | to_upper_cp1257_general_ci, /* to_upper */ |
6493 | NULL, /* sort_order */ |
6494 | NULL, /* uca */ |
6495 | to_uni_cp1257_general_ci, /* to_uni */ |
6496 | NULL, /* from_uni */ |
6497 | &my_unicase_default, /* caseinfo */ |
6498 | NULL, /* state map */ |
6499 | NULL, /* ident map */ |
6500 | 1, /* strxfrm_multiply*/ |
6501 | 1, /* caseup_multiply*/ |
6502 | 1, /* casedn_multiply*/ |
6503 | 1, /* mbminlen */ |
6504 | 1, /* mbmaxlen */ |
6505 | 0, /* min_sort_char */ |
6506 | 255, /* max_sort_char */ |
6507 | ' ', /* pad_char */ |
6508 | 0, /* escape_with_backslash_is_dangerous */ |
6509 | 1, /* levels_for_order */ |
6510 | &my_charset_8bit_handler, |
6511 | &my_collation_8bit_nopad_bin_handler, |
6512 | } |
6513 | , |
6514 | #endif |
6515 | #ifdef HAVE_CHARSET_cp1257 |
6516 | { |
6517 | 1083,0,0, |
6518 | MY_CS_COMPILED|MY_CS_NOPAD, |
6519 | "cp1257" , /* cset name */ |
6520 | "cp1257_general_nopad_ci" , /* coll name */ |
6521 | "" , /* comment */ |
6522 | "[import cp1257_general_ci]" , /* tailoring */ |
6523 | ctype_cp1257_general_ci, /* ctype */ |
6524 | to_lower_cp1257_general_ci, /* to_lower */ |
6525 | to_upper_cp1257_general_ci, /* to_upper */ |
6526 | NULL, /* sort_order */ |
6527 | NULL, /* uca */ |
6528 | to_uni_cp1257_general_ci, /* to_uni */ |
6529 | NULL, /* from_uni */ |
6530 | &my_unicase_default, /* caseinfo */ |
6531 | NULL, /* state map */ |
6532 | NULL, /* ident map */ |
6533 | 1, /* strxfrm_multiply*/ |
6534 | 1, /* caseup_multiply*/ |
6535 | 1, /* casedn_multiply*/ |
6536 | 1, /* mbminlen */ |
6537 | 1, /* mbmaxlen */ |
6538 | 0, /* min_sort_char */ |
6539 | 255, /* max_sort_char */ |
6540 | ' ', /* pad_char */ |
6541 | 0, /* escape_with_backslash_is_dangerous */ |
6542 | 1, /* levels_for_order */ |
6543 | &my_charset_8bit_handler, |
6544 | &my_collation_8bit_simple_nopad_ci_handler, |
6545 | } |
6546 | , |
6547 | #endif |
6548 | #ifdef HAVE_CHARSET_armscii8 |
6549 | { |
6550 | 1088,0,0, |
6551 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6552 | "armscii8" , /* cset name */ |
6553 | "armscii8_nopad_bin" , /* coll name */ |
6554 | "" , /* comment */ |
6555 | NULL, /* tailoring */ |
6556 | ctype_armscii8_general_ci, /* ctype */ |
6557 | to_lower_armscii8_general_ci, /* to_lower */ |
6558 | to_upper_armscii8_general_ci, /* to_upper */ |
6559 | NULL, /* sort_order */ |
6560 | NULL, /* uca */ |
6561 | to_uni_armscii8_general_ci, /* to_uni */ |
6562 | NULL, /* from_uni */ |
6563 | &my_unicase_default, /* caseinfo */ |
6564 | NULL, /* state map */ |
6565 | NULL, /* ident map */ |
6566 | 1, /* strxfrm_multiply*/ |
6567 | 1, /* caseup_multiply*/ |
6568 | 1, /* casedn_multiply*/ |
6569 | 1, /* mbminlen */ |
6570 | 1, /* mbmaxlen */ |
6571 | 0, /* min_sort_char */ |
6572 | 255, /* max_sort_char */ |
6573 | ' ', /* pad_char */ |
6574 | 0, /* escape_with_backslash_is_dangerous */ |
6575 | 1, /* levels_for_order */ |
6576 | &my_charset_8bit_handler, |
6577 | &my_collation_8bit_nopad_bin_handler, |
6578 | } |
6579 | , |
6580 | #endif |
6581 | #ifdef HAVE_CHARSET_ascii |
6582 | { |
6583 | 1089,0,0, |
6584 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_PUREASCII|MY_CS_NOPAD, |
6585 | "ascii" , /* cset name */ |
6586 | "ascii_nopad_bin" , /* coll name */ |
6587 | "" , /* comment */ |
6588 | NULL, /* tailoring */ |
6589 | ctype_ascii_general_ci, /* ctype */ |
6590 | to_lower_ascii_general_ci, /* to_lower */ |
6591 | to_upper_ascii_general_ci, /* to_upper */ |
6592 | NULL, /* sort_order */ |
6593 | NULL, /* uca */ |
6594 | to_uni_ascii_general_ci, /* to_uni */ |
6595 | NULL, /* from_uni */ |
6596 | &my_unicase_default, /* caseinfo */ |
6597 | NULL, /* state map */ |
6598 | NULL, /* ident map */ |
6599 | 1, /* strxfrm_multiply*/ |
6600 | 1, /* caseup_multiply*/ |
6601 | 1, /* casedn_multiply*/ |
6602 | 1, /* mbminlen */ |
6603 | 1, /* mbmaxlen */ |
6604 | 0, /* min_sort_char */ |
6605 | 255, /* max_sort_char */ |
6606 | ' ', /* pad_char */ |
6607 | 0, /* escape_with_backslash_is_dangerous */ |
6608 | 1, /* levels_for_order */ |
6609 | &my_charset_8bit_handler, |
6610 | &my_collation_8bit_nopad_bin_handler, |
6611 | } |
6612 | , |
6613 | #endif |
6614 | #ifdef HAVE_CHARSET_cp1250 |
6615 | { |
6616 | 1090,0,0, |
6617 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6618 | "cp1250" , /* cset name */ |
6619 | "cp1250_nopad_bin" , /* coll name */ |
6620 | "" , /* comment */ |
6621 | NULL, /* tailoring */ |
6622 | ctype_cp1250_general_ci, /* ctype */ |
6623 | to_lower_cp1250_general_ci, /* to_lower */ |
6624 | to_upper_cp1250_general_ci, /* to_upper */ |
6625 | NULL, /* sort_order */ |
6626 | NULL, /* uca */ |
6627 | to_uni_cp1250_general_ci, /* to_uni */ |
6628 | NULL, /* from_uni */ |
6629 | &my_unicase_default, /* caseinfo */ |
6630 | NULL, /* state map */ |
6631 | NULL, /* ident map */ |
6632 | 1, /* strxfrm_multiply*/ |
6633 | 1, /* caseup_multiply*/ |
6634 | 1, /* casedn_multiply*/ |
6635 | 1, /* mbminlen */ |
6636 | 1, /* mbmaxlen */ |
6637 | 0, /* min_sort_char */ |
6638 | 255, /* max_sort_char */ |
6639 | ' ', /* pad_char */ |
6640 | 0, /* escape_with_backslash_is_dangerous */ |
6641 | 1, /* levels_for_order */ |
6642 | &my_charset_8bit_handler, |
6643 | &my_collation_8bit_nopad_bin_handler, |
6644 | } |
6645 | , |
6646 | #endif |
6647 | #ifdef HAVE_CHARSET_cp1256 |
6648 | { |
6649 | 1091,0,0, |
6650 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6651 | "cp1256" , /* cset name */ |
6652 | "cp1256_nopad_bin" , /* coll name */ |
6653 | "" , /* comment */ |
6654 | NULL, /* tailoring */ |
6655 | ctype_cp1256_general_ci, /* ctype */ |
6656 | to_lower_cp1256_general_ci, /* to_lower */ |
6657 | to_upper_cp1256_general_ci, /* to_upper */ |
6658 | NULL, /* sort_order */ |
6659 | NULL, /* uca */ |
6660 | to_uni_cp1256_general_ci, /* to_uni */ |
6661 | NULL, /* from_uni */ |
6662 | &my_unicase_default, /* caseinfo */ |
6663 | NULL, /* state map */ |
6664 | NULL, /* ident map */ |
6665 | 1, /* strxfrm_multiply*/ |
6666 | 1, /* caseup_multiply*/ |
6667 | 1, /* casedn_multiply*/ |
6668 | 1, /* mbminlen */ |
6669 | 1, /* mbmaxlen */ |
6670 | 0, /* min_sort_char */ |
6671 | 255, /* max_sort_char */ |
6672 | ' ', /* pad_char */ |
6673 | 0, /* escape_with_backslash_is_dangerous */ |
6674 | 1, /* levels_for_order */ |
6675 | &my_charset_8bit_handler, |
6676 | &my_collation_8bit_nopad_bin_handler, |
6677 | } |
6678 | , |
6679 | #endif |
6680 | #ifdef HAVE_CHARSET_cp866 |
6681 | { |
6682 | 1092,0,0, |
6683 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6684 | "cp866" , /* cset name */ |
6685 | "cp866_nopad_bin" , /* coll name */ |
6686 | "" , /* comment */ |
6687 | NULL, /* tailoring */ |
6688 | ctype_cp866_general_ci, /* ctype */ |
6689 | to_lower_cp866_general_ci, /* to_lower */ |
6690 | to_upper_cp866_general_ci, /* to_upper */ |
6691 | NULL, /* sort_order */ |
6692 | NULL, /* uca */ |
6693 | to_uni_cp866_general_ci, /* to_uni */ |
6694 | NULL, /* from_uni */ |
6695 | &my_unicase_default, /* caseinfo */ |
6696 | NULL, /* state map */ |
6697 | NULL, /* ident map */ |
6698 | 1, /* strxfrm_multiply*/ |
6699 | 1, /* caseup_multiply*/ |
6700 | 1, /* casedn_multiply*/ |
6701 | 1, /* mbminlen */ |
6702 | 1, /* mbmaxlen */ |
6703 | 0, /* min_sort_char */ |
6704 | 255, /* max_sort_char */ |
6705 | ' ', /* pad_char */ |
6706 | 0, /* escape_with_backslash_is_dangerous */ |
6707 | 1, /* levels_for_order */ |
6708 | &my_charset_8bit_handler, |
6709 | &my_collation_8bit_nopad_bin_handler, |
6710 | } |
6711 | , |
6712 | #endif |
6713 | #ifdef HAVE_CHARSET_dec8 |
6714 | { |
6715 | 1093,0,0, |
6716 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6717 | "dec8" , /* cset name */ |
6718 | "dec8_nopad_bin" , /* coll name */ |
6719 | "" , /* comment */ |
6720 | NULL, /* tailoring */ |
6721 | ctype_dec8_swedish_ci, /* ctype */ |
6722 | to_lower_dec8_swedish_ci, /* to_lower */ |
6723 | to_upper_dec8_swedish_ci, /* to_upper */ |
6724 | NULL, /* sort_order */ |
6725 | NULL, /* uca */ |
6726 | to_uni_dec8_swedish_ci, /* to_uni */ |
6727 | NULL, /* from_uni */ |
6728 | &my_unicase_default, /* caseinfo */ |
6729 | NULL, /* state map */ |
6730 | NULL, /* ident map */ |
6731 | 1, /* strxfrm_multiply*/ |
6732 | 1, /* caseup_multiply*/ |
6733 | 1, /* casedn_multiply*/ |
6734 | 1, /* mbminlen */ |
6735 | 1, /* mbmaxlen */ |
6736 | 0, /* min_sort_char */ |
6737 | 255, /* max_sort_char */ |
6738 | ' ', /* pad_char */ |
6739 | 0, /* escape_with_backslash_is_dangerous */ |
6740 | 1, /* levels_for_order */ |
6741 | &my_charset_8bit_handler, |
6742 | &my_collation_8bit_nopad_bin_handler, |
6743 | } |
6744 | , |
6745 | #endif |
6746 | #ifdef HAVE_CHARSET_greek |
6747 | { |
6748 | 1094,0,0, |
6749 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6750 | "greek" , /* cset name */ |
6751 | "greek_nopad_bin" , /* coll name */ |
6752 | "" , /* comment */ |
6753 | NULL, /* tailoring */ |
6754 | ctype_greek_general_ci, /* ctype */ |
6755 | to_lower_greek_general_ci, /* to_lower */ |
6756 | to_upper_greek_general_ci, /* to_upper */ |
6757 | NULL, /* sort_order */ |
6758 | NULL, /* uca */ |
6759 | to_uni_greek_general_ci, /* to_uni */ |
6760 | NULL, /* from_uni */ |
6761 | &my_unicase_default, /* caseinfo */ |
6762 | NULL, /* state map */ |
6763 | NULL, /* ident map */ |
6764 | 1, /* strxfrm_multiply*/ |
6765 | 1, /* caseup_multiply*/ |
6766 | 1, /* casedn_multiply*/ |
6767 | 1, /* mbminlen */ |
6768 | 1, /* mbmaxlen */ |
6769 | 0, /* min_sort_char */ |
6770 | 255, /* max_sort_char */ |
6771 | ' ', /* pad_char */ |
6772 | 0, /* escape_with_backslash_is_dangerous */ |
6773 | 1, /* levels_for_order */ |
6774 | &my_charset_8bit_handler, |
6775 | &my_collation_8bit_nopad_bin_handler, |
6776 | } |
6777 | , |
6778 | #endif |
6779 | #ifdef HAVE_CHARSET_hebrew |
6780 | { |
6781 | 1095,0,0, |
6782 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6783 | "hebrew" , /* cset name */ |
6784 | "hebrew_nopad_bin" , /* coll name */ |
6785 | "" , /* comment */ |
6786 | NULL, /* tailoring */ |
6787 | ctype_hebrew_general_ci, /* ctype */ |
6788 | to_lower_hebrew_general_ci, /* to_lower */ |
6789 | to_upper_hebrew_general_ci, /* to_upper */ |
6790 | NULL, /* sort_order */ |
6791 | NULL, /* uca */ |
6792 | to_uni_hebrew_general_ci, /* to_uni */ |
6793 | NULL, /* from_uni */ |
6794 | &my_unicase_default, /* caseinfo */ |
6795 | NULL, /* state map */ |
6796 | NULL, /* ident map */ |
6797 | 1, /* strxfrm_multiply*/ |
6798 | 1, /* caseup_multiply*/ |
6799 | 1, /* casedn_multiply*/ |
6800 | 1, /* mbminlen */ |
6801 | 1, /* mbmaxlen */ |
6802 | 0, /* min_sort_char */ |
6803 | 255, /* max_sort_char */ |
6804 | ' ', /* pad_char */ |
6805 | 0, /* escape_with_backslash_is_dangerous */ |
6806 | 1, /* levels_for_order */ |
6807 | &my_charset_8bit_handler, |
6808 | &my_collation_8bit_nopad_bin_handler, |
6809 | } |
6810 | , |
6811 | #endif |
6812 | #ifdef HAVE_CHARSET_hp8 |
6813 | { |
6814 | 1096,0,0, |
6815 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6816 | "hp8" , /* cset name */ |
6817 | "hp8_nopad_bin" , /* coll name */ |
6818 | "" , /* comment */ |
6819 | NULL, /* tailoring */ |
6820 | ctype_hp8_english_ci, /* ctype */ |
6821 | to_lower_hp8_english_ci, /* to_lower */ |
6822 | to_upper_hp8_english_ci, /* to_upper */ |
6823 | NULL, /* sort_order */ |
6824 | NULL, /* uca */ |
6825 | to_uni_hp8_english_ci, /* to_uni */ |
6826 | NULL, /* from_uni */ |
6827 | &my_unicase_default, /* caseinfo */ |
6828 | NULL, /* state map */ |
6829 | NULL, /* ident map */ |
6830 | 1, /* strxfrm_multiply*/ |
6831 | 1, /* caseup_multiply*/ |
6832 | 1, /* casedn_multiply*/ |
6833 | 1, /* mbminlen */ |
6834 | 1, /* mbmaxlen */ |
6835 | 0, /* min_sort_char */ |
6836 | 255, /* max_sort_char */ |
6837 | ' ', /* pad_char */ |
6838 | 0, /* escape_with_backslash_is_dangerous */ |
6839 | 1, /* levels_for_order */ |
6840 | &my_charset_8bit_handler, |
6841 | &my_collation_8bit_nopad_bin_handler, |
6842 | } |
6843 | , |
6844 | #endif |
6845 | #ifdef HAVE_CHARSET_keybcs2 |
6846 | { |
6847 | 1097,0,0, |
6848 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6849 | "keybcs2" , /* cset name */ |
6850 | "keybcs2_nopad_bin" , /* coll name */ |
6851 | "" , /* comment */ |
6852 | NULL, /* tailoring */ |
6853 | ctype_keybcs2_general_ci, /* ctype */ |
6854 | to_lower_keybcs2_general_ci, /* to_lower */ |
6855 | to_upper_keybcs2_general_ci, /* to_upper */ |
6856 | NULL, /* sort_order */ |
6857 | NULL, /* uca */ |
6858 | to_uni_keybcs2_general_ci, /* to_uni */ |
6859 | NULL, /* from_uni */ |
6860 | &my_unicase_default, /* caseinfo */ |
6861 | NULL, /* state map */ |
6862 | NULL, /* ident map */ |
6863 | 1, /* strxfrm_multiply*/ |
6864 | 1, /* caseup_multiply*/ |
6865 | 1, /* casedn_multiply*/ |
6866 | 1, /* mbminlen */ |
6867 | 1, /* mbmaxlen */ |
6868 | 0, /* min_sort_char */ |
6869 | 255, /* max_sort_char */ |
6870 | ' ', /* pad_char */ |
6871 | 0, /* escape_with_backslash_is_dangerous */ |
6872 | 1, /* levels_for_order */ |
6873 | &my_charset_8bit_handler, |
6874 | &my_collation_8bit_nopad_bin_handler, |
6875 | } |
6876 | , |
6877 | #endif |
6878 | #ifdef HAVE_CHARSET_koi8r |
6879 | { |
6880 | 1098,0,0, |
6881 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6882 | "koi8r" , /* cset name */ |
6883 | "koi8r_nopad_bin" , /* coll name */ |
6884 | "" , /* comment */ |
6885 | NULL, /* tailoring */ |
6886 | ctype_koi8r_general_ci, /* ctype */ |
6887 | to_lower_koi8r_general_ci, /* to_lower */ |
6888 | to_upper_koi8r_general_ci, /* to_upper */ |
6889 | NULL, /* sort_order */ |
6890 | NULL, /* uca */ |
6891 | to_uni_koi8r_general_ci, /* to_uni */ |
6892 | NULL, /* from_uni */ |
6893 | &my_unicase_default, /* caseinfo */ |
6894 | NULL, /* state map */ |
6895 | NULL, /* ident map */ |
6896 | 1, /* strxfrm_multiply*/ |
6897 | 1, /* caseup_multiply*/ |
6898 | 1, /* casedn_multiply*/ |
6899 | 1, /* mbminlen */ |
6900 | 1, /* mbmaxlen */ |
6901 | 0, /* min_sort_char */ |
6902 | 255, /* max_sort_char */ |
6903 | ' ', /* pad_char */ |
6904 | 0, /* escape_with_backslash_is_dangerous */ |
6905 | 1, /* levels_for_order */ |
6906 | &my_charset_8bit_handler, |
6907 | &my_collation_8bit_nopad_bin_handler, |
6908 | } |
6909 | , |
6910 | #endif |
6911 | #ifdef HAVE_CHARSET_koi8u |
6912 | { |
6913 | 1099,0,0, |
6914 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6915 | "koi8u" , /* cset name */ |
6916 | "koi8u_nopad_bin" , /* coll name */ |
6917 | "" , /* comment */ |
6918 | NULL, /* tailoring */ |
6919 | ctype_koi8u_general_ci, /* ctype */ |
6920 | to_lower_koi8u_general_ci, /* to_lower */ |
6921 | to_upper_koi8u_general_ci, /* to_upper */ |
6922 | NULL, /* sort_order */ |
6923 | NULL, /* uca */ |
6924 | to_uni_koi8u_general_ci, /* to_uni */ |
6925 | NULL, /* from_uni */ |
6926 | &my_unicase_default, /* caseinfo */ |
6927 | NULL, /* state map */ |
6928 | NULL, /* ident map */ |
6929 | 1, /* strxfrm_multiply*/ |
6930 | 1, /* caseup_multiply*/ |
6931 | 1, /* casedn_multiply*/ |
6932 | 1, /* mbminlen */ |
6933 | 1, /* mbmaxlen */ |
6934 | 0, /* min_sort_char */ |
6935 | 255, /* max_sort_char */ |
6936 | ' ', /* pad_char */ |
6937 | 0, /* escape_with_backslash_is_dangerous */ |
6938 | 1, /* levels_for_order */ |
6939 | &my_charset_8bit_handler, |
6940 | &my_collation_8bit_nopad_bin_handler, |
6941 | } |
6942 | , |
6943 | #endif |
6944 | #ifdef HAVE_CHARSET_latin2 |
6945 | { |
6946 | 1101,0,0, |
6947 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6948 | "latin2" , /* cset name */ |
6949 | "latin2_nopad_bin" , /* coll name */ |
6950 | "" , /* comment */ |
6951 | NULL, /* tailoring */ |
6952 | ctype_latin2_general_ci, /* ctype */ |
6953 | to_lower_latin2_general_ci, /* to_lower */ |
6954 | to_upper_latin2_general_ci, /* to_upper */ |
6955 | NULL, /* sort_order */ |
6956 | NULL, /* uca */ |
6957 | to_uni_latin2_general_ci, /* to_uni */ |
6958 | NULL, /* from_uni */ |
6959 | &my_unicase_default, /* caseinfo */ |
6960 | NULL, /* state map */ |
6961 | NULL, /* ident map */ |
6962 | 1, /* strxfrm_multiply*/ |
6963 | 1, /* caseup_multiply*/ |
6964 | 1, /* casedn_multiply*/ |
6965 | 1, /* mbminlen */ |
6966 | 1, /* mbmaxlen */ |
6967 | 0, /* min_sort_char */ |
6968 | 255, /* max_sort_char */ |
6969 | ' ', /* pad_char */ |
6970 | 0, /* escape_with_backslash_is_dangerous */ |
6971 | 1, /* levels_for_order */ |
6972 | &my_charset_8bit_handler, |
6973 | &my_collation_8bit_nopad_bin_handler, |
6974 | } |
6975 | , |
6976 | #endif |
6977 | #ifdef HAVE_CHARSET_latin5 |
6978 | { |
6979 | 1102,0,0, |
6980 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
6981 | "latin5" , /* cset name */ |
6982 | "latin5_nopad_bin" , /* coll name */ |
6983 | "" , /* comment */ |
6984 | NULL, /* tailoring */ |
6985 | ctype_latin5_turkish_ci, /* ctype */ |
6986 | to_lower_latin5_turkish_ci, /* to_lower */ |
6987 | to_upper_latin5_turkish_ci, /* to_upper */ |
6988 | NULL, /* sort_order */ |
6989 | NULL, /* uca */ |
6990 | to_uni_latin5_turkish_ci, /* to_uni */ |
6991 | NULL, /* from_uni */ |
6992 | &my_unicase_default, /* caseinfo */ |
6993 | NULL, /* state map */ |
6994 | NULL, /* ident map */ |
6995 | 1, /* strxfrm_multiply*/ |
6996 | 1, /* caseup_multiply*/ |
6997 | 1, /* casedn_multiply*/ |
6998 | 1, /* mbminlen */ |
6999 | 1, /* mbmaxlen */ |
7000 | 0, /* min_sort_char */ |
7001 | 255, /* max_sort_char */ |
7002 | ' ', /* pad_char */ |
7003 | 0, /* escape_with_backslash_is_dangerous */ |
7004 | 1, /* levels_for_order */ |
7005 | &my_charset_8bit_handler, |
7006 | &my_collation_8bit_nopad_bin_handler, |
7007 | } |
7008 | , |
7009 | #endif |
7010 | #ifdef HAVE_CHARSET_latin7 |
7011 | { |
7012 | 1103,0,0, |
7013 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
7014 | "latin7" , /* cset name */ |
7015 | "latin7_nopad_bin" , /* coll name */ |
7016 | "" , /* comment */ |
7017 | NULL, /* tailoring */ |
7018 | ctype_latin7_general_ci, /* ctype */ |
7019 | to_lower_latin7_general_ci, /* to_lower */ |
7020 | to_upper_latin7_general_ci, /* to_upper */ |
7021 | NULL, /* sort_order */ |
7022 | NULL, /* uca */ |
7023 | to_uni_latin7_general_ci, /* to_uni */ |
7024 | NULL, /* from_uni */ |
7025 | &my_unicase_default, /* caseinfo */ |
7026 | NULL, /* state map */ |
7027 | NULL, /* ident map */ |
7028 | 1, /* strxfrm_multiply*/ |
7029 | 1, /* caseup_multiply*/ |
7030 | 1, /* casedn_multiply*/ |
7031 | 1, /* mbminlen */ |
7032 | 1, /* mbmaxlen */ |
7033 | 0, /* min_sort_char */ |
7034 | 255, /* max_sort_char */ |
7035 | ' ', /* pad_char */ |
7036 | 0, /* escape_with_backslash_is_dangerous */ |
7037 | 1, /* levels_for_order */ |
7038 | &my_charset_8bit_handler, |
7039 | &my_collation_8bit_nopad_bin_handler, |
7040 | } |
7041 | , |
7042 | #endif |
7043 | #ifdef HAVE_CHARSET_cp850 |
7044 | { |
7045 | 1104,0,0, |
7046 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
7047 | "cp850" , /* cset name */ |
7048 | "cp850_nopad_bin" , /* coll name */ |
7049 | "" , /* comment */ |
7050 | NULL, /* tailoring */ |
7051 | ctype_cp850_general_ci, /* ctype */ |
7052 | to_lower_cp850_general_ci, /* to_lower */ |
7053 | to_upper_cp850_general_ci, /* to_upper */ |
7054 | NULL, /* sort_order */ |
7055 | NULL, /* uca */ |
7056 | to_uni_cp850_general_ci, /* to_uni */ |
7057 | NULL, /* from_uni */ |
7058 | &my_unicase_default, /* caseinfo */ |
7059 | NULL, /* state map */ |
7060 | NULL, /* ident map */ |
7061 | 1, /* strxfrm_multiply*/ |
7062 | 1, /* caseup_multiply*/ |
7063 | 1, /* casedn_multiply*/ |
7064 | 1, /* mbminlen */ |
7065 | 1, /* mbmaxlen */ |
7066 | 0, /* min_sort_char */ |
7067 | 255, /* max_sort_char */ |
7068 | ' ', /* pad_char */ |
7069 | 0, /* escape_with_backslash_is_dangerous */ |
7070 | 1, /* levels_for_order */ |
7071 | &my_charset_8bit_handler, |
7072 | &my_collation_8bit_nopad_bin_handler, |
7073 | } |
7074 | , |
7075 | #endif |
7076 | #ifdef HAVE_CHARSET_cp852 |
7077 | { |
7078 | 1105,0,0, |
7079 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
7080 | "cp852" , /* cset name */ |
7081 | "cp852_nopad_bin" , /* coll name */ |
7082 | "" , /* comment */ |
7083 | NULL, /* tailoring */ |
7084 | ctype_cp852_general_ci, /* ctype */ |
7085 | to_lower_cp852_general_ci, /* to_lower */ |
7086 | to_upper_cp852_general_ci, /* to_upper */ |
7087 | NULL, /* sort_order */ |
7088 | NULL, /* uca */ |
7089 | to_uni_cp852_general_ci, /* to_uni */ |
7090 | NULL, /* from_uni */ |
7091 | &my_unicase_default, /* caseinfo */ |
7092 | NULL, /* state map */ |
7093 | NULL, /* ident map */ |
7094 | 1, /* strxfrm_multiply*/ |
7095 | 1, /* caseup_multiply*/ |
7096 | 1, /* casedn_multiply*/ |
7097 | 1, /* mbminlen */ |
7098 | 1, /* mbmaxlen */ |
7099 | 0, /* min_sort_char */ |
7100 | 255, /* max_sort_char */ |
7101 | ' ', /* pad_char */ |
7102 | 0, /* escape_with_backslash_is_dangerous */ |
7103 | 1, /* levels_for_order */ |
7104 | &my_charset_8bit_handler, |
7105 | &my_collation_8bit_nopad_bin_handler, |
7106 | } |
7107 | , |
7108 | #endif |
7109 | #ifdef HAVE_CHARSET_swe7 |
7110 | { |
7111 | 1106,0,0, |
7112 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NONASCII|MY_CS_NOPAD, |
7113 | "swe7" , /* cset name */ |
7114 | "swe7_nopad_bin" , /* coll name */ |
7115 | "" , /* comment */ |
7116 | NULL, /* tailoring */ |
7117 | ctype_swe7_swedish_ci, /* ctype */ |
7118 | to_lower_swe7_swedish_ci, /* to_lower */ |
7119 | to_upper_swe7_swedish_ci, /* to_upper */ |
7120 | NULL, /* sort_order */ |
7121 | NULL, /* uca */ |
7122 | to_uni_swe7_swedish_ci, /* to_uni */ |
7123 | NULL, /* from_uni */ |
7124 | &my_unicase_default, /* caseinfo */ |
7125 | NULL, /* state map */ |
7126 | NULL, /* ident map */ |
7127 | 1, /* strxfrm_multiply*/ |
7128 | 1, /* caseup_multiply*/ |
7129 | 1, /* casedn_multiply*/ |
7130 | 1, /* mbminlen */ |
7131 | 1, /* mbmaxlen */ |
7132 | 0, /* min_sort_char */ |
7133 | 255, /* max_sort_char */ |
7134 | ' ', /* pad_char */ |
7135 | 0, /* escape_with_backslash_is_dangerous */ |
7136 | 1, /* levels_for_order */ |
7137 | &my_charset_8bit_handler, |
7138 | &my_collation_8bit_nopad_bin_handler, |
7139 | } |
7140 | , |
7141 | #endif |
7142 | #ifdef HAVE_CHARSET_geostd8 |
7143 | { |
7144 | 1116,0,0, |
7145 | MY_CS_COMPILED|MY_CS_NOPAD, |
7146 | "geostd8" , /* cset name */ |
7147 | "geostd8_general_nopad_ci" , /* coll name */ |
7148 | "" , /* comment */ |
7149 | "[import geostd8_general_ci]" , /* tailoring */ |
7150 | ctype_geostd8_general_ci, /* ctype */ |
7151 | to_lower_geostd8_general_ci, /* to_lower */ |
7152 | to_upper_geostd8_general_ci, /* to_upper */ |
7153 | NULL, /* sort_order */ |
7154 | NULL, /* uca */ |
7155 | to_uni_geostd8_general_ci, /* to_uni */ |
7156 | NULL, /* from_uni */ |
7157 | &my_unicase_default, /* caseinfo */ |
7158 | NULL, /* state map */ |
7159 | NULL, /* ident map */ |
7160 | 1, /* strxfrm_multiply*/ |
7161 | 1, /* caseup_multiply*/ |
7162 | 1, /* casedn_multiply*/ |
7163 | 1, /* mbminlen */ |
7164 | 1, /* mbmaxlen */ |
7165 | 0, /* min_sort_char */ |
7166 | 255, /* max_sort_char */ |
7167 | ' ', /* pad_char */ |
7168 | 0, /* escape_with_backslash_is_dangerous */ |
7169 | 1, /* levels_for_order */ |
7170 | &my_charset_8bit_handler, |
7171 | &my_collation_8bit_simple_nopad_ci_handler, |
7172 | } |
7173 | , |
7174 | #endif |
7175 | #ifdef HAVE_CHARSET_geostd8 |
7176 | { |
7177 | 1117,0,0, |
7178 | MY_CS_COMPILED|MY_CS_BINSORT|MY_CS_NOPAD, |
7179 | "geostd8" , /* cset name */ |
7180 | "geostd8_nopad_bin" , /* coll name */ |
7181 | "" , /* comment */ |
7182 | NULL, /* tailoring */ |
7183 | ctype_geostd8_general_ci, /* ctype */ |
7184 | to_lower_geostd8_general_ci, /* to_lower */ |
7185 | to_upper_geostd8_general_ci, /* to_upper */ |
7186 | NULL, /* sort_order */ |
7187 | NULL, /* uca */ |
7188 | to_uni_geostd8_general_ci, /* to_uni */ |
7189 | NULL, /* from_uni */ |
7190 | &my_unicase_default, /* caseinfo */ |
7191 | NULL, /* state map */ |
7192 | NULL, /* ident map */ |
7193 | 1, /* strxfrm_multiply*/ |
7194 | 1, /* caseup_multiply*/ |
7195 | 1, /* casedn_multiply*/ |
7196 | 1, /* mbminlen */ |
7197 | 1, /* mbmaxlen */ |
7198 | 0, /* min_sort_char */ |
7199 | 255, /* max_sort_char */ |
7200 | ' ', /* pad_char */ |
7201 | 0, /* escape_with_backslash_is_dangerous */ |
7202 | 1, /* levels_for_order */ |
7203 | &my_charset_8bit_handler, |
7204 | &my_collation_8bit_nopad_bin_handler, |
7205 | } |
7206 | , |
7207 | #endif |
7208 | { |
7209 | 0,0,0, |
7210 | MY_CS_COMPILED, |
7211 | NULL, /* cset name */ |
7212 | NULL, /* coll name */ |
7213 | NULL, /* comment */ |
7214 | NULL, /* tailoging */ |
7215 | NULL, /* ctype */ |
7216 | NULL, /* lower */ |
7217 | NULL, /* upper */ |
7218 | NULL, /* sort order */ |
7219 | NULL, /* uca */ |
7220 | NULL, /* to_uni */ |
7221 | NULL, /* from_uni */ |
7222 | &my_unicase_default, /* caseinfo */ |
7223 | NULL, /* state map */ |
7224 | NULL, /* ident map */ |
7225 | 1, /* strxfrm_multiply*/ |
7226 | 1, /* caseup_multiply*/ |
7227 | 1, /* casedn_multiply*/ |
7228 | 1, /* mbminlen */ |
7229 | 1, /* mbmaxlen */ |
7230 | 0, /* min_sort_char */ |
7231 | 255, /* max_sort_char */ |
7232 | ' ', /* pad_char */ |
7233 | 0, /* escape_with_backslash_is_dangerous */ |
7234 | 1, /* levels_for_order */ |
7235 | &my_charset_8bit_handler, |
7236 | &my_collation_8bit_simple_ci_handler, |
7237 | } |
7238 | }; |
7239 | |