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
30static const uchar ctype_dec8_swedish_ci[] = {
310x00,
320x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
330x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
340x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
350x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
360x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
370x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
380x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
390x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
400x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
410x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
420x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
430x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
440x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
450x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
460x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
470x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
48};
49
50static const uchar to_lower_dec8_swedish_ci[] = {
510x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
520x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
530x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
540x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
550x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
560x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
570x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
580x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
590x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
600x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
610xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
620xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
630xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
640xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
650xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
660xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
67};
68
69static const uchar to_upper_dec8_swedish_ci[] = {
700x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
710x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
720x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
730x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
740x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
750x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
760x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
770x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
780x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
790x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
800xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
810xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
820xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
830xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
840xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
850xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
86};
87
88static const uchar sort_order_dec8_swedish_ci[] = {
890x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
900x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
910x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
920x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
930x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
940x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
950x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
960x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
970x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
980x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
990xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
1000xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
1010x41,0x41,0x41,0x41,0x5C,0x5B,0x5C,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
1020x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5D,0xD7,0xD8,0x55,0x55,0x55,0x59,0x59,0xDE,0xDF,
1030x41,0x41,0x41,0x41,0x5C,0x5B,0x5C,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
1040x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5D,0xF7,0xD8,0x55,0x55,0x55,0x59,0x59,0xDE,0xFF
105};
106
107static const uint16 to_uni_dec8_swedish_ci[] = {
1080x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
1090x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
1100x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
1110x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
1120x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
1130x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
1140x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
1150x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
1160x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
1170x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
1180x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
1190x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
1200x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
1210x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
1220x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
1230x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
1240x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
1250x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
1260x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
1270x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
1280x00A0,0x00A1,0x00A2,0x00A3,0x0000,0x00A5,0x0000,0x00A7,
1290x00A4,0x00A9,0x00AA,0x00AB,0x0000,0x0000,0x0000,0x0000,
1300x00B0,0x00B1,0x00B2,0x00B3,0x0000,0x00B5,0x00B6,0x00B7,
1310x0000,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x0000,0x00BF,
1320x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
1330x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
1340x0000,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x0152,
1350x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x0178,0x0000,0x00DF,
1360x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
1370x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
1380x0000,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x0153,
1390x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FF,0x0000,0x0000
140};
141
142#endif
143
144#ifdef HAVE_CHARSET_cp850
145static const uchar ctype_cp850_general_ci[] = {
1460x00,
1470x20,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x30,0x30,
1480x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x30,0x20,0x30,0x30,0x30,0x30,0x30,
1490x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
1500x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
1510x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
1520x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
1530x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
1540x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x30,
1550x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x01,
1560x01,0x02,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x01,0x02,0x10,0x01,0x10,0x10,
1570x02,0x02,0x02,0x02,0x02,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
1580x10,0x10,0x10,0x10,0x10,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
1590x10,0x10,0x10,0x10,0x10,0x10,0x02,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
1600x02,0x01,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x01,0x10,
1610x01,0x02,0x01,0x01,0x02,0x01,0x10,0x02,0x01,0x01,0x01,0x01,0x02,0x01,0x10,0x10,
1620x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20
163};
164
165static const uchar to_lower_cp850_general_ci[] = {
1660x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
1670x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
1680x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
1690x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
1700x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
1710x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
1720x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
1730x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
1740x87,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x84,0x86,
1750x82,0x91,0x91,0x93,0x94,0x95,0x96,0x97,0x98,0x94,0x81,0x9B,0x9C,0x9D,0x9E,0x9F,
1760xA0,0xA1,0xA2,0xA3,0xA4,0xA4,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
1770xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
1780xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
1790xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
1800xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
1810xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
182};
183
184static const uchar to_upper_cp850_general_ci[] = {
1850x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
1860x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
1870x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
1880x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
1890x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
1900x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
1910x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
1920x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
1930x80,0x9A,0x90,0x41,0x8E,0x41,0x8F,0x80,0x45,0x45,0x45,0x49,0x49,0x49,0x8E,0x8F,
1940x90,0x92,0x92,0x4F,0x99,0x4F,0x55,0x55,0x59,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
1950x41,0x49,0x4F,0x55,0xA5,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
1960xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
1970xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
1980xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
1990xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
2000xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
201};
202
203static const uchar sort_order_cp850_general_ci[] = {
2040x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
2050x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
2060x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
2070x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
2080x40,0x41,0x51,0x53,0x55,0x59,0x63,0x65,0x67,0x69,0x74,0x76,0x78,0x7A,0x7C,0x80,
2090x8E,0x90,0x92,0x94,0x97,0x99,0xA3,0xA5,0xA7,0xA9,0xAE,0xB1,0xB2,0xB3,0xB4,0xB5,
2100xB6,0x41,0x51,0x53,0x55,0x59,0x63,0x65,0x67,0x69,0x74,0x76,0x78,0x7A,0x7C,0x80,
2110x8E,0x90,0x92,0x94,0x97,0x99,0xA3,0xA5,0xA7,0xA9,0xAE,0xB7,0xB8,0xB9,0xBA,0xBB,
2120x54,0xA1,0x5D,0x47,0x4B,0x43,0x4D,0x54,0x5F,0x61,0x5B,0x71,0x6F,0x6B,0x4B,0x4D,
2130x5D,0x4F,0x4F,0x86,0x8A,0x82,0x9F,0x9B,0xAD,0x8A,0xA1,0x8C,0xE3,0x8C,0xBD,0xBE,
2140x45,0x6D,0x84,0x9D,0x7E,0x7E,0xEA,0xFA,0xFF,0xEE,0xEC,0xFD,0xFC,0xCE,0xEB,0xFB,
2150xDC,0xDD,0xDE,0xC3,0xC9,0x45,0x47,0x43,0xE9,0xD5,0xCF,0xD1,0xD3,0xE2,0xE5,0xC5,
2160xC6,0xCB,0xCA,0xC8,0xC2,0xCC,0x49,0x49,0xD2,0xD0,0xD7,0xD6,0xD4,0xCD,0xD8,0xE4,
2170x57,0x57,0x5F,0x61,0x5B,0x73,0x6D,0x6F,0x71,0xC7,0xC4,0xDB,0xDA,0xE6,0x6B,0xD9,
2180x84,0x96,0x86,0x82,0x88,0x88,0xF5,0xB0,0xB0,0x9D,0x9F,0x9B,0xAB,0xAB,0xEF,0xF4,
2190xED,0xF1,0xC1,0xFE,0xF6,0xE7,0xBF,0xBC,0xF0,0xE8,0xF7,0xF9,0xF3,0xF2,0xDF,0xE0
220};
221
222static const uint16 to_uni_cp850_general_ci[] = {
2230x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
2240x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
2250x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
2260x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
2270x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
2280x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
2290x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
2300x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
2310x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
2320x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
2330x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
2340x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
2350x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
2360x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
2370x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
2380x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
2390x00C7,0x00FC,0x00E9,0x00E2,0x00E4,0x00E0,0x00E5,0x00E7,
2400x00EA,0x00EB,0x00E8,0x00EF,0x00EE,0x00EC,0x00C4,0x00C5,
2410x00C9,0x00E6,0x00C6,0x00F4,0x00F6,0x00F2,0x00FB,0x00F9,
2420x00FF,0x00D6,0x00DC,0x00F8,0x00A3,0x00D8,0x00D7,0x0192,
2430x00E1,0x00ED,0x00F3,0x00FA,0x00F1,0x00D1,0x00AA,0x00BA,
2440x00BF,0x00AE,0x00AC,0x00BD,0x00BC,0x00A1,0x00AB,0x00BB,
2450x2591,0x2592,0x2593,0x2502,0x2524,0x00C1,0x00C2,0x00C0,
2460x00A9,0x2563,0x2551,0x2557,0x255D,0x00A2,0x00A5,0x2510,
2470x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x00E3,0x00C3,
2480x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x00A4,
2490x00F0,0x00D0,0x00CA,0x00CB,0x00C8,0x0131,0x00CD,0x00CE,
2500x00CF,0x2518,0x250C,0x2588,0x2584,0x00A6,0x00CC,0x2580,
2510x00D3,0x00DF,0x00D4,0x00D2,0x00F5,0x00D5,0x00B5,0x00FE,
2520x00DE,0x00DA,0x00DB,0x00D9,0x00FD,0x00DD,0x00AF,0x00B4,
2530x00AD,0x00B1,0x2017,0x00BE,0x00B6,0x00A7,0x00F7,0x00B8,
2540x00B0,0x00A8,0x00B7,0x00B9,0x00B3,0x00B2,0x25A0,0x00A0
255};
256
257#endif
258
259#ifdef HAVE_CHARSET_latin1
260static const uchar ctype_latin1_german1_ci[] = {
2610x00,
2620x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
2630x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
2640x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
2650x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
2660x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
2670x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
2680x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
2690x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
2700x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
2710x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
2720x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
2730x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
2740x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
2750x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
2760x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
2770x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
278};
279
280static const uchar to_lower_latin1_german1_ci[] = {
2810x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
2820x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
2830x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
2840x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
2850x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
2860x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
2870x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
2880x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
2890x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
2900x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
2910xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
2920xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
2930xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
2940xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
2950xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
2960xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
297};
298
299static const uchar to_upper_latin1_german1_ci[] = {
3000x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
3010x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
3020x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
3030x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
3040x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
3050x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
3060x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
3070x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
3080x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
3090x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
3100xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
3110xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
3120xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
3130xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
3140xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
3150xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
316};
317
318static const uchar sort_order_latin1_german1_ci[] = {
3190x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
3200x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
3210x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
3220x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
3230x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
3240x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
3250x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
3260x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
3270x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
3280x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
3290xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
3300xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
3310x41,0x41,0x41,0x41,0x41,0x41,0x41,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
3320xD0,0x4E,0x4F,0x4F,0x4F,0x4F,0x4F,0xD7,0x4F,0x55,0x55,0x55,0x55,0x59,0xDE,0x53,
3330x41,0x41,0x41,0x41,0x41,0x41,0x41,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
3340xD0,0x4E,0x4F,0x4F,0x4F,0x4F,0x4F,0xF7,0x4F,0x55,0x55,0x55,0x55,0x59,0xDE,0xFF
335};
336
337static const uint16 to_uni_latin1_german1_ci[] = {
3380x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
3390x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
3400x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
3410x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
3420x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
3430x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
3440x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
3450x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
3460x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
3470x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
3480x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
3490x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
3500x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
3510x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
3520x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
3530x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
3540x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
3550x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
3560x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
3570x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
3580x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
3590x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
3600x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
3610x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
3620x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
3630x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
3640x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
3650x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
3660x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
3670x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
3680x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
3690x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF
370};
371
372#endif
373
374#ifdef HAVE_CHARSET_hp8
375static const uchar ctype_hp8_english_ci[] = {
3760x00,
3770x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
3780x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
3790x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
3800x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
3810x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
3820x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
3830x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
3840x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
3850x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
3860x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
3870x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
3880x10,0x20,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
3890x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x02,
3900x01,0x10,0x10,0x01,0x02,0x10,0x10,0x02,0x01,0x10,0x01,0x01,0x01,0x10,0x10,0x10,
3910x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
3920x10,0x10,0x20,0x20,0x20,0x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20
393};
394
395static const uchar to_lower_hp8_english_ci[] = {
3960x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
3970x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
3980x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
3990x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
4000x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
4010x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
4020x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
4030x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
4040x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
4050x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
4060xA0,0xC8,0xC0,0xC9,0xC1,0xCD,0xD1,0xDD,0xA8,0xA9,0xAA,0xAB,0xAC,0xCB,0xC3,0xAF,
4070xB0,0xB2,0xB2,0xB3,0xB5,0xB5,0xB7,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
4080xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
4090xD4,0xD1,0xD6,0xD7,0xD4,0xD5,0xD6,0xD7,0xCC,0xD9,0xCE,0xCF,0xC5,0xDD,0xDE,0xC2,
4100xC4,0xE2,0xE2,0xE4,0xE4,0xD5,0xD9,0xC6,0xCA,0xEA,0xEA,0xEC,0xEC,0xC7,0xEF,0xEF,
4110xF1,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
412};
413
414static const uchar to_upper_hp8_english_ci[] = {
4150x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4160x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4170x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4180x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
4190x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4200x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
4210x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4220x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
4230x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
4240x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
4250xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
4260xB0,0xB1,0xB1,0xB3,0xB4,0xB4,0xB6,0xB6,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
4270xA2,0xA4,0xDF,0xAE,0xE0,0xDC,0xE7,0xED,0xA1,0xA3,0xE8,0xAD,0xD8,0xA5,0xDA,0xDB,
4280xD0,0xA6,0xD2,0xD3,0xD0,0xE5,0xD2,0xD3,0xD8,0xE6,0xDA,0xDB,0xDC,0xA7,0xDE,0xDF,
4290xE0,0xE1,0xE1,0xE3,0xE3,0xE5,0xE6,0xE7,0xE8,0xE9,0xE9,0xEB,0xEB,0xED,0xEE,0xEE,
4300xF0,0xF0,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
431};
432
433static const uchar sort_order_hp8_english_ci[] = {
4340x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
4350x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
4360x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
4370x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
4380x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4390x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5C,0x5D,0x5B,0x5E,0x5F,
4400x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
4410x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
4420x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
4430x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
4440xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
4450xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
4460xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
4470xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
4480xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
4490xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
450};
451
452static const uint16 to_uni_hp8_english_ci[] = {
4530x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
4540x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
4550x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
4560x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
4570x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
4580x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
4590x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
4600x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
4610x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
4620x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
4630x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
4640x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
4650x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
4660x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
4670x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
4680x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
4690x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
4700x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
4710x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
4720x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
4730x00A0,0x00C0,0x00C2,0x00C8,0x00CA,0x00CB,0x00CE,0x00CF,
4740x00B4,0x02CB,0x02C6,0x00A8,0x02DC,0x00D9,0x00DB,0x20A4,
4750x00AF,0x00DD,0x00FD,0x00B0,0x00C7,0x00E7,0x00D1,0x00F1,
4760x00A1,0x00BF,0x00A4,0x00A3,0x00A5,0x00A7,0x0192,0x00A2,
4770x00E2,0x00EA,0x00F4,0x00FB,0x00E1,0x00E9,0x00F3,0x00FA,
4780x00E0,0x00E8,0x00F2,0x00F9,0x00E4,0x00EB,0x00F6,0x00FC,
4790x00C5,0x00EE,0x00D8,0x00C6,0x00E5,0x00ED,0x00F8,0x00E6,
4800x00C4,0x00EC,0x00D6,0x00DC,0x00C9,0x00EF,0x00DF,0x00D4,
4810x00C1,0x00C3,0x00E3,0x00D0,0x00F0,0x00CD,0x00CC,0x00D3,
4820x00D2,0x00D5,0x00F5,0x0160,0x0161,0x00DA,0x0178,0x00FF,
4830x00DE,0x00FE,0x00B7,0x00B5,0x00B6,0x00BE,0x2014,0x00BC,
4840x00BD,0x00AA,0x00BA,0x00AB,0x25A0,0x00BB,0x00B1,0x0000
485};
486
487#endif
488
489#ifdef HAVE_CHARSET_koi8r
490static const uchar ctype_koi8r_general_ci[] = {
4910x00,
4920x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
4930x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
4940x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
4950x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
4960x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
4970x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
4980x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
4990x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
5000x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
5010x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
5020x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
5030x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
5040x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
5050x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
5060x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
5070x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01
508};
509
510static const uchar to_lower_koi8r_general_ci[] = {
5110x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
5120x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
5130x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
5140x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
5150x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
5160x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
5170x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
5180x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
5190x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
5200x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
5210xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
5220xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
5230xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
5240xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
5250xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
5260xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
527};
528
529static const uchar to_upper_koi8r_general_ci[] = {
5300x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
5310x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
5320x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
5330x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
5340x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
5350x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
5360x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
5370x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
5380x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
5390x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
5400xA0,0xA1,0xA2,0xB3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
5410xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
5420xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
5430xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
5440xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
5450xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
546};
547
548static const uchar sort_order_koi8r_general_ci[] = {
5490x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
5500x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
5510x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
5520x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
5530x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
5540x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
5550x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
5560x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
5570x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
5580x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
5590xA0,0xA1,0xA2,0xE5,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,
5600xAF,0xB0,0xB1,0xE5,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,
5610xFE,0xDF,0xE0,0xF6,0xE3,0xE4,0xF4,0xE2,0xF5,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,
5620xEF,0xFF,0xF0,0xF1,0xF2,0xF3,0xE6,0xE1,0xFC,0xFB,0xE7,0xF8,0xFD,0xF9,0xF7,0xFA,
5630xFE,0xDF,0xE0,0xF6,0xE3,0xE4,0xF4,0xE2,0xF5,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,
5640xEF,0xFF,0xF0,0xF1,0xF2,0xF3,0xE6,0xE1,0xFC,0xFB,0xE7,0xF8,0xFD,0xF9,0xF7,0xFA
565};
566
567static const uint16 to_uni_koi8r_general_ci[] = {
5680x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
5690x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
5700x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
5710x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
5720x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
5730x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
5740x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
5750x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
5760x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
5770x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
5780x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
5790x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
5800x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
5810x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
5820x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
5830x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
5840x2500,0x2502,0x250C,0x2510,0x2514,0x2518,0x251C,0x2524,
5850x252C,0x2534,0x253C,0x2580,0x2584,0x2588,0x258C,0x2590,
5860x2591,0x2592,0x2593,0x2320,0x25A0,0x2219,0x221A,0x2248,
5870x2264,0x2265,0x00A0,0x2321,0x00B0,0x00B2,0x00B7,0x00F7,
5880x2550,0x2551,0x2552,0x0451,0x2553,0x2554,0x2555,0x2556,
5890x2557,0x2558,0x2559,0x255A,0x255B,0x255C,0x255D,0x255E,
5900x255F,0x2560,0x2561,0x0401,0x2562,0x2563,0x2564,0x2565,
5910x2566,0x2567,0x2568,0x2569,0x256A,0x256B,0x256C,0x00A9,
5920x044E,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433,
5930x0445,0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,
5940x043F,0x044F,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432,
5950x044C,0x044B,0x0437,0x0448,0x044D,0x0449,0x0447,0x044A,
5960x042E,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413,
5970x0425,0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,
5980x041F,0x042F,0x0420,0x0421,0x0422,0x0423,0x0416,0x0412,
5990x042C,0x042B,0x0417,0x0428,0x042D,0x0429,0x0427,0x042A
600};
601
602#endif
603
604#ifdef HAVE_CHARSET_latin2
605static const uchar ctype_latin2_general_ci[] = {
6060x00,
6070x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
6080x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
6090x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
6100x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
6110x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
6120x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
6130x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
6140x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
6150x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
6160x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
6170x48,0x01,0x10,0x01,0x10,0x01,0x01,0x10,0x10,0x01,0x01,0x01,0x01,0x10,0x01,0x01,
6180x10,0x02,0x10,0x02,0x10,0x02,0x02,0x10,0x10,0x02,0x02,0x02,0x02,0x10,0x02,0x02,
6190x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
6200x10,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,
6210x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
6220x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
623};
624
625static const uchar to_lower_latin2_general_ci[] = {
6260x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
6270x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
6280x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
6290x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
6300x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
6310x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
6320x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
6330x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
6340x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
6350x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
6360xA0,0xB1,0xA2,0xB3,0xA4,0xB5,0xB6,0xA7,0xA8,0xB9,0xBA,0xBB,0xBC,0xAD,0xBE,0xBF,
6370xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
6380xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
6390xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
6400xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
6410xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
642};
643
644static const uchar to_upper_latin2_general_ci[] = {
6450x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
6460x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
6470x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
6480x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
6490x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
6500x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
6510x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
6520x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
6530x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
6540x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
6550xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
6560xB0,0xA1,0xB2,0xA3,0xB4,0xA5,0xA6,0xB7,0xB8,0xA9,0xAA,0xAB,0xAC,0xBD,0xAE,0xAF,
6570xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
6580xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
6590xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
6600xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
661};
662
663static const uchar sort_order_latin2_general_ci[] = {
6640x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
6650x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
6660x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
6670x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
6680x40,0x41,0x44,0x45,0x48,0x49,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x53,0x54,0x56,
6690x58,0x59,0x5A,0x5B,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x68,0x69,0x6A,0x6B,0x6C,
6700x6D,0x41,0x44,0x45,0x48,0x49,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x53,0x54,0x56,
6710x58,0x59,0x5A,0x5B,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x6E,0x6F,0x70,0x71,0xFF,
6720xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
6730xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
6740xFF,0x42,0xFF,0x52,0xFF,0x51,0x5C,0xFF,0xFF,0x5D,0x5B,0x5E,0x65,0xFF,0x67,0x66,
6750xFF,0x42,0xFF,0x52,0xFF,0x51,0x5C,0xFF,0xFF,0x5D,0x5B,0x5E,0x65,0xFF,0x67,0x66,
6760x5A,0x43,0x43,0x43,0x43,0x51,0x46,0x45,0x47,0x49,0x4A,0x49,0x49,0x4E,0x4E,0x48,
6770xFF,0x55,0x54,0x57,0x56,0x56,0x56,0xFF,0x5A,0x5F,0x5F,0x5F,0x5F,0x63,0x5E,0xFF,
6780x5A,0x43,0x43,0x43,0x43,0x51,0x46,0x45,0x47,0x49,0x4A,0x49,0x49,0x4E,0x4E,0x48,
6790xFF,0x55,0x54,0x57,0x56,0x56,0x56,0xFF,0x5A,0x5F,0x5F,0x5F,0x5F,0x63,0x5E,0xFF
680};
681
682static const uint16 to_uni_latin2_general_ci[] = {
6830x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
6840x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
6850x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
6860x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
6870x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
6880x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
6890x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
6900x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
6910x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
6920x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
6930x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
6940x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
6950x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
6960x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
6970x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
6980x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
6990x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
7000x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
7010x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
7020x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
7030x00A0,0x0104,0x02D8,0x0141,0x00A4,0x013D,0x015A,0x00A7,
7040x00A8,0x0160,0x015E,0x0164,0x0179,0x00AD,0x017D,0x017B,
7050x00B0,0x0105,0x02DB,0x0142,0x00B4,0x013E,0x015B,0x02C7,
7060x00B8,0x0161,0x015F,0x0165,0x017A,0x02DD,0x017E,0x017C,
7070x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
7080x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
7090x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
7100x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
7110x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
7120x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
7130x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
7140x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
715};
716
717#endif
718
719#ifdef HAVE_CHARSET_swe7
720static const uchar ctype_swe7_swedish_ci[] = {
7210x00,
7220x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
7230x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
7240x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
7250x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
7260x01,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
7270x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,
7280x01,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
7290x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x20,
7300x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
7310x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
7320x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
7330x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
7340x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
7350x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
7360x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
7370x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
738};
739
740static const uchar to_lower_swe7_swedish_ci[] = {
7410x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
7420x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
7430x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
7440x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
7450x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
7460x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x5F,
7470x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
7480x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
7490x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
7500x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
7510xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
7520xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
7530xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
7540xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
7550xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
7560xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
757};
758
759static const uchar to_upper_swe7_swedish_ci[] = {
7600x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
7610x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
7620x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
7630x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
7640x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
7650x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
7660x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
7670x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x7F,
7680x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
7690x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
7700xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
7710xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
7720xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
7730xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
7740xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
7750xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
776};
777
778static const uchar sort_order_swe7_swedish_ci[] = {
7790x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
7800x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
7810x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
7820x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
7830x45,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
7840x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5C,0x5D,0x5B,0x59,0x5F,
7850x45,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
7860x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5C,0x5D,0x5B,0x59,0x7F,
7870x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
7880x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
7890xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
7900xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
7910xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
7920xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
7930xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
7940xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
795};
796
797static const uint16 to_uni_swe7_swedish_ci[] = {
7980x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
7990x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
8000x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
8010x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
8020x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
8030x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
8040x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
8050x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
8060x00C9,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
8070x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
8080x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
8090x0058,0x0059,0x005A,0x00C4,0x00D6,0x00C5,0x00DC,0x005F,
8100x00E9,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
8110x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
8120x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
8130x0078,0x0079,0x007A,0x00E4,0x00F6,0x00E5,0x00FC,0x0000,
8140x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8150x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8160x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8170x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8180x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8190x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8200x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8210x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8220x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8230x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8240x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8250x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8260x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8270x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8280x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
8290x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
830};
831
832#endif
833
834#ifdef HAVE_CHARSET_ascii
835static const uchar ctype_ascii_general_ci[] = {
8360x00,
8370x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
8380x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
8390x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
8400x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
8410x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
8420x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
8430x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
8440x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
8450x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
8460x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
8470x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
8480x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
8490x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
8500x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
8510x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
8520x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
853};
854
855static const uchar to_lower_ascii_general_ci[] = {
8560x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
8570x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
8580x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
8590x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
8600x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
8610x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
8620x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
8630x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
8640x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
8650x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
8660xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
8670xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
8680xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
8690xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
8700xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
8710xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
872};
873
874static const uchar to_upper_ascii_general_ci[] = {
8750x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
8760x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
8770x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
8780x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
8790x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
8800x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
8810x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
8820x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
8830x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
8840x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
8850xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
8860xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
8870xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
8880xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
8890xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
8900xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
891};
892
893static const uchar sort_order_ascii_general_ci[] = {
8940x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
8950x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
8960x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
8970x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
8980x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
8990x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
9000x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
9010x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
9020x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
9030x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
9040xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
9050xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
9060xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
9070xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
9080xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
9090xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
910};
911
912static const uint16 to_uni_ascii_general_ci[] = {
9130x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
9140x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
9150x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
9160x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
9170x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
9180x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
9190x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
9200x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
9210x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
9220x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
9230x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
9240x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
9250x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
9260x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
9270x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
9280x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
9290x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9300x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9310x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9320x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9330x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9340x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9350x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9360x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9370x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9380x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9390x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9400x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9410x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9420x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9430x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
9440x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000
945};
946
947#endif
948
949#ifdef HAVE_CHARSET_cp1251
950static const uchar sort_order_cp1251_bulgarian_ci[] = {
9510x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
9520x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
9530x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
9540x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
9550x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
9560x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7C,0x7D,0x7E,0x7F,0x80,
9570x81,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
9580x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x82,0x83,0x84,0x85,0xFF,
9590xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
9600xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
9610xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x61,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
9620xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x61,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
9630x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,
9640x6C,0x6D,0x6E,0x6F,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,
9650x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,
9660x6C,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
972static const uchar ctype_latin1_danish_ci[] = {
9730x00,
9740x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
9750x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
9760x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
9770x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
9780x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
9790x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
9800x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
9810x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
9820x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
9830x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
9840x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
9850x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
9860x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
9870x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
9880x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
9890x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
990};
991
992static const uchar to_lower_latin1_danish_ci[] = {
9930x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
9940x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
9950x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
9960x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
9970x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
9980x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
9990x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
10000x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
10010x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
10020x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
10030xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
10040xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
10050xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
10060xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
10070xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
10080xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1009};
1010
1011static const uchar to_upper_latin1_danish_ci[] = {
10120x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
10130x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
10140x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
10150x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
10160x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
10170x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
10180x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
10190x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
10200x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
10210x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
10220xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
10230xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
10240xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
10250xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
10260xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
10270xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
1028};
1029
1030static const uchar sort_order_latin1_danish_ci[] = {
10310x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
10320x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
10330x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
10340x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
10350x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
10360x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
10370x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
10380x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
10390x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
10400x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
10410xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
10420xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
10430x41,0x41,0x41,0x41,0x5B,0x5D,0x5B,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
10440x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5C,0xD7,0x5C,0x55,0x55,0x55,0x59,0x59,0xDE,0xDF,
10450x41,0x41,0x41,0x41,0x5B,0x5D,0x5B,0x43,0x45,0x45,0x45,0x45,0x49,0x49,0x49,0x49,
10460x44,0x4E,0x4F,0x4F,0x4F,0x4F,0x5C,0xF7,0x5C,0x55,0x55,0x55,0x59,0x59,0xDE,0xFF
1047};
1048
1049static const uint16 to_uni_latin1_danish_ci[] = {
10500x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
10510x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
10520x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
10530x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
10540x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
10550x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
10560x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
10570x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
10580x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
10590x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
10600x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
10610x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
10620x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
10630x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
10640x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
10650x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
10660x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
10670x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
10680x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
10690x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
10700x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
10710x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
10720x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
10730x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
10740x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
10750x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
10760x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
10770x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
10780x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
10790x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
10800x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
10810x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF
1082};
1083
1084#endif
1085
1086#ifdef HAVE_CHARSET_hebrew
1087static const uchar ctype_hebrew_general_ci[] = {
10880x00,
10890x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
10900x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
10910x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
10920x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
10930x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
10940x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
10950x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
10960x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
10970x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
10980x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
10990x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
11000x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
11010x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
11020x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
11030x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
11040x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x00,0x20,0x20,0x00
1105};
1106
1107static const uchar to_lower_hebrew_general_ci[] = {
11080x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
11090x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
11100x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
11110x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
11120x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
11130x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
11140x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
11150x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
11160x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
11170x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
11180xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
11190xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
11200xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
11210xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
11220xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
11230xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1124};
1125
1126static const uchar to_upper_hebrew_general_ci[] = {
11270x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
11280x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
11290x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
11300x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
11310x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
11320x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
11330x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
11340x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
11350x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
11360x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
11370xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
11380xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
11390xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
11400xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
11410xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
11420xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1143};
1144
1145static const uchar sort_order_hebrew_general_ci[] = {
11460x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
11470x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
11480x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
11490x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
11500x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
11510x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
11520x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
11530x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
11540x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
11550x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
11560xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
11570xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
11580xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
11590xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF,
11600xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
11610xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1162};
1163
1164static const uint16 to_uni_hebrew_general_ci[] = {
11650x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
11660x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
11670x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
11680x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
11690x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
11700x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
11710x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
11720x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
11730x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
11740x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
11750x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
11760x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
11770x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
11780x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
11790x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
11800x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
11810x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
11820x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
11830x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
11840x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
11850x00A0,0x0000,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
11860x00A8,0x00A9,0x00D7,0x00AB,0x00AC,0x00AD,0x00AE,0x203E,
11870x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
11880x00B8,0x00B9,0x00F7,0x00BB,0x00BC,0x00BD,0x00BE,0x0000,
11890x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
11900x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
11910x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
11920x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x2017,
11930x05D0,0x05D1,0x05D2,0x05D3,0x05D4,0x05D5,0x05D6,0x05D7,
11940x05D8,0x05D9,0x05DA,0x05DB,0x05DC,0x05DD,0x05DE,0x05DF,
11950x05E0,0x05E1,0x05E2,0x05E3,0x05E4,0x05E5,0x05E6,0x05E7,
11960x05E8,0x05E9,0x05EA,0x0000,0x0000,0x200E,0x200F,0x0000
1197};
1198
1199#endif
1200
1201#ifdef HAVE_CHARSET_latin7
1202static const uchar sort_order_latin7_estonian_cs[] = {
12030x00,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x2E,0x2F,0x30,0x31,0x32,0x0A,0x0B,
12040x0C,0x0D,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,
12050x2C,0x33,0x34,0x35,0x36,0x37,0x38,0x27,0x39,0x3A,0x3B,0x5D,0x3C,0x28,0x3D,0x3E,
12060x76,0x7A,0x7C,0x7E,0x80,0x81,0x82,0x83,0x84,0x85,0x3F,0x40,0x5E,0x5F,0x60,0x41,
12070x42,0x86,0x90,0x92,0x98,0x9A,0xA4,0xA6,0xAA,0xAC,0xB2,0xB4,0xB8,0xBE,0xC0,0xC6,
12080xCE,0xD0,0xD2,0xD6,0xE5,0xE8,0xEE,0xF0,0xFA,0xFC,0xDD,0x43,0x44,0x45,0x46,0x47,
12090x48,0x87,0x91,0x93,0x99,0x9B,0xA5,0xA7,0xAB,0xAD,0xB3,0xB5,0xB9,0xBF,0xC1,0xC7,
12100xCF,0xD1,0xD3,0xD7,0xE6,0xE9,0xEF,0xF1,0xFB,0xFD,0xDE,0x49,0x4A,0x4B,0x4C,0x1C,
12110x01,0x1D,0x57,0x1E,0x5A,0x74,0x71,0x72,0x1F,0x75,0x20,0x5B,0x21,0x4E,0x52,0x51,
12120x22,0x55,0x56,0x58,0x59,0x73,0x2A,0x2B,0x23,0xE7,0x24,0x5C,0x25,0x4F,0x54,0x26,
12130x2D,0xFE,0x66,0x67,0x68,0xFF,0x4D,0x69,0xCC,0x6A,0xD4,0x62,0x6B,0x29,0x6C,0x8E,
12140x6D,0x61,0x7D,0x7F,0x50,0x6E,0x6F,0x70,0xCD,0x7B,0xD5,0x63,0x77,0x78,0x79,0x8F,
12150x8C,0xB0,0x88,0x94,0xF4,0x8A,0xA2,0xA0,0x96,0x9C,0xDF,0x9E,0xA8,0xB6,0xAE,0xBA,
12160xDB,0xC2,0xC4,0xC8,0xCA,0xF2,0xF6,0x64,0xEC,0xBC,0xD8,0xEA,0xF8,0xE1,0xE3,0xDA,
12170x8D,0xB1,0x89,0x95,0xF5,0x8B,0xA3,0xA1,0x97,0x9D,0xE0,0x9F,0xA9,0xB7,0xAF,0xBB,
12180xDC,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
1224static const uchar sort_order_latin2_hungarian_ci[] = {
12250x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
12260x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
12270x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
12280x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
12290x40,0x41,0x47,0x48,0x4C,0x4E,0x53,0x54,0x55,0x56,0x5A,0x5B,0x5C,0x60,0x61,0x64,
12300x69,0x6A,0x6B,0x6E,0x72,0x75,0x7A,0x7B,0x7C,0x7D,0x7F,0x83,0x84,0x85,0x86,0x87,
12310x88,0x41,0x47,0x48,0x4C,0x4E,0x53,0x54,0x55,0x56,0x5A,0x5B,0x5C,0x60,0x61,0x64,
12320x69,0x6A,0x6B,0x6E,0x72,0x75,0x7A,0x7B,0x7C,0x7D,0x7F,0x89,0x8A,0x8B,0x8C,0x00,
12330x01,0x78,0x4E,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x67,0x67,0x56,0x56,0x0F,0x41,
12340x4E,0x12,0x13,0x67,0x67,0x64,0x78,0x75,0x78,0x67,0x78,0x1C,0x1D,0x1E,0x1F,0xFF,
12350x41,0x56,0x64,0x75,0x5E,0x6F,0xFF,0x67,0xFF,0x70,0x71,0x73,0x80,0xFF,0x81,0x82,
12360xFF,0x42,0xFF,0x5D,0xFF,0x41,0x6F,0xFF,0xFF,0x70,0x71,0x73,0x80,0xFF,0x81,0x82,
12370x6C,0x41,0x44,0x45,0x46,0x5F,0x49,0x4B,0x4A,0x4E,0x51,0x52,0x50,0x56,0x57,0x4D,
12380xFF,0x62,0x63,0x64,0x66,0x67,0x67,0xFF,0x6D,0x77,0x75,0x78,0x78,0x7E,0x74,0xFF,
12390x64,0x41,0x44,0x45,0x46,0x5F,0x49,0x4B,0x4A,0x4E,0x51,0x78,0x50,0x56,0x58,0x4D,
12400xFF,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
1246static const uchar ctype_koi8u_general_ci[] = {
12470x00,
12480x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
12490x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
12500x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
12510x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
12520x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
12530x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
12540x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
12550x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
12560x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
12570x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
12580x10,0x10,0x10,0x02,0x02,0x10,0x02,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,
12590x10,0x10,0x10,0x01,0x01,0x10,0x01,0x01,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x10,
12600x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
12610x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
12620x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
12630x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01
1264};
1265
1266static const uchar to_lower_koi8u_general_ci[] = {
12670x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
12680x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
12690x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
12700x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
12710x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
12720x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
12730x20,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
12740x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
12750x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
12760x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
12770x20,0x20,0x20,0xA3,0xA4,0x20,0xA6,0xA7,0x20,0x20,0x20,0x20,0x20,0xAD,0x20,0x20,
12780x20,0x20,0x20,0xA3,0xA4,0x20,0xA6,0xA7,0x20,0x20,0x20,0x20,0x20,0xAD,0x20,0x20,
12790xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
12800xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
12810xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
12820xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
1283};
1284
1285static const uchar to_upper_koi8u_general_ci[] = {
12860x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
12870x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
12880x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
12890x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
12900x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
12910x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
12920x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
12930x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
12940x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
12950x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
12960x20,0x20,0x20,0xB3,0xB4,0x20,0xB6,0xB7,0x20,0x20,0x20,0x20,0x20,0xBD,0x20,0x20,
12970x20,0x20,0x20,0xB3,0xB4,0x20,0xB6,0xB7,0x20,0x20,0x20,0x20,0x20,0xBD,0x20,0x20,
12980xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
12990xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
13000xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
13010xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1302};
1303
1304static const uchar sort_order_koi8u_general_ci[] = {
13050x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
13060x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
13070x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
13080x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
13090x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
13100x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
13110x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
13120x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
13130xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4,
13140xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,
13150xC5,0xC6,0xC7,0x88,0x87,0xC8,0x8C,0x8D,0xC9,0xCA,0xCB,0xCC,0xCD,0x84,0xCE,0xCF,
13160xD0,0xD1,0xD2,0x88,0x87,0xD3,0x8C,0x8D,0xD4,0xD5,0xD6,0xD7,0xD8,0x84,0xD9,0xDA,
13170xA3,0x80,0x81,0x9B,0x85,0x86,0x99,0x83,0x9A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,
13180x94,0xA4,0x95,0x96,0x97,0x98,0x89,0x82,0xA1,0xA0,0x8A,0x9D,0xA2,0x9E,0x9C,0x9F,
13190xA3,0x80,0x81,0x9B,0x85,0x86,0x99,0x83,0x9A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,
13200x94,0xA4,0x95,0x96,0x97,0x98,0x89,0x82,0xA1,0xA0,0x8A,0x9D,0xA2,0x9E,0x9C,0x9F
1321};
1322
1323static const uint16 to_uni_koi8u_general_ci[] = {
13240x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
13250x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
13260x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
13270x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
13280x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
13290x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
13300x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
13310x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
13320x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
13330x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
13340x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
13350x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
13360x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
13370x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
13380x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
13390x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
13400x2500,0x2502,0x250C,0x2510,0x2514,0x2518,0x251C,0x2524,
13410x252C,0x2534,0x253C,0x2580,0x2584,0x2588,0x258C,0x2590,
13420x2591,0x2592,0x2593,0x2320,0x25A0,0x2022,0x221A,0x2248,
13430x2264,0x2265,0x00A0,0x2321,0x00B0,0x00B2,0x00B7,0x00F7,
13440x2550,0x2551,0x2552,0x0451,0x0454,0x2554,0x0456,0x0457,
13450x2557,0x2558,0x2559,0x255A,0x255B,0x0491,0x255D,0x255E,
13460x255F,0x2560,0x2561,0x0401,0x0404,0x2563,0x0406,0x0407,
13470x2566,0x2567,0x2568,0x2569,0x256A,0x0490,0x256C,0x00A9,
13480x044E,0x0430,0x0431,0x0446,0x0434,0x0435,0x0444,0x0433,
13490x0445,0x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,
13500x043F,0x044F,0x0440,0x0441,0x0442,0x0443,0x0436,0x0432,
13510x044C,0x044B,0x0437,0x0448,0x044D,0x0449,0x0447,0x044A,
13520x042E,0x0410,0x0411,0x0426,0x0414,0x0415,0x0424,0x0413,
13530x0425,0x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,
13540x041F,0x042F,0x0420,0x0421,0x0422,0x0423,0x0416,0x0412,
13550x042C,0x042B,0x0417,0x0428,0x042D,0x0429,0x0427,0x042A
1356};
1357
1358#endif
1359
1360#ifdef HAVE_CHARSET_cp1251
1361static const uchar sort_order_cp1251_ukrainian_ci[] = {
13620x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
13630x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
13640x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
13650x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
13660x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
13670x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
13680x20,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
13690x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
13700xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4,
13710xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,
13720xC5,0xC6,0xC7,0xC8,0xC9,0x84,0xCA,0xCB,0x88,0xCC,0x87,0xCD,0xCE,0xCF,0xD0,0x8D,
13730xD1,0xD2,0x8C,0x8C,0x84,0xD3,0xD4,0xD5,0x88,0xD6,0x87,0xD7,0xD8,0xD9,0xDA,0x8D,
13740x80,0x81,0x82,0x83,0x85,0x86,0x89,0x8A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,0x94,
13750x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,
13760x80,0x81,0x82,0x83,0x85,0x86,0x89,0x8A,0x8B,0x8E,0x8F,0x90,0x91,0x92,0x93,0x94,
13770x95,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
1383static const uchar ctype_greek_general_ci[] = {
13840x00,
13850x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
13860x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
13870x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
13880x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
13890x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
13900x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
13910x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
13920x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
13930x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
13940x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
13950x48,0x10,0x10,0x10,0x00,0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x10,0x10,0x00,0x10,
13960x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x01,0x01,0x10,0x01,0x10,0x01,0x01,
13970x02,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
13980x01,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,
13990x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
14000x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00
1401};
1402
1403static const uchar to_lower_greek_general_ci[] = {
14040x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
14050x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
14060x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
14070x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
14080x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
14090x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
14100x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
14110x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
14120x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
14130x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
14140xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
14150xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xDC,0xB7,0xDD,0xDE,0xDF,0xBB,0xFC,0xBD,0xFD,0xFE,
14160xC0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
14170xF0,0xF1,0xD2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xDC,0xDD,0xDE,0xDF,
14180xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
14190xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1420};
1421
1422static const uchar to_upper_greek_general_ci[] = {
14230x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
14240x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
14250x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
14260x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
14270x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
14280x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
14290x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
14300x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
14310x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
14320x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
14330xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
14340xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
14350xDA,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
14360xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xC1,0xC5,0xC7,0xC9,
14370xDB,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
14380xD0,0xD1,0xD3,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xCF,0xD5,0xD9,0xFF
1439};
1440
1441static const uchar sort_order_greek_general_ci[] = {
14420x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
14430x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
14440x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
14450x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
14460x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
14470x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
14480x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
14490x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
14500x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
14510x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
14520xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
14530xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xC1,0xB7,0xC5,0xC7,0xC9,0xBB,0xCF,0xBD,0xD5,0xD9,
14540xC9,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
14550xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xC9,0xD5,0xC1,0xC5,0xC7,0xC9,
14560xD5,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
14570xD0,0xD1,0xD3,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xC9,0xD5,0xCF,0xD5,0xD9,0xFF
1458};
1459
1460static const uint16 to_uni_greek_general_ci[] = {
14610x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
14620x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
14630x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
14640x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
14650x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
14660x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
14670x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
14680x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
14690x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
14700x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
14710x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
14720x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
14730x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
14740x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
14750x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
14760x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
14770x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
14780x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
14790x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
14800x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
14810x00A0,0x02BD,0x02BC,0x00A3,0x0000,0x0000,0x00A6,0x00A7,
14820x00A8,0x00A9,0x0000,0x00AB,0x00AC,0x00AD,0x0000,0x2015,
14830x00B0,0x00B1,0x00B2,0x00B3,0x0384,0x0385,0x0386,0x00B7,
14840x0388,0x0389,0x038A,0x00BB,0x038C,0x00BD,0x038E,0x038F,
14850x0390,0x0391,0x0392,0x0393,0x0394,0x0395,0x0396,0x0397,
14860x0398,0x0399,0x039A,0x039B,0x039C,0x039D,0x039E,0x039F,
14870x03A0,0x03A1,0x0000,0x03A3,0x03A4,0x03A5,0x03A6,0x03A7,
14880x03A8,0x03A9,0x03AA,0x03AB,0x03AC,0x03AD,0x03AE,0x03AF,
14890x03B0,0x03B1,0x03B2,0x03B3,0x03B4,0x03B5,0x03B6,0x03B7,
14900x03B8,0x03B9,0x03BA,0x03BB,0x03BC,0x03BD,0x03BE,0x03BF,
14910x03C0,0x03C1,0x03C2,0x03C3,0x03C4,0x03C5,0x03C6,0x03C7,
14920x03C8,0x03C9,0x03CA,0x03CB,0x03CC,0x03CD,0x03CE,0x0000
1493};
1494
1495#endif
1496
1497#ifdef HAVE_CHARSET_cp1250
1498static const uchar ctype_cp1250_general_ci[] = {
14990x00,
15000x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
15010x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
15020x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
15030x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
15040x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
15050x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
15060x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
15070x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
15080x20,0x20,0x10,0x20,0x10,0x10,0x10,0x10,0x20,0x10,0x01,0x10,0x01,0x01,0x01,0x01,
15090x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x10,0x02,0x10,0x02,0x02,0x02,0x02,
15100x48,0x10,0x10,0x01,0x10,0x01,0x10,0x01,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
15110x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x02,0x02,0x10,0x01,0x10,0x02,0x02,
15120x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
15130x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
15140x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
15150x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
1516};
1517
1518static const uchar to_lower_cp1250_general_ci[] = {
15190x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
15200x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
15210x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
15220x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
15230x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
15240x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
15250x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
15260x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
15270x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
15280x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
15290xA0,0xA1,0xA2,0xB3,0xA4,0xB9,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
15300xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBE,0xBD,0xBE,0xBF,
15310xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
15320xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
15330xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
15340xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1535};
1536
1537static const uchar to_upper_cp1250_general_ci[] = {
15380x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
15390x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
15400x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
15410x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
15420x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
15430x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
15440x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
15450x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
15460x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
15470x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x8D,0x8E,0x8F,
15480xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
15490xB0,0xB1,0xB2,0xA3,0xB4,0xB5,0xB6,0xB7,0xB8,0xA5,0xAA,0xBB,0xBC,0xBD,0xBC,0xAF,
15500xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
15510xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
15520xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
15530xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
1554};
1555
1556static const uchar sort_order_cp1250_general_ci[] = {
15570x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
15580x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
15590x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
15600x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
15610x40,0x41,0x42,0x43,0x46,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x55,
15620x56,0x57,0x58,0x59,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x63,0x64,0x65,0x66,0x67,
15630x68,0x41,0x42,0x43,0x46,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x55,
15640x56,0x57,0x58,0x59,0x5B,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x7B,0x7C,0x7D,0x7E,0x7F,
15650x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x5A,0x8B,0x5A,0x5B,0x62,0x62,
15660x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x5A,0x9B,0x5A,0x5B,0x62,0x62,
15670x20,0xA1,0xA2,0x50,0xA4,0x41,0xA6,0x59,0xA8,0xA9,0x59,0xAB,0xAC,0xAD,0xAE,0x62,
15680xB0,0xB1,0xB2,0x50,0xB4,0xB5,0xB6,0xB7,0xB8,0x41,0x59,0xBB,0x50,0xBD,0x50,0x62,
15690x58,0x41,0x41,0x41,0x41,0x50,0x45,0x43,0x44,0x49,0x49,0x49,0x49,0x4D,0x4D,0x46,
15700x47,0x53,0x53,0x55,0x55,0x55,0x55,0xD7,0x58,0x5C,0x5C,0x5C,0x5C,0x60,0x5B,0x59,
15710x58,0x41,0x41,0x41,0x41,0x50,0x45,0x43,0x44,0x49,0x49,0x49,0x49,0x4D,0x4D,0x46,
15720x47,0x53,0x53,0x55,0x55,0x55,0x55,0xF7,0x58,0x5C,0x5C,0x5C,0x5C,0x60,0x5B,0xFF
1573};
1574
1575static const uint16 to_uni_cp1250_general_ci[] = {
15760x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
15770x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
15780x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
15790x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
15800x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
15810x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
15820x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
15830x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
15840x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
15850x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
15860x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
15870x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
15880x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
15890x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
15900x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
15910x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
15920x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
15930x0000,0x2030,0x0160,0x2039,0x015A,0x0164,0x017D,0x0179,
15940x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
15950x0000,0x2122,0x0161,0x203A,0x015B,0x0165,0x017E,0x017A,
15960x00A0,0x02C7,0x02D8,0x0141,0x00A4,0x0104,0x00A6,0x00A7,
15970x00A8,0x00A9,0x015E,0x00AB,0x00AC,0x00AD,0x00AE,0x017B,
15980x00B0,0x00B1,0x02DB,0x0142,0x00B4,0x00B5,0x00B6,0x00B7,
15990x00B8,0x0105,0x015F,0x00BB,0x013D,0x02DD,0x013E,0x017C,
16000x0154,0x00C1,0x00C2,0x0102,0x00C4,0x0139,0x0106,0x00C7,
16010x010C,0x00C9,0x0118,0x00CB,0x011A,0x00CD,0x00CE,0x010E,
16020x0110,0x0143,0x0147,0x00D3,0x00D4,0x0150,0x00D6,0x00D7,
16030x0158,0x016E,0x00DA,0x0170,0x00DC,0x00DD,0x0162,0x00DF,
16040x0155,0x00E1,0x00E2,0x0103,0x00E4,0x013A,0x0107,0x00E7,
16050x010D,0x00E9,0x0119,0x00EB,0x011B,0x00ED,0x00EE,0x010F,
16060x0111,0x0144,0x0148,0x00F3,0x00F4,0x0151,0x00F6,0x00F7,
16070x0159,0x016F,0x00FA,0x0171,0x00FC,0x00FD,0x0163,0x02D9
1608};
1609
1610#endif
1611
1612#ifdef HAVE_CHARSET_latin2
1613static const uchar sort_order_latin2_croatian_ci[] = {
16140x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
16150x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
16160x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
16170x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
16180x40,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
16190x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0xC6,0xC7,0xC8,0xC9,0xCA,
16200xCB,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
16210x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0xCC,0xCD,0xCE,0xCF,0xD0,
16220xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,0xE0,
16230xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,0xF0,
16240xF1,0x41,0xF2,0x54,0xF3,0x54,0x5F,0xF4,0xF5,0x61,0x5F,0x62,0x6B,0xF6,0x8E,0x6B,
16250xF7,0x41,0xF8,0x54,0xF9,0x54,0x5F,0xFA,0xFB,0x61,0x5F,0x62,0x6B,0xFC,0x8E,0x6B,
16260x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48,
16270x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xFD,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0x5F,
16280x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48,
16290x4A,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
1635static const uchar sort_order_cp1257_lithuanian_ci[] = {
16360x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
16370x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
16380x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
16390x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
16400x40,0x41,0x43,0x44,0x46,0x47,0x4A,0x4B,0x4C,0x4D,0x50,0x51,0x52,0x53,0x54,0x55,
16410x56,0x57,0x58,0x59,0x5B,0x5C,0x5F,0x60,0x61,0x4E,0xFF,0x62,0x63,0x64,0x65,0x66,
16420x67,0x41,0x43,0x44,0x46,0x47,0x4A,0x4B,0x4C,0x4D,0x50,0x51,0x52,0x53,0x54,0x55,
16430x56,0x57,0x58,0x59,0x5B,0x5C,0x5F,0x60,0x61,0x4E,0xFF,0x68,0x69,0x6A,0x6B,0xFF,
16440xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
16450xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
16460xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
16470xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
16480x42,0x4F,0xFF,0xFF,0xFF,0xFF,0x48,0xFF,0x45,0xFF,0xFF,0x49,0xFF,0xFF,0xFF,0xFF,
16490x5A,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x5E,0xFF,0xFF,0x5D,0xFF,0xFF,0xFF,0xFF,
16500xFF,0x4F,0xFF,0xFF,0xFF,0xFF,0x48,0xFF,0x45,0xFF,0xFF,0x49,0xFF,0xFF,0xFF,0xFF,
16510x5A,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
1657static const uchar ctype_latin5_turkish_ci[] = {
16580x00,
16590x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
16600x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
16610x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
16620x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
16630x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
16640x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
16650x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
16660x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
16670x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
16680x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
16690x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
16700x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
16710x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
16720x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
16730x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
16740x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
1675};
1676
1677static const uchar to_lower_latin5_turkish_ci[] = {
16780x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
16790x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
16800x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
16810x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
16820x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0xFD,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
16830x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
16840x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
16850x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
16860x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
16870x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
16880xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
16890xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
16900xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
16910xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0x69,0xFE,0xDF,
16920xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
16930xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1694};
1695
1696static const uchar to_upper_latin5_turkish_ci[] = {
16970x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
16980x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
16990x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
17000x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
17010x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
17020x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
17030x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0xDD,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
17040x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
17050x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
17060x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
17070xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
17080xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
17090xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
17100xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
17110xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
17120xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0x49,0xDE,0xFF
1713};
1714
1715static const uchar sort_order_latin5_turkish_ci[] = {
17160x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
17170x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
17180x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
17190x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
17200x40,0x41,0x42,0x43,0x45,0x46,0x47,0x48,0x4A,0x4B,0x4D,0x4E,0x4F,0x50,0x51,0x52,
17210x54,0x55,0x56,0x57,0x59,0x5A,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x62,0x63,0x64,0x65,
17220x66,0x41,0x42,0x43,0x45,0x46,0x47,0x48,0x4A,0x4C,0x4D,0x4E,0x4F,0x50,0x51,0x52,
17230x54,0x55,0x56,0x57,0x59,0x5A,0x5C,0x5D,0x5E,0x5F,0x60,0x87,0x88,0x89,0x8A,0x8B,
17240x8C,0x8D,0x8E,0x8F,0x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,
17250x9C,0x9D,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,
17260xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,
17270xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,
17280x41,0x41,0x41,0x41,0x41,0x41,0x41,0x44,0x46,0x46,0x46,0x46,0x4C,0x4C,0x4C,0x4C,
17290x49,0x51,0x52,0x52,0x52,0x52,0x53,0xE0,0x52,0x5A,0x5A,0x5A,0x5B,0x4C,0x58,0x57,
17300x41,0x41,0x41,0x41,0x41,0x41,0x41,0x44,0x46,0x46,0x46,0x46,0x4C,0x4C,0x4C,0x4C,
17310x49,0x51,0x52,0x52,0x52,0x52,0x53,0xFA,0x52,0x5A,0x5A,0x5A,0x5B,0x4B,0x58,0x5F
1732};
1733
1734static const uint16 to_uni_latin5_turkish_ci[] = {
17350x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
17360x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
17370x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
17380x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
17390x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
17400x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
17410x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
17420x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
17430x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
17440x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
17450x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
17460x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
17470x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
17480x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
17490x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
17500x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
17510x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
17520x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
17530x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
17540x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
17550x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
17560x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
17570x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
17580x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
17590x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
17600x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
17610x011E,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
17620x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x0130,0x015E,0x00DF,
17630x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
17640x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
17650x011F,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
17660x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x0131,0x015F,0x00FF
1767};
1768
1769#endif
1770
1771#ifdef HAVE_CHARSET_armscii8
1772static const uchar ctype_armscii8_general_ci[] = {
17730x00,
17740x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
17750x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
17760x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
17770x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
17780x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
17790x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
17800x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
17810x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
17820x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
17830x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
17840x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
17850x10,0x10,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
17860x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
17870x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
17880x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,
17890x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x10,0x10
1790};
1791
1792static const uchar to_lower_armscii8_general_ci[] = {
17930x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
17940x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
17950x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
17960x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
17970x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
17980x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
17990x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
18000x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
18010x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
18020x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
18030xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
18040xB0,0xB1,0xB3,0xB3,0xB5,0xB5,0xB7,0xB7,0xB9,0xB9,0xBB,0xBB,0xBD,0xBD,0xBF,0xBF,
18050xC1,0xC1,0xC3,0xC3,0xC5,0xC5,0xC7,0xC7,0xC9,0xC9,0xCB,0xCB,0xCD,0xCD,0xCF,0xCF,
18060xD1,0xD1,0xD3,0xD3,0xD5,0xD5,0xD7,0xD7,0xD9,0xD9,0xDB,0xDB,0xDD,0xDD,0xDF,0xDF,
18070xE1,0xE1,0xE3,0xE3,0xE5,0xE5,0xE7,0xE7,0xE9,0xE9,0xEB,0xEB,0xED,0xED,0xEF,0xEF,
18080xF1,0xF1,0xF3,0xF3,0xF5,0xF5,0xF7,0xF7,0xF9,0xF9,0xFB,0xFB,0xFD,0xFD,0xFE,0xFF
1809};
1810
1811static const uchar to_upper_armscii8_general_ci[] = {
18120x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
18130x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
18140x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
18150x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
18160x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
18170x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
18180x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
18190x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
18200x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
18210x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
18220xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
18230xB0,0xB1,0xB2,0xB2,0xB4,0xB4,0xB6,0xB6,0xB8,0xB8,0xBA,0xBA,0xBC,0xBC,0xBE,0xBE,
18240xC0,0xC0,0xC2,0xC2,0xC4,0xC4,0xC6,0xC6,0xC8,0xC8,0xCA,0xCA,0xCC,0xCC,0xCE,0xCE,
18250xD0,0xD0,0xD2,0xD2,0xD4,0xD4,0xD6,0xD6,0xD8,0xD8,0xDA,0xDA,0xDC,0xDC,0xDE,0xDE,
18260xE0,0xE0,0xE2,0xE2,0xE4,0xE4,0xE6,0xE6,0xE8,0xE8,0xEA,0xEA,0xEC,0xEC,0xEE,0xEE,
18270xF0,0xF0,0xF2,0xF2,0xF4,0xF4,0xF6,0xF6,0xF8,0xF8,0xFA,0xFA,0xFC,0xFC,0xFE,0xFF
1828};
1829
1830static const uchar sort_order_armscii8_general_ci[] = {
18310x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
18320x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
18330x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
18340x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
18350x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
18360x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
18370x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
18380x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
18390x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
18400x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
18410xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
18420xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
18430xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
18440xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
18450xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
18460xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1847};
1848
1849static const uint16 to_uni_armscii8_general_ci[] = {
18500x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
18510x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
18520x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
18530x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
18540x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
18550x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
18560x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
18570x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
18580x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
18590x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
18600x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
18610x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
18620x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
18630x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
18640x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
18650x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
18660x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
18670x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
18680x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
18690x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
18700x00A0,0x2741,0x00A7,0x0589,0x0029,0x0028,0x00BB,0x00AB,
18710x2014,0x002E,0x055D,0x002C,0x002D,0x055F,0x2026,0x055C,
18720x055B,0x055E,0x0531,0x0561,0x0532,0x0562,0x0533,0x0563,
18730x0534,0x0564,0x0535,0x0565,0x0536,0x0566,0x0537,0x0567,
18740x0538,0x0568,0x0539,0x0569,0x053A,0x056A,0x053B,0x056B,
18750x053C,0x056C,0x053D,0x056D,0x053E,0x056E,0x053F,0x056F,
18760x0540,0x0570,0x0541,0x0571,0x0542,0x0572,0x0543,0x0573,
18770x0544,0x0574,0x0545,0x0575,0x0546,0x0576,0x0547,0x0577,
18780x0548,0x0578,0x0549,0x0579,0x054A,0x057A,0x054B,0x057B,
18790x054C,0x057C,0x054D,0x057D,0x054E,0x057E,0x054F,0x057F,
18800x0550,0x0580,0x0551,0x0581,0x0552,0x0582,0x0553,0x0583,
18810x0554,0x0584,0x0555,0x0585,0x0556,0x0586,0x2019,0x0027
1882};
1883
1884#endif
1885
1886#ifdef HAVE_CHARSET_cp866
1887static const uchar ctype_cp866_general_ci[] = {
18880x00,
18890x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
18900x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
18910x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
18920x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
18930x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
18940x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
18950x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
18960x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
18970x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
18980x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
18990x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
19000x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
19010x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
19020x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
19030x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
19040x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48
1905};
1906
1907static const uchar to_lower_cp866_general_ci[] = {
19080x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
19090x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
19100x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
19110x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
19120x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
19130x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
19140x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
19150x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
19160xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x86,0x87,0x88,0x89,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
19170xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
19180xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x86,0x87,0x88,0x89,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
19190xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
19200xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
19210xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
19220xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
19230xF1,0xF1,0xF3,0xF3,0xF5,0xF5,0xF7,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1924};
1925
1926static const uchar to_upper_cp866_general_ci[] = {
19270x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
19280x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
19290x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
19300x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
19310x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
19320x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
19330x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
19340x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
19350x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
19360x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
19370x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
19380xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
19390xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
19400xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
19410x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
19420xF0,0xF0,0xF2,0xF2,0xF4,0xF4,0xF6,0xF6,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
1943};
1944
1945static const uchar sort_order_cp866_general_ci[] = {
19460x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
19470x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
19480x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
19490x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
19500x40,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D,
19510x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xBD,0xBE,0xBF,0xC0,0xC1,
19520xC2,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x54,0x55,0x57,0x59,0x5B,0x5D,
19530x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xC3,0xC4,0xC5,0xC6,0xC7,
19540x75,0x77,0x79,0x7B,0x7D,0x7F,0x85,0x87,0x89,0x8D,0x8F,0x91,0x93,0x95,0x97,0x99,
19550x9B,0x9D,0x9F,0xA1,0xA5,0xA7,0xA9,0xAB,0xAD,0xAF,0xB1,0xB3,0xB5,0xB7,0xB9,0xBB,
19560x75,0x77,0x79,0x7B,0x7D,0x7F,0x85,0x87,0x89,0x8D,0x8F,0x91,0x93,0x95,0x97,0x99,
19570xC8,0xC9,0xCA,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
19580xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
19590xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
19600x9B,0x9D,0x9F,0xA1,0xA5,0xA7,0xA9,0xAB,0xAD,0xAF,0xB1,0xB3,0xB5,0xB7,0xB9,0xBB,
19610x81,0x81,0x83,0x83,0x8B,0x8B,0xA3,0xA3,0xCB,0xCC,0xCD,0xCE,0xCF,0xD0,0xD1,0xD2
1962};
1963
1964static const uint16 to_uni_cp866_general_ci[] = {
19650x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
19660x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
19670x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
19680x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
19690x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
19700x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
19710x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
19720x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
19730x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
19740x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
19750x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
19760x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
19770x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
19780x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
19790x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
19800x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
19810x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
19820x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F,
19830x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
19840x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F,
19850x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
19860x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F,
19870x2591,0x2592,0x2593,0x2502,0x2524,0x2561,0x2562,0x2556,
19880x2555,0x2563,0x2551,0x2557,0x255D,0x255C,0x255B,0x2510,
19890x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x255E,0x255F,
19900x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x2567,
19910x2568,0x2564,0x2565,0x2559,0x2558,0x2552,0x2553,0x256B,
19920x256A,0x2518,0x250C,0x2588,0x2584,0x258C,0x2590,0x2580,
19930x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
19940x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F,
19950x0401,0x0451,0x0404,0x0454,0x0407,0x0457,0x040E,0x045E,
19960x00B0,0x2219,0x00B7,0x221A,0x207F,0x00B2,0x25A0,0x00A0
1997};
1998
1999#endif
2000
2001#ifdef HAVE_CHARSET_keybcs2
2002static const uchar ctype_keybcs2_general_ci[] = {
20030x00,
20040x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
20050x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
20060x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
20070x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
20080x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
20090x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
20100x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
20110x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
20120x01,0x02,0x82,0x02,0x02,0x01,0x01,0x02,0x82,0x81,0x01,0x01,0x02,0x02,0x01,0x01,
20130x81,0x02,0x01,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
20140x02,0x02,0x02,0x02,0x02,0x01,0x01,0x01,0x02,0x02,0x02,0x01,0x00,0x00,0x00,0x00,
20150x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
20160x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
20170x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
20180x02,0x02,0x01,0x02,0x01,0x02,0x00,0x02,0x01,0x01,0x01,0x02,0x00,0x02,0x02,0x00,
20190x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x48
2020};
2021
2022static const uchar to_lower_keybcs2_general_ci[] = {
20230x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
20240x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
20250x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
20260x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
20270x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
20280x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
20290x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
20300x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
20310x87,0x81,0x82,0x83,0x84,0x83,0x86,0x87,0x88,0x88,0x8D,0xA1,0x8C,0x8D,0x84,0xA0,
20320x82,0x91,0x91,0x93,0x94,0xA2,0x96,0xA3,0x98,0x94,0x81,0x9B,0x8C,0x98,0xA9,0x9F,
20330xA0,0xA1,0xA2,0xA3,0xA4,0xA4,0x96,0x93,0x9B,0xA9,0xAA,0xAA,0xAC,0xAD,0xAE,0xAF,
20340xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
20350xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
20360xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
20370xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xED,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
20380xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2039};
2040
2041static const uchar to_upper_keybcs2_general_ci[] = {
20420x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
20430x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
20440x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
20450x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
20460x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
20470x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
20480x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
20490x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x68,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
20500x87,0x9A,0x90,0x85,0x8E,0x85,0x86,0x80,0x89,0x89,0x8A,0x8B,0x9C,0x8A,0x8E,0x8F,
20510x90,0x92,0x92,0xA7,0x99,0x95,0xA6,0x97,0x9D,0x99,0x9A,0xA8,0x9C,0x9D,0x9E,0x9F,
20520x8F,0x8B,0x95,0x97,0xA5,0xA5,0xA6,0xA7,0xA8,0x9E,0xAB,0xAB,0xAC,0xAD,0xAE,0xAF,
20530xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
20540xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
20550xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
20560xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xE8,0xEE,0xEF,
20570xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2058};
2059
2060static const uchar sort_order_keybcs2_general_ci[] = {
20610x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
20620x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
20630x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
20640x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
20650x40,0x41,0x44,0x45,0x47,0x49,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x5A,
20660x5E,0x5F,0x60,0x63,0x66,0x68,0x6C,0x6D,0x6E,0x6F,0x72,0x90,0x91,0x92,0x93,0x94,
20670x95,0x41,0x44,0x45,0x47,0x49,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x5A,
20680x5E,0x5F,0x60,0x63,0x66,0x68,0x6C,0x6D,0x6E,0x6F,0x72,0x96,0x97,0x98,0x99,0x9A,
20690x45,0x68,0x49,0x47,0x41,0x47,0x66,0x45,0x49,0x49,0x56,0x53,0x56,0x56,0x41,0x41,
20700x49,0x72,0x72,0x5A,0x5A,0x5A,0x68,0x68,0x6F,0x5A,0x68,0x63,0x56,0x6F,0x60,0x66,
20710x41,0x53,0x5A,0x68,0x58,0x58,0x68,0x5A,0x63,0x60,0x60,0x60,0xA0,0xA1,0xA2,0xA3,
20720xA4,0xA5,0xA6,0xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,
20730xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,
20740xCD,0xCE,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,
20750x80,0x65,0x83,0x87,0x88,0x89,0xDD,0x8A,0x85,0x8B,0x84,0x81,0xDE,0x85,0x82,0xDF,
20760xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2077};
2078
2079static const uint16 to_uni_keybcs2_general_ci[] = {
20800x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
20810x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
20820x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
20830x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
20840x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
20850x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
20860x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
20870x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
20880x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
20890x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
20900x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
20910x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
20920x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
20930x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
20940x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
20950x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
20960x010C,0x00FC,0x00E9,0x010F,0x00E4,0x010E,0x0164,0x010D,
20970x011B,0x011A,0x0139,0x00CD,0x013E,0x013A,0x00C4,0x00C1,
20980x00C9,0x017E,0x017D,0x00F4,0x00F6,0x00D3,0x016F,0x00DA,
20990x00FD,0x00D6,0x00DC,0x0160,0x013D,0x00DD,0x0158,0x0165,
21000x00E1,0x00ED,0x00F3,0x00FA,0x0148,0x0147,0x016E,0x00D4,
21010x0161,0x0159,0x0155,0x0154,0x00BC,0x00A1,0x00AB,0x00BB,
21020x2591,0x2592,0x2593,0x2502,0x2524,0x2561,0x2562,0x2556,
21030x2555,0x2563,0x2551,0x2557,0x255D,0x255C,0x255B,0x2510,
21040x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x255E,0x255F,
21050x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x2567,
21060x2568,0x2564,0x2565,0x2559,0x2558,0x2552,0x2553,0x256B,
21070x256A,0x2518,0x250C,0x2588,0x2584,0x258C,0x2590,0x2580,
21080x03B1,0x00DF,0x0393,0x03C0,0x03A3,0x03C3,0x00B5,0x03C4,
21090x03A6,0x0398,0x03A9,0x03B4,0x221E,0x03C6,0x03B5,0x2229,
21100x2261,0x00B1,0x2265,0x2264,0x2320,0x2321,0x00F7,0x2248,
21110x00B0,0x2219,0x00B7,0x221A,0x207F,0x00B2,0x25A0,0x00A0
2112};
2113
2114#endif
2115
2116#ifdef HAVE_CHARSET_macce
2117static const uchar ctype_macce_general_ci[] = {
21180x00,
21190x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
21200x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
21210x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
21220x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
21230x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
21240x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
21250x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
21260x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
21270x01,0x01,0x02,0x01,0x01,0x01,0x01,0x02,0x02,0x01,0x02,0x02,0x01,0x02,0x02,0x01,
21280x02,0x01,0x02,0x02,0x01,0x02,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x02,0x02,
21290x00,0x00,0x01,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x02,0x01,
21300x02,0x01,0x00,0x00,0x02,0x01,0x00,0x00,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x01,
21310x02,0x01,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x01,0x02,0x01,
21320x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x02,0x01,0x00,0x00,0x02,0x01,
21330x02,0x01,0x00,0x00,0x02,0x01,0x02,0x01,0x01,0x02,0x01,0x01,0x02,0x01,0x01,0x01,
21340x02,0x01,0x01,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x02,0x01,0x01,0x02,0x01,0x00
2135};
2136
2137static const uchar to_lower_macce_general_ci[] = {
21380x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
21390x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
21400x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
21410x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
21420x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
21430x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
21440x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
21450x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
21460x8A,0x82,0x82,0x8E,0x88,0x9A,0x9F,0x87,0x88,0x8B,0x8A,0x8B,0x8D,0x8D,0x8E,0x90,
21470x90,0x93,0x92,0x93,0x95,0x95,0x98,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9E,0x9E,0x9F,
21480xA0,0xA1,0xAB,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xB0,
21490xB0,0xB4,0xB2,0xB3,0xB4,0xFA,0xB6,0xB7,0xB8,0xBA,0xBA,0xBC,0xBC,0xBE,0xBE,0xC0,
21500xC0,0xC4,0xC2,0xC3,0xC4,0xCB,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCE,0x9B,0xCE,0xD8,
21510xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xDA,0xDA,0xDE,0xDC,0xDD,0xDE,0xE0,
21520xE0,0xE4,0xE2,0xE3,0xE4,0xE6,0xE6,0x87,0xE9,0xE9,0x92,0xEC,0xEC,0xF0,0x97,0x99,
21530xF0,0xF3,0x9C,0xF3,0xF5,0xF5,0xF7,0xF7,0xF9,0xF9,0xFA,0xFD,0xB8,0xFD,0xAE,0xFF
2154};
2155
2156static const uchar to_upper_macce_general_ci[] = {
21570x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
21580x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
21590x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
21600x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
21610x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
21620x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
21630x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
21640x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
21650x80,0x81,0x81,0x83,0x84,0x85,0x86,0xE7,0x84,0x89,0x80,0x89,0x8C,0x8C,0x83,0x8F,
21660x8F,0x91,0xEA,0x91,0x94,0x94,0x96,0xEE,0x96,0xEF,0x85,0xCD,0xF2,0x9D,0x9D,0x86,
21670xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xA2,0xAC,0xAD,0xFE,0xAF,
21680xAF,0xB1,0xB2,0xB3,0xB1,0xB5,0xB6,0xB7,0xFC,0xB9,0xB9,0xBB,0xBB,0xBD,0xBD,0xBF,
21690xBF,0xC1,0xC2,0xC3,0xC1,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xC5,0xCC,0xCD,0xCC,0xCF,
21700xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xCF,0xD9,0xD9,0xDB,0xDC,0xDD,0xDB,0xDF,
21710xDF,0xE1,0xE2,0xE3,0xE1,0xE5,0xE5,0xE7,0xE8,0xE8,0xEA,0xEB,0xEB,0xED,0xEE,0xEF,
21720xED,0xF1,0xF2,0xF1,0xF4,0xF4,0xF6,0xF6,0xF8,0xF8,0xB5,0xFB,0xFC,0xFB,0xFE,0xFF
2173};
2174
2175static const uchar sort_order_macce_general_ci[] = {
21760x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
21770x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
21780x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
21790x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
21800x40,0x41,0x46,0x47,0x4A,0x4C,0x52,0x53,0x55,0x56,0x5A,0x5B,0x5D,0x62,0x62,0x67,
21810x6F,0x70,0x71,0x75,0x79,0x81,0x88,0x89,0x8A,0x8B,0x8D,0x90,0x91,0x92,0x93,0x94,
21820x95,0x41,0x46,0x47,0x4A,0x4C,0x52,0x53,0x55,0x56,0x5A,0x5B,0x5D,0x62,0x62,0x67,
21830x6F,0x70,0x71,0x75,0x79,0x81,0x88,0x89,0x8A,0x8B,0x8D,0x96,0x97,0x98,0x99,0x9A,
21840x41,0x41,0x41,0x4C,0x41,0x67,0x81,0x41,0x41,0x47,0x41,0x47,0x47,0x47,0x4C,0x8D,
21850x8D,0x4A,0x56,0x4A,0x4C,0x4C,0x4C,0x67,0x4C,0x67,0x67,0x67,0x81,0x4C,0x4C,0x81,
21860xA0,0xA1,0x4C,0xA3,0xA4,0xA5,0xA6,0x75,0xA8,0xA9,0xAA,0x4C,0xAC,0xAD,0x53,0x56,
21870x56,0x56,0xB2,0xB3,0x56,0x5B,0xB6,0xB7,0x5D,0x5D,0x5D,0x5D,0x5D,0x5D,0x5D,0x62,
21880x62,0x62,0xC2,0xC3,0x62,0x62,0xC6,0xC7,0xC8,0xC9,0xCA,0x62,0x67,0x67,0x67,0x67,
21890xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0x67,0x71,0x71,0x71,0xDC,0xDD,0x71,0x71,
21900x71,0x75,0xE2,0xE3,0x75,0x75,0x75,0x41,0x79,0x79,0x56,0x8D,0x8D,0x81,0x67,0x67,
21910x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x8B,0x8B,0x5B,0x8D,0x5D,0x8D,0x53,0xFF
2192};
2193
2194static const uint16 to_uni_macce_general_ci[] = {
21950x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
21960x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
21970x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
21980x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
21990x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
22000x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
22010x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
22020x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
22030x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
22040x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
22050x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
22060x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
22070x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
22080x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
22090x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
22100x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
22110x00C4,0x0100,0x0101,0x00C9,0x0104,0x00D6,0x00DC,0x00E1,
22120x0105,0x010C,0x00E4,0x010D,0x0106,0x0107,0x00E9,0x0179,
22130x017A,0x010E,0x00ED,0x010F,0x0112,0x0113,0x0116,0x00F3,
22140x0117,0x00F4,0x00F6,0x00F5,0x00FA,0x011A,0x011B,0x00FC,
22150x2020,0x00B0,0x0118,0x00A3,0x00A7,0x2022,0x00B6,0x00DF,
22160x00AE,0x00A9,0x2122,0x0119,0x00A8,0x2260,0x0123,0x012E,
22170x012F,0x012A,0x2264,0x2265,0x012B,0x0136,0x2202,0x2211,
22180x0142,0x013B,0x013C,0x013D,0x013E,0x0139,0x013A,0x0145,
22190x0146,0x0143,0x00AC,0x221A,0x0144,0x0147,0x2206,0x00AB,
22200x00BB,0x2026,0x00A0,0x0148,0x0150,0x00D5,0x0151,0x014C,
22210x2013,0x2014,0x201C,0x201D,0x2018,0x2019,0x00F7,0x25CA,
22220x014D,0x0154,0x0155,0x0158,0x2039,0x203A,0x0159,0x0156,
22230x0157,0x0160,0x201A,0x201E,0x0161,0x015A,0x015B,0x00C1,
22240x0164,0x0165,0x00CD,0x017D,0x017E,0x016A,0x00D3,0x00D4,
22250x016B,0x016E,0x00DA,0x016F,0x0170,0x0171,0x0172,0x0173,
22260x00DD,0x00FD,0x0137,0x017B,0x0141,0x017C,0x0122,0x02C7
2227};
2228
2229#endif
2230
2231#ifdef HAVE_CHARSET_macroman
2232static const uchar ctype_macroman_general_ci[] = {
22330x00,
22340x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
22350x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
22360x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
22370x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
22380x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
22390x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
22400x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
22410x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x10,
22420x20,0x01,0x01,0x01,0x01,0x01,0x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
22430x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
22440x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,
22450x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,
22460x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x01,0x01,0x00,0x00,
22470x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00,
22480x00,0x00,0x00,0x00,0x00,0x20,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
22490x00,0x01,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
2250};
2251
2252static const uchar to_lower_macroman_general_ci[] = {
22530x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
22540x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
22550x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
22560x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
22570x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
22580x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
22590x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
22600x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
22610x8A,0x8C,0x8D,0x8E,0x96,0x9A,0x9F,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
22620x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
22630xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xBE,0xBF,
22640xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
22650xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0x88,0x8B,0x9B,0xCE,0xCF,
22660xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD8,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
22670xE0,0xE1,0xE2,0xE3,0xE4,0x89,0x90,0x87,0x91,0x8F,0x92,0x94,0x95,0x93,0x97,0x99,
22680xF0,0x98,0x9C,0x9E,0x9D,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2269};
2270
2271static const uchar to_upper_macroman_general_ci[] = {
22720x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
22730x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
22740x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
22750x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
22760x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
22770x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
22780x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
22790x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
22800x80,0x81,0x82,0x83,0x84,0x85,0x86,0xE7,0xCB,0xE5,0x80,0xCC,0x81,0x82,0x83,0xE9,
22810xE6,0xE8,0xEA,0xED,0xEB,0xEC,0x84,0xEE,0xF1,0xEF,0x85,0xCD,0xF2,0xF4,0xF3,0x86,
22820xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
22830xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xAE,0xAF,
22840xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
22850xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD9,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
22860xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
22870xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2288};
2289
2290static const uchar sort_order_macroman_general_ci[] = {
22910x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
22920x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
22930x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
22940x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
22950x40,0x41,0x49,0x50,0x52,0x53,0x57,0x59,0x60,0x61,0x67,0x68,0x69,0x70,0x71,0x72,
22960x79,0x80,0x81,0x82,0x84,0x85,0x90,0x91,0x92,0x93,0x95,0xA0,0xA1,0xA2,0xA3,0xA4,
22970xA5,0x41,0x49,0x50,0x52,0x53,0x57,0x59,0x60,0x61,0x67,0x68,0x69,0x70,0x71,0x72,
22980x79,0x80,0x81,0x82,0x84,0x85,0x90,0x91,0x92,0x93,0x95,0xA6,0xA7,0xA8,0xA9,0xAA,
22990x41,0x41,0x50,0x53,0x71,0x72,0x85,0x41,0x41,0x41,0x41,0x41,0x41,0x50,0x53,0x53,
23000x53,0x53,0x61,0x61,0x61,0x61,0x71,0x72,0x72,0x72,0x72,0x72,0x85,0x85,0x85,0x85,
23010xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0xB1,0x82,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0x48,0x72,
23020xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,0xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0x48,0x72,
23030xC6,0xC7,0xC8,0xC9,0x57,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,0x41,0x41,0x72,0xD0,0xD1,
23040xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0x93,0x93,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
23050xE0,0xE1,0xE2,0xE3,0xE4,0x41,0x53,0x41,0x53,0x53,0x61,0x61,0x61,0x61,0x72,0x72,
23060xF0,0x72,0x85,0x85,0x85,0x61,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2307};
2308
2309static const uint16 to_uni_macroman_general_ci[] = {
23100x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
23110x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
23120x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
23130x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
23140x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
23150x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
23160x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
23170x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
23180x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
23190x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
23200x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
23210x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
23220x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
23230x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
23240x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
23250x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
23260x00C4,0x00C5,0x00C7,0x00C9,0x00D1,0x00D6,0x00DC,0x00E1,
23270x00E0,0x00E2,0x00E4,0x00E3,0x00E5,0x00E7,0x00E9,0x00E8,
23280x00EA,0x00EB,0x00ED,0x00EC,0x00EE,0x00EF,0x00F1,0x00F3,
23290x00F2,0x00F4,0x00F6,0x00F5,0x00FA,0x00F9,0x00FB,0x00FC,
23300x2020,0x00B0,0x00A2,0x00A3,0x00A7,0x2022,0x00B6,0x00DF,
23310x00AE,0x00A9,0x2122,0x00B4,0x00A8,0x2260,0x00C6,0x00D8,
23320x221E,0x00B1,0x2264,0x2265,0x00A5,0x00B5,0x2202,0x2211,
23330x220F,0x03C0,0x222B,0x00AA,0x00BA,0x03A9,0x00E6,0x00F8,
23340x00BF,0x00A1,0x00AC,0x221A,0x0192,0x2248,0x2206,0x00AB,
23350x00BB,0x2026,0x00A0,0x00C0,0x00C3,0x00D5,0x0152,0x0153,
23360x2013,0x2014,0x201C,0x201D,0x2018,0x2019,0x00F7,0x25CA,
23370x00FF,0x0178,0x2044,0x20AC,0x2039,0x203A,0xFB01,0xFB02,
23380x2021,0x00B7,0x201A,0x201E,0x2030,0x00C2,0x00CA,0x00C1,
23390x00CB,0x00C8,0x00CD,0x00CE,0x00CF,0x00CC,0x00D3,0x00D4,
23400xF8FF,0x00D2,0x00DA,0x00DB,0x00D9,0x0131,0x02C6,0x02DC,
23410x00AF,0x02D8,0x02D9,0x02DA,0x00B8,0x02DD,0x02DB,0x02C7
2342};
2343
2344#endif
2345
2346#ifdef HAVE_CHARSET_cp852
2347static const uchar ctype_cp852_general_ci[] = {
23480x00,
23490x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
23500x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
23510x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
23520x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
23530x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
23540x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
23550x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
23560x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
23570x01,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x01,0x02,0x02,0x01,0x01,0x01,
23580x01,0x01,0x02,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x01,0x01,0x02,0x01,0x00,0x02,
23590x02,0x02,0x02,0x02,0x01,0x02,0x01,0x02,0x01,0x02,0x00,0x02,0x01,0x01,0x00,0x00,
23600x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x02,0x00,
23610x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
23620x02,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x02,0x00,0x00,0x00,0x00,0x01,0x01,0x00,
23630x01,0x02,0x01,0x01,0x02,0x02,0x01,0x02,0x01,0x01,0x02,0x01,0x02,0x01,0x02,0x00,
23640x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x01,0x02,0x00,0x48
2365};
2366
2367static const uchar to_lower_cp852_general_ci[] = {
23680x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
23690x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
23700x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
23710x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
23720x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
23730x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
23740x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
23750x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
23760x87,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8B,0x8B,0x8C,0xAB,0x84,0x86,
23770x82,0x92,0x92,0x93,0x94,0x96,0x96,0x98,0x98,0x94,0x81,0x9C,0x9C,0x88,0x9E,0x9F,
23780xA0,0xA1,0xA2,0xA3,0xA5,0xA5,0xA7,0xA7,0xA9,0xA9,0xAA,0xAB,0x9F,0xB8,0xAE,0xAF,
23790xB0,0xB1,0xB2,0xB3,0xB4,0xA0,0x83,0xD8,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF,
23800xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC7,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
23810xD0,0xD0,0xD4,0x89,0xD4,0xE5,0xA1,0x8C,0xD8,0xD9,0xDA,0xDB,0xDC,0xEE,0x85,0xDF,
23820xA2,0xE1,0x93,0xE4,0xE4,0xE5,0xE7,0xE7,0xEA,0xA3,0xE8,0xFB,0xEC,0xEC,0xEE,0xEF,
23830xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2384};
2385
2386static const uchar to_upper_cp852_general_ci[] = {
23870x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
23880x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
23890x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
23900x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
23910x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
23920x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
23930x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
23940x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
23950x80,0x9A,0x90,0xB6,0x8E,0xDE,0x8F,0x80,0x9D,0xD3,0x8A,0x8A,0xD7,0x8D,0x8E,0x8F,
23960x90,0x91,0x91,0xE2,0x99,0x95,0x95,0x97,0x97,0x99,0x9A,0x9B,0x9B,0x9D,0x9E,0xAC,
23970xB5,0xD6,0xE0,0xE9,0xA4,0xA4,0xA6,0xA6,0xA8,0xA8,0xAA,0x8D,0xAC,0xAD,0xAE,0xAF,
23980xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xAD,0xB9,0xBA,0xBB,0xBC,0xBE,0xBD,0xBF,
23990xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC6,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
24000xD1,0xD1,0xD2,0xD3,0xD2,0xD5,0xD6,0xD7,0xB7,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
24010xE0,0xE1,0xE2,0xE3,0xE3,0xD5,0xE6,0xE6,0xE8,0xE9,0xE8,0xEB,0xED,0xED,0xDD,0xEF,
24020xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xEB,0xFC,0xFC,0xFE,0xFF
2403};
2404
2405static const uchar sort_order_cp852_general_ci[] = {
24060x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
24070x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
24080x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
24090x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
24100x40,0x41,0x47,0x48,0x4C,0x4F,0x54,0x55,0x56,0x57,0x5A,0x5B,0x5C,0x5E,0x5F,0x62,
24110x67,0x68,0x69,0x6C,0x71,0x74,0x75,0x76,0x77,0x78,0x7B,0x90,0x91,0x92,0x93,0x94,
24120x95,0x41,0x47,0x48,0x4C,0x4F,0x54,0x55,0x56,0x57,0x5A,0x5B,0x5C,0x5E,0x5F,0x62,
24130x67,0x68,0x69,0x6C,0x71,0x74,0x75,0x76,0x77,0x78,0x7B,0x96,0x97,0x98,0x99,0x9A,
24140x48,0x74,0x4F,0x41,0x41,0x74,0x48,0x48,0x5C,0x4F,0x62,0x62,0x57,0x7B,0x41,0x48,
24150x4F,0x5C,0x5C,0x62,0x62,0x5C,0x5C,0x6C,0x6C,0x62,0x74,0x71,0x71,0x5C,0x9E,0x48,
24160x41,0x57,0x62,0x74,0x41,0x41,0x7B,0x7B,0x4F,0x4F,0xAA,0x7B,0x48,0x6C,0xAE,0xAF,
24170xB0,0xB1,0xB2,0xB3,0xB4,0x41,0x41,0x4F,0x6C,0xB5,0xBA,0xBB,0xBC,0x7B,0x7B,0xBF,
24180xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0x41,0x41,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
24190x4C,0x4C,0x4C,0x4F,0x4C,0x60,0x57,0x57,0x4F,0xD9,0xDA,0xDB,0xDC,0x71,0x74,0xDF,
24200x62,0x70,0x62,0x60,0x60,0x60,0x6C,0x6C,0x69,0x74,0x69,0x74,0x78,0x78,0x71,0xEF,
24210xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0x74,0x69,0x69,0xFE,0xFF
2422};
2423
2424static const uint16 to_uni_cp852_general_ci[] = {
24250x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
24260x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
24270x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
24280x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
24290x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
24300x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
24310x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
24320x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
24330x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
24340x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
24350x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
24360x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
24370x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
24380x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
24390x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
24400x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
24410x00C7,0x00FC,0x00E9,0x00E2,0x00E4,0x016F,0x0107,0x00E7,
24420x0142,0x00EB,0x0150,0x0151,0x00EE,0x0179,0x00C4,0x0106,
24430x00C9,0x0139,0x013A,0x00F4,0x00F6,0x013D,0x013E,0x015A,
24440x015B,0x00D6,0x00DC,0x0164,0x0165,0x0141,0x00D7,0x010D,
24450x00E1,0x00ED,0x00F3,0x00FA,0x0104,0x0105,0x017D,0x017E,
24460x0118,0x0119,0x00AC,0x017A,0x010C,0x015F,0x00AB,0x00BB,
24470x2591,0x2592,0x2593,0x2502,0x2524,0x00C1,0x00C2,0x011A,
24480x015E,0x2563,0x2551,0x2557,0x255D,0x017B,0x017C,0x2510,
24490x2514,0x2534,0x252C,0x251C,0x2500,0x253C,0x0102,0x0103,
24500x255A,0x2554,0x2569,0x2566,0x2560,0x2550,0x256C,0x00A4,
24510x0111,0x0110,0x010E,0x00CB,0x010F,0x0147,0x00CD,0x00CE,
24520x011B,0x2518,0x250C,0x2588,0x2584,0x0162,0x016E,0x2580,
24530x00D3,0x00DF,0x00D4,0x0143,0x0144,0x0148,0x0160,0x0161,
24540x0154,0x00DA,0x0155,0x0170,0x00FD,0x00DD,0x0163,0x00B4,
24550x00AD,0x02DD,0x02DB,0x02C7,0x02D8,0x00A7,0x00F7,0x00B8,
24560x00B0,0x00A8,0x02D9,0x0171,0x0158,0x0159,0x25A0,0x00A0
2457};
2458
2459#endif
2460
2461#ifdef HAVE_CHARSET_latin7
2462static const uchar ctype_latin7_general_ci[] = {
24630x00,
24640x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
24650x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
24660x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
24670x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
24680x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
24690x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
24700x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
24710x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
24720x01,0x20,0x10,0x20,0x10,0x10,0x00,0x00,0x20,0x10,0x20,0x10,0x20,0x10,0x10,0x10,
24730x20,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x00,0x20,0x10,0x20,0x10,0x10,0x20,
24740x48,0x20,0x10,0x10,0x10,0x20,0x10,0x10,0x10,0x10,0x01,0x10,0x10,0x10,0x10,0x01,
24750x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x10,0x10,0x10,0x02,
24760x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
24770x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
24780x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
24790x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10
2480};
2481
2482static const uchar to_lower_latin7_general_ci[] = {
24830x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
24840x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
24850x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
24860x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
24870x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
24880x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
24890x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
24900x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
24910x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
24920x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
24930xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
24940xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
24950xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
24960xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
24970xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
24980xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2499};
2500
2501static const uchar to_upper_latin7_general_ci[] = {
25020x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
25030x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
25040x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
25050x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
25060x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
25070x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
25080x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
25090x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
25100x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
25110x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
25120xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
25130xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xBC,0xBD,0xBE,0xAF,
25140xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
25150xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
25160xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
25170xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
2518};
2519
2520static const uchar sort_order_latin7_general_ci[] = {
25210x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
25220x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
25230x30,0x32,0x33,0x34,0x35,0x36,0x37,0x2B,0x38,0x39,0x3A,0x5C,0x3B,0x2C,0x3C,0x3D,
25240x76,0x7A,0x7C,0x7E,0x80,0x81,0x82,0x83,0x84,0x85,0x3E,0x3F,0x5D,0x5E,0x5F,0x40,
25250x41,0x86,0x92,0x94,0x9A,0x9C,0xA6,0xA8,0xAC,0xAE,0xB4,0xB6,0xBA,0xC0,0xC2,0xC8,
25260xD4,0xD6,0xD8,0xDC,0xE3,0xE6,0xEE,0xF0,0xF2,0xF4,0xF6,0x42,0x43,0x44,0x45,0x46,
25270x47,0x86,0x92,0x94,0x9A,0x9C,0xA6,0xA8,0xAC,0xAE,0xB4,0xB6,0xBA,0xC0,0xC2,0xC8,
25280xD4,0xD6,0xD8,0xDC,0xE2,0xE6,0xEE,0xF0,0xF2,0xF4,0xF6,0x48,0x49,0x4A,0x4B,0x20,
25290x75,0x21,0x56,0x22,0x59,0x73,0x70,0x71,0x23,0x74,0x24,0x5A,0x25,0x4D,0x51,0x50,
25300x26,0x54,0x55,0x57,0x58,0x72,0x2E,0x2F,0x27,0xE5,0x28,0x5B,0x29,0x4E,0x53,0x2A,
25310x31,0xFE,0x65,0x66,0x67,0xFF,0x4C,0x68,0x2D,0x69,0xDA,0x61,0x6A,0x2D,0x6B,0x90,
25320x6C,0x60,0x7D,0x7F,0x4F,0x6D,0x6E,0x6F,0xD3,0x7B,0xDB,0x62,0x77,0x78,0x79,0x90,
25330x8E,0xB2,0x8A,0x96,0x88,0x8C,0xA4,0xA2,0x98,0x9E,0xF8,0xA0,0xAA,0xB8,0xB0,0xBE,
25340xE1,0xC4,0xC6,0xCA,0xCE,0xD0,0xCC,0x63,0xEC,0xBC,0xDE,0xEA,0xE8,0xFA,0xFC,0xE0,
25350x8E,0xB2,0x8A,0x96,0x88,0x8C,0xA4,0xA2,0x98,0x9E,0xF8,0xA0,0xAA,0xB8,0xB0,0xBE,
25360xE1,0xC4,0xC6,0xCA,0xCE,0xD0,0xCC,0x64,0xEC,0xBC,0xDE,0xEA,0xE8,0xFA,0xFC,0x52
2537};
2538
2539static const uint16 to_uni_latin7_general_ci[] = {
25400x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
25410x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
25420x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
25430x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
25440x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
25450x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
25460x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
25470x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
25480x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
25490x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
25500x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
25510x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
25520x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
25530x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
25540x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
25550x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
25560x0080,0x0081,0x0082,0x0083,0x0084,0x0085,0x0086,0x0087,
25570x0088,0x0089,0x008A,0x008B,0x008C,0x008D,0x008E,0x008F,
25580x0090,0x0091,0x0092,0x0093,0x0094,0x0095,0x0096,0x0097,
25590x0098,0x0099,0x009A,0x009B,0x009C,0x009D,0x009E,0x009F,
25600x00A0,0x201D,0x00A2,0x00A3,0x00A4,0x201E,0x00A6,0x00A7,
25610x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6,
25620x00B0,0x00B1,0x00B2,0x00B3,0x201C,0x00B5,0x00B6,0x00B7,
25630x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6,
25640x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112,
25650x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B,
25660x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7,
25670x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF,
25680x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113,
25690x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C,
25700x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7,
25710x0173,0x0142,0x015B,0x016B,0x00FC,0x017C,0x017E,0x2019
2572};
2573
2574#endif
2575
2576#ifdef HAVE_CHARSET_latin7
2577static const uchar sort_order_latin7_general_cs[] = {
25780x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
25790x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
25800x30,0x32,0x33,0x34,0x35,0x36,0x37,0x2B,0x38,0x39,0x3A,0x5C,0x3B,0x2C,0x3C,0x3D,
25810x76,0x7A,0x7C,0x7E,0x80,0x81,0x82,0x83,0x84,0x85,0x3E,0x3F,0x5D,0x5E,0x5F,0x40,
25820x41,0x86,0x92,0x94,0x9A,0x9C,0xA6,0xA8,0xAC,0xAE,0xB4,0xB6,0xBA,0xC0,0xC2,0xC8,
25830xD4,0xD6,0xD8,0xDC,0xE3,0xE6,0xEE,0xF0,0xF2,0xF4,0xF6,0x42,0x43,0x44,0x45,0x46,
25840x47,0x87,0x93,0x95,0x9B,0x9D,0xA7,0xA9,0xAD,0xAF,0xB5,0xB7,0xBB,0xC1,0xC3,0xC9,
25850xD5,0xD7,0xD9,0xDD,0xE4,0xE7,0xEF,0xF1,0xF3,0xF5,0xF7,0x48,0x49,0x4A,0x4B,0x20,
25860x75,0x21,0x56,0x22,0x59,0x73,0x70,0x71,0x23,0x74,0x24,0x5A,0x25,0x4D,0x51,0x50,
25870x26,0x54,0x55,0x57,0x58,0x72,0x2E,0x2F,0x27,0xE5,0x28,0x5B,0x29,0x4E,0x53,0x2A,
25880x31,0xFE,0x65,0x66,0x67,0xFF,0x4C,0x68,0xD3,0x69,0xDA,0x61,0x6A,0x2D,0x6B,0x90,
25890x6C,0x60,0x7D,0x7F,0x4F,0x6D,0x6E,0x6F,0xD2,0x7B,0xDB,0x62,0x77,0x78,0x79,0x91,
25900x8E,0xB2,0x8A,0x96,0x88,0x8C,0xA4,0xA2,0x98,0x9E,0xF8,0xA0,0xAA,0xB8,0xB0,0xBE,
25910xE1,0xC4,0xC6,0xCA,0xCE,0xD0,0xCC,0x63,0xEC,0xBC,0xDE,0xEA,0xE8,0xFA,0xFC,0xE0,
25920x8F,0xB3,0x8B,0x97,0x89,0x8D,0xA5,0xA3,0x99,0x9F,0xF9,0xA1,0xAB,0xB9,0xB1,0xBF,
25930xE2,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
2602static const uchar sort_order_cp1250_croatian_ci[] = {
26030x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
26040x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
26050x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
26060x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
26070x40,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
26080x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x90,0x91,0x92,0x93,0x94,
26090x95,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
26100x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x96,0x97,0x98,0x99,0x9A,
26110x9B,0x9C,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x60,0xA6,0x5F,0x62,0x6C,0x6B,
26120xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0x60,0xB1,0x5F,0x62,0x6C,0x6B,
26130xB2,0xB3,0xB4,0x54,0xB5,0x41,0xB6,0xB7,0xB8,0xB9,0x5F,0xBA,0xBB,0xBC,0xBD,0x6B,
26140xBE,0xBF,0xC0,0x54,0xC1,0xC2,0xC3,0xC4,0xC5,0x41,0x5F,0xC6,0x54,0xC7,0x54,0x6B,
26150x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48,
26160x4A,0x57,0x57,0x59,0x59,0x59,0x59,0xC8,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0x5F,
26170x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x46,0x4B,0x4B,0x4B,0x4B,0x50,0x50,0x48,
26180x4A,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
2624static const uchar ctype_latin1_general_ci[] = {
26250x00,
26260x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
26270x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
26280x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
26290x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
26300x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
26310x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
26320x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
26330x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
26340x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
26350x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
26360x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
26370x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
26380x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
26390x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
26400x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
26410x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
2642};
2643
2644static const uchar to_lower_latin1_general_ci[] = {
26450x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
26460x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
26470x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
26480x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
26490x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
26500x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
26510x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
26520x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
26530x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
26540x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
26550xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
26560xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
26570xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
26580xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
26590xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
26600xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2661};
2662
2663static const uchar to_upper_latin1_general_ci[] = {
26640x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
26650x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
26660x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
26670x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
26680x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
26690x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
26700x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
26710x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
26720x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
26730x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
26740xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
26750xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
26760xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
26770xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
26780xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
26790xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
2680};
2681
2682static const uchar sort_order_latin1_general_ci[] = {
26830x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
26840x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
26850x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
26860x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
26870x40,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
26880x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB3,0xB4,0xB5,0xB6,0xB7,
26890xB8,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
26900x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB9,0xBA,0xBB,0xBC,0xBF,
26910xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
26920xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
26930xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
26940xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
26950x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x55,0x5D,0x5F,0x61,0x63,0x6D,0x6F,0x71,0x73,
26960x59,0x7F,0x83,0x85,0x87,0x89,0x8B,0xBD,0x8D,0x9C,0x9E,0xA0,0xA2,0xAC,0xB1,0x97,
26970x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x55,0x5D,0x5F,0x61,0x63,0x6D,0x6F,0x71,0x73,
26980x59,0x7F,0x83,0x85,0x87,0x89,0x8B,0xBE,0x8D,0x9C,0x9E,0xA0,0xA2,0xAC,0xB1,0xAE
2699};
2700
2701static const uint16 to_uni_latin1_general_ci[] = {
27020x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
27030x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
27040x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
27050x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
27060x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
27070x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
27080x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
27090x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
27100x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
27110x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
27120x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
27130x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
27140x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
27150x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
27160x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
27170x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
27180x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
27190x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
27200x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
27210x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
27220x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
27230x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
27240x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
27250x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
27260x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
27270x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
27280x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
27290x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
27300x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
27310x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
27320x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
27330x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF
2734};
2735
2736#endif
2737
2738#ifdef HAVE_CHARSET_latin1
2739static const uchar ctype_latin1_general_cs[] = {
27400x00,
27410x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
27420x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
27430x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
27440x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
27450x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
27460x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
27470x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
27480x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
27490x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
27500x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
27510x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
27520x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
27530x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
27540x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
27550x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
27560x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
2757};
2758
2759static const uchar to_lower_latin1_general_cs[] = {
27600x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
27610x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
27620x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
27630x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
27640x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
27650x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
27660x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
27670x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
27680x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
27690x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
27700xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
27710xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
27720xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
27730xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
27740xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
27750xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2776};
2777
2778static const uchar to_upper_latin1_general_cs[] = {
27790x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
27800x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
27810x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
27820x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
27830x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
27840x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
27850x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
27860x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
27870x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
27880x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
27890xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
27900xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
27910xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
27920xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
27930xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
27940xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
2795};
2796
2797static const uchar sort_order_latin1_general_cs[] = {
27980x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
27990x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
28000x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
28010x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
28020x40,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
28030x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB3,0xB4,0xB5,0xB6,0xB7,
28040xB8,0x42,0x52,0x54,0x58,0x5C,0x66,0x68,0x6A,0x6C,0x76,0x78,0x7A,0x7C,0x7E,0x82,
28050x90,0x92,0x94,0x96,0x99,0x9B,0xA5,0xA7,0xA9,0xAB,0xB0,0xB9,0xBA,0xBB,0xBC,0xBF,
28060xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
28070xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
28080xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
28090xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
28100x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x55,0x5D,0x5F,0x61,0x63,0x6D,0x6F,0x71,0x73,
28110x59,0x7F,0x83,0x85,0x87,0x89,0x8B,0xBD,0x8D,0x9C,0x9E,0xA0,0xA2,0xAC,0xB1,0x97,
28120x44,0x46,0x48,0x4A,0x4C,0x4E,0x50,0x56,0x5E,0x60,0x62,0x64,0x6E,0x70,0x72,0x74,
28130x5A,0x80,0x84,0x86,0x88,0x8A,0x8C,0xBE,0x8E,0x9D,0x9F,0xA1,0xA3,0xAD,0xB2,0xAE
2814};
2815
2816static const uint16 to_uni_latin1_general_cs[] = {
28170x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
28180x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
28190x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
28200x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
28210x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
28220x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
28230x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
28240x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
28250x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
28260x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
28270x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
28280x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
28290x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
28300x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
28310x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
28320x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
28330x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
28340x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
28350x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
28360x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
28370x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
28380x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
28390x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
28400x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
28410x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
28420x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
28430x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
28440x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
28450x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
28460x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
28470x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
28480x00F8,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
2857static const uchar ctype_cp1251_general_ci[] = {
28580x00,
28590x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
28600x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
28610x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
28620x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
28630x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
28640x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
28650x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
28660x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
28670x01,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x01,0x01,0x01,
28680x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x02,0x02,0x02,
28690x00,0x01,0x02,0x01,0x00,0x01,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
28700x00,0x00,0x01,0x02,0x02,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x02,0x01,0x02,0x02,
28710x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
28720x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
28730x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
28740x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
2875};
2876
2877static const uchar to_lower_cp1251_general_ci[] = {
28780x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
28790x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
28800x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
28810x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
28820x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
28830x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
28840x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
28850x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
28860x90,0x83,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x9A,0x8B,0x9C,0x9D,0x9E,0x9F,
28870x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
28880xA0,0xA2,0xA2,0xBC,0xA4,0xB4,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
28890xB0,0xB1,0xB3,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBE,0xBE,0xBF,
28900xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
28910xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
28920xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
28930xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
2894};
2895
2896static const uchar to_upper_cp1251_general_ci[] = {
28970x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
28980x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
28990x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
29000x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
29010x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
29020x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
29030x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
29040x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
29050x80,0x81,0x82,0x81,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
29060x80,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x8A,0x9B,0x8C,0x9D,0x8E,0x8F,
29070xA0,0xA1,0xA1,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
29080xB0,0xB1,0xB2,0xB2,0xA5,0xB5,0xB6,0xB7,0xA8,0xB9,0xAA,0xBB,0xA3,0xBD,0xBD,0xAF,
29090xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
29100xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
29110xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
29120xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF
2913};
2914
2915static const uchar sort_order_cp1251_general_ci[] = {
29160x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
29170x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
29180x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
29190x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
29200x40,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D,
29210x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xD3,0xD4,0xD5,0xD6,0xD7,
29220xD8,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D,
29230x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xD9,0xDA,0xDB,0xDC,0xDD,
29240x81,0x83,0xDE,0x83,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,0xA1,0xE5,0xA7,0x9D,0xB3,0xC1,
29250x81,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xA1,0xEF,0xA7,0x9D,0xB3,0xC1,
29260xF0,0xB7,0xB7,0x99,0xF1,0x7D,0xF2,0xF3,0x87,0xF4,0x89,0xF5,0xF6,0xF7,0xF8,0x95,
29270xF9,0xFA,0x93,0x93,0x7D,0xFB,0xFC,0xFD,0x87,0xFE,0x89,0xFF,0x99,0x8F,0x8F,0x95,
29280x75,0x77,0x79,0x7B,0x7F,0x85,0x8B,0x8D,0x91,0x97,0x9B,0x9F,0xA3,0xA5,0xA9,0xAB,
29290xAD,0xAF,0xB1,0xB5,0xB9,0xBB,0xBD,0xBF,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1,
29300x75,0x77,0x79,0x7B,0x7F,0x85,0x8B,0x8D,0x91,0x97,0x9B,0x9F,0xA3,0xA5,0xA9,0xAB,
29310xAD,0xAF,0xB1,0xB5,0xB9,0xBB,0xBD,0xBF,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1
2932};
2933
2934static const uint16 to_uni_cp1251_general_ci[] = {
29350x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
29360x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
29370x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
29380x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
29390x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
29400x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
29410x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
29420x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
29430x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
29440x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
29450x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
29460x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
29470x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
29480x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
29490x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
29500x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
29510x0402,0x0403,0x201A,0x0453,0x201E,0x2026,0x2020,0x2021,
29520x20AC,0x2030,0x0409,0x2039,0x040A,0x040C,0x040B,0x040F,
29530x0452,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
29540x0000,0x2122,0x0459,0x203A,0x045A,0x045C,0x045B,0x045F,
29550x00A0,0x040E,0x045E,0x0408,0x00A4,0x0490,0x00A6,0x00A7,
29560x0401,0x00A9,0x0404,0x00AB,0x00AC,0x00AD,0x00AE,0x0407,
29570x00B0,0x00B1,0x0406,0x0456,0x0491,0x00B5,0x00B6,0x00B7,
29580x0451,0x2116,0x0454,0x00BB,0x0458,0x0405,0x0455,0x0457,
29590x0410,0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,
29600x0418,0x0419,0x041A,0x041B,0x041C,0x041D,0x041E,0x041F,
29610x0420,0x0421,0x0422,0x0423,0x0424,0x0425,0x0426,0x0427,
29620x0428,0x0429,0x042A,0x042B,0x042C,0x042D,0x042E,0x042F,
29630x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,
29640x0438,0x0439,0x043A,0x043B,0x043C,0x043D,0x043E,0x043F,
29650x0440,0x0441,0x0442,0x0443,0x0444,0x0445,0x0446,0x0447,
29660x0448,0x0449,0x044A,0x044B,0x044C,0x044D,0x044E,0x044F
2967};
2968
2969#endif
2970
2971#ifdef HAVE_CHARSET_cp1251
2972static const uchar sort_order_cp1251_general_cs[] = {
29730x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
29740x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
29750x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
29760x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
29770x40,0x41,0x43,0x45,0x47,0x49,0x4B,0x4D,0x4F,0x51,0x53,0x55,0x57,0x59,0x5B,0x5D,
29780x5F,0x61,0x63,0x65,0x67,0x69,0x6B,0x6D,0x6F,0x71,0x73,0xD3,0xD4,0xD5,0xD6,0xD7,
29790xD8,0x42,0x44,0x46,0x48,0x4A,0x4C,0x4E,0x50,0x52,0x54,0x56,0x58,0x5A,0x5C,0x5E,
29800x60,0x62,0x64,0x66,0x68,0x6A,0x6C,0x6E,0x70,0x72,0x74,0xD9,0xDA,0xDB,0xDC,0xDD,
29810x81,0x83,0xDE,0x84,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,0xA1,0xE5,0xA7,0x9D,0xB3,0xC1,
29820x82,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xA2,0xEF,0xA8,0x9E,0xB4,0xC2,
29830xF0,0xB7,0xB8,0x99,0xF1,0x7D,0xF2,0xF3,0x87,0xF4,0x89,0xF5,0xF6,0xF7,0xF8,0x95,
29840xF9,0xFA,0x93,0x94,0x7E,0xFB,0xFC,0xFD,0x88,0xFE,0x8A,0xFF,0x9A,0x8F,0x90,0x96,
29850x75,0x77,0x79,0x7B,0x7F,0x85,0x8B,0x8D,0x91,0x97,0x9B,0x9F,0xA3,0xA5,0xA9,0xAB,
29860xAD,0xAF,0xB1,0xB5,0xB9,0xBB,0xBD,0xBF,0xC3,0xC5,0xC7,0xC9,0xCB,0xCD,0xCF,0xD1,
29870x76,0x78,0x7A,0x7C,0x80,0x86,0x8C,0x8E,0x92,0x98,0x9C,0xA0,0xA4,0xA6,0xAA,0xAC,
29880xAE,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
2997static const uchar ctype_cp1256_general_ci[] = {
29980x00,
29990x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
30000x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
30010x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
30020x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
30030x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
30040x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x00,0x00,
30050x00,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
30060x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
30070x00,0x03,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x03,0x00,
30080x03,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,
30090x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x10,0x00,0x00,
30100x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x10,
30110x00,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
30120x03,0x03,0x03,0x03,0x03,0x03,0x03,0x00,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
30130x02,0x03,0x02,0x03,0x03,0x03,0x03,0x02,0x02,0x02,0x02,0x02,0x03,0x03,0x02,0x02,
30140x03,0x03,0x03,0x03,0x02,0x03,0x03,0x00,0x03,0x02,0x03,0x02,0x02,0x00,0x00,0x00
3015};
3016
3017static const uchar to_lower_cp1256_general_ci[] = {
30180x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
30190x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
30200x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
30210x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
30220x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
30230x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
30240x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
30250x70,0x71,0x72,0x73,0x54,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
30260x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x9C,0x8D,0x8E,0x8F,
30270x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
30280xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
30290xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
30300xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
30310xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
30320xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
30330xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
3034};
3035
3036static const uchar to_upper_cp1256_general_ci[] = {
30370x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
30380x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
30390x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
30400x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
30410x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
30420x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5F,0x5E,0x5F,
30430x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
30440x50,0x51,0x52,0x53,0x74,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7F,0x7E,0x7F,
30450x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
30460x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x8C,0x9D,0x9E,0x9F,
30470xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
30480xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
30490xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
30500xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
30510xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
30520xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
3053};
3054
3055static const uchar sort_order_cp1256_general_ci[] = {
30560x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
30570x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
30580x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
30590x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
30600x40,0x41,0x45,0x47,0x4A,0x4C,0x52,0x55,0x57,0x59,0x5D,0x5F,0x61,0x63,0x65,0x67,
30610x6C,0x6E,0x70,0x72,0x74,0x76,0x7B,0x7D,0x7F,0x81,0x83,0xB9,0xBA,0xBB,0xBC,0xBD,
30620xBE,0x41,0x45,0x47,0x4A,0x4C,0x52,0x55,0x57,0x59,0x5D,0x5F,0x61,0x63,0x65,0x67,
30630x6C,0x6E,0x70,0x72,0x74,0x76,0x7B,0x7D,0x7F,0x81,0x83,0xBF,0xC0,0xC1,0xC2,0xC3,
30640xC4,0x8E,0xC5,0x54,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0x6A,0x92,0x99,0xCE,
30650xA5,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0x6A,0xDA,0xDB,0xDC,
30660xDD,0xB6,0xDE,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,
30670xEC,0xED,0xEE,0xEF,0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xB7,0xF6,0xF7,0xF8,0xF9,0xB8,
30680xFA,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x9F,0x90,0x91,0x93,0x94,0x95,
30690x96,0x97,0x98,0x9A,0x9B,0x9C,0x9D,0xFB,0x9E,0x9F,0xA0,0xA1,0xAD,0xA2,0xA3,0xA4,
30700x43,0xA6,0x44,0xA7,0xA8,0xA9,0xAA,0x49,0x4E,0x4F,0x50,0x51,0xAB,0xAC,0x5B,0x5C,
30710xAE,0xAF,0xB0,0xB1,0x69,0xB2,0xB3,0xFC,0xB4,0x78,0xB5,0x79,0x7A,0xFD,0xFE,0xFF
3072};
3073
3074static const uint16 to_uni_cp1256_general_ci[] = {
30750x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
30760x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
30770x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
30780x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
30790x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
30800x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
30810x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
30820x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
30830x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
30840x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
30850x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
30860x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
30870x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
30880x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
30890x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
30900x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
30910x20AC,0x067E,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
30920x02C6,0x2030,0x0000,0x2039,0x0152,0x0686,0x0698,0x0000,
30930x06AF,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
30940x0000,0x2122,0x0000,0x203A,0x0153,0x200C,0x200D,0x0000,
30950x00A0,0x060C,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
30960x00A8,0x00A9,0x0000,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
30970x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
30980x00B8,0x00B9,0x061B,0x00BB,0x00BC,0x00BD,0x00BE,0x061F,
30990x0000,0x0621,0x0622,0x0623,0x0624,0x0625,0x0626,0x0627,
31000x0628,0x0629,0x062A,0x062B,0x062C,0x062D,0x062E,0x062F,
31010x0630,0x0631,0x0632,0x0633,0x0634,0x0635,0x0636,0x00D7,
31020x0637,0x0638,0x0639,0x063A,0x0640,0x0641,0x0642,0x0643,
31030x00E0,0x0644,0x00E2,0x0645,0x0646,0x0647,0x0648,0x00E7,
31040x00E8,0x00E9,0x00EA,0x00EB,0x0649,0x064A,0x00EE,0x00EF,
31050x064B,0x064C,0x064D,0x064E,0x00F4,0x064F,0x0650,0x00F7,
31060x0651,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
3115static const uchar ctype_cp1257_general_ci[] = {
31160x00,
31170x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
31180x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
31190x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
31200x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
31210x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
31220x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
31230x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
31240x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x00,
31250x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
31260x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
31270x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x01,
31280x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x02,
31290x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
31300x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
31310x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
31320x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x00
3133};
3134
3135static const uchar to_lower_cp1257_general_ci[] = {
31360x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
31370x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
31380x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
31390x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
31400x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
31410x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
31420x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
31430x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
31440x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
31450x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
31460xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xB8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xBF,
31470xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
31480xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
31490xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
31500xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
31510xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
3152};
3153
3154static const uchar to_upper_cp1257_general_ci[] = {
31550x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
31560x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
31570x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
31580x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
31590x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
31600x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
31610x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
31620x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
31630x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
31640x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
31650xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xBA,0xAB,0xAC,0xAD,0xAE,0xAF,
31660xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xA8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xAF,
31670xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
31680xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
31690xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
31700xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
3171};
3172
3173static const uchar sort_order_cp1257_general_ci[] = {
31740x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
31750x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
31760x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
31770x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
31780x40,0x41,0x4D,0x4F,0x55,0x57,0x61,0x63,0x67,0x69,0x6F,0x71,0x75,0x7B,0x7D,0x83,
31790x8F,0x91,0x93,0x97,0x9E,0xA0,0xA8,0xAA,0xAC,0xAE,0xB0,0xB8,0xB9,0xBA,0xBB,0xBC,
31800xBD,0x41,0x4D,0x4F,0x55,0x57,0x61,0x63,0x67,0x69,0x6F,0x71,0x75,0x7B,0x7D,0x83,
31810x8F,0x91,0x93,0x97,0x9E,0xA0,0xA8,0xAA,0xAC,0xAE,0xB0,0xBE,0xBF,0xC0,0xC1,0xC4,
31820xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,0xD0,0xD1,0xD2,0xD3,0xD4,
31830xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,0xE0,0xE1,0xE2,0xE3,0xE4,
31840xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0x83,0xED,0x93,0xEE,0xEF,0xF0,0xF1,0x41,
31850xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0x83,0xFA,0x93,0xFB,0xFC,0xFD,0xFE,0x41,
31860x41,0x69,0x41,0x4F,0x41,0x41,0x57,0x57,0x4F,0x57,0xB0,0x57,0x63,0x71,0x69,0x75,
31870x97,0x7D,0x7D,0x83,0x83,0x83,0x83,0xC2,0xA0,0x75,0x97,0xA0,0xA0,0xB0,0xB0,0x97,
31880x41,0x69,0x41,0x4F,0x41,0x41,0x57,0x57,0x4F,0x57,0xB0,0x57,0x63,0x71,0x69,0x75,
31890x97,0x7D,0x7D,0x83,0x83,0x83,0x83,0xC3,0xA0,0x75,0x97,0xA0,0xA0,0xB0,0xB0,0xFF
3190};
3191
3192static const uint16 to_uni_cp1257_general_ci[] = {
31930x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
31940x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
31950x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
31960x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
31970x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
31980x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
31990x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
32000x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
32010x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
32020x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
32030x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
32040x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
32050x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
32060x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
32070x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
32080x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
32090x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
32100x0000,0x2030,0x0000,0x2039,0x0000,0x00A8,0x02C7,0x00B8,
32110x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
32120x0000,0x2122,0x0000,0x203A,0x0000,0x00AF,0x02DB,0x0000,
32130x00A0,0x0000,0x00A2,0x00A3,0x00A4,0x0000,0x00A6,0x00A7,
32140x00D8,0x00A9,0x0156,0x00AB,0x00AC,0x00AD,0x00AE,0x00C6,
32150x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
32160x00F8,0x00B9,0x0157,0x00BB,0x00BC,0x00BD,0x00BE,0x00E6,
32170x0104,0x012E,0x0100,0x0106,0x00C4,0x00C5,0x0118,0x0112,
32180x010C,0x00C9,0x0179,0x0116,0x0122,0x0136,0x012A,0x013B,
32190x0160,0x0143,0x0145,0x00D3,0x014C,0x00D5,0x00D6,0x00D7,
32200x0172,0x0141,0x015A,0x016A,0x00DC,0x017B,0x017D,0x00DF,
32210x0105,0x012F,0x0101,0x0107,0x00E4,0x00E5,0x0119,0x0113,
32220x010D,0x00E9,0x017A,0x0117,0x0123,0x0137,0x012B,0x013C,
32230x0161,0x0144,0x0146,0x00F3,0x014D,0x00F5,0x00F6,0x00F7,
32240x0173,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
3284static const uchar ctype_geostd8_general_ci[] = {
32850x00,
32860x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
32870x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
32880x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
32890x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
32900x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
32910x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
32920x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
32930x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
32940x00,0x00,0x10,0x00,0x10,0x10,0x10,0x10,0x00,0x10,0x00,0x10,0x00,0x00,0x00,0x00,
32950x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,
32960x48,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
32970x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
32980x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
32990x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,
33000x03,0x03,0x03,0x03,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
33010x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
3302};
3303
3304static const uchar to_lower_geostd8_general_ci[] = {
33050x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
33060x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
33070x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
33080x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
33090x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
33100x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
33110x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
33120x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
33130x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
33140x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
33150xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
33160xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
33170xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
33180xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
33190xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
33200xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
3321};
3322
3323static const uchar to_upper_geostd8_general_ci[] = {
33240x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
33250x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
33260x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
33270x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
33280x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
33290x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
33300x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
33310x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
33320x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
33330x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
33340xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
33350xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
33360xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
33370xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
33380xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
33390xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
3340};
3341
3342static const uchar sort_order_geostd8_general_ci[] = {
33430x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
33440x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
33450x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
33460x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
33470x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
33480x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
33490x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
33500x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
33510x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
33520x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
33530xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
33540xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
33550xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
33560xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
33570xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
33580xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
3359};
3360
3361static const uint16 to_uni_geostd8_general_ci[] = {
33620x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
33630x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
33640x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
33650x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
33660x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
33670x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
33680x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
33690x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
33700x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
33710x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
33720x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
33730x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
33740x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
33750x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
33760x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
33770x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
33780x20AC,0x0000,0x201A,0x0000,0x201E,0x2026,0x2020,0x2021,
33790x0000,0x2030,0x0000,0x2039,0x0000,0x0000,0x0000,0x0000,
33800x0000,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
33810x0000,0x0000,0x0000,0x203A,0x0000,0x0000,0x0000,0x0000,
33820x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
33830x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
33840x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
33850x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
33860x10D0,0x10D1,0x10D2,0x10D3,0x10D4,0x10D5,0x10D6,0x10F1,
33870x10D7,0x10D8,0x10D9,0x10DA,0x10DB,0x10DC,0x10F2,0x10DD,
33880x10DE,0x10DF,0x10E0,0x10E1,0x10E2,0x10F3,0x10E3,0x10E4,
33890x10E5,0x10E6,0x10E7,0x10E8,0x10E9,0x10EA,0x10EB,0x10EC,
33900x10ED,0x10EE,0x10F4,0x10EF,0x10F0,0x10F5,0x0000,0x0000,
33910x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
33920x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
33930x0000,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
3402static const uchar ctype_latin1_spanish_ci[] = {
34030x00,
34040x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x28,0x28,0x28,0x28,0x28,0x20,0x20,
34050x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,
34060x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
34070x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x84,0x10,0x10,0x10,0x10,0x10,0x10,
34080x10,0x81,0x81,0x81,0x81,0x81,0x81,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
34090x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x10,0x10,0x10,0x10,
34100x10,0x82,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
34110x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x10,0x10,0x10,0x20,
34120x10,0x00,0x10,0x02,0x10,0x10,0x10,0x10,0x10,0x10,0x01,0x10,0x01,0x00,0x01,0x00,
34130x00,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x02,0x10,0x02,0x00,0x02,0x01,
34140x48,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
34150x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
34160x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,
34170x01,0x01,0x01,0x01,0x01,0x01,0x01,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x02,
34180x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,
34190x02,0x02,0x02,0x02,0x02,0x02,0x02,0x10,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02
3420};
3421
3422static const uchar to_lower_latin1_spanish_ci[] = {
34230x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
34240x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
34250x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
34260x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
34270x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
34280x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x5B,0x5C,0x5D,0x5E,0x5F,
34290x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6A,0x6B,0x6C,0x6D,0x6E,0x6F,
34300x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7A,0x7B,0x7C,0x7D,0x7E,0x7F,
34310x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
34320x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
34330xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
34340xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
34350xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
34360xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xD7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xDF,
34370xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
34380xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF
3439};
3440
3441static const uchar to_upper_latin1_spanish_ci[] = {
34420x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
34430x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
34440x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
34450x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
34460x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
34470x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x5B,0x5C,0x5D,0x5E,0x5F,
34480x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4A,0x4B,0x4C,0x4D,0x4E,0x4F,
34490x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5A,0x7B,0x7C,0x7D,0x7E,0x7F,
34500x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x88,0x89,0x8A,0x8B,0x8C,0x8D,0x8E,0x8F,
34510x90,0x91,0x92,0x93,0x94,0x95,0x96,0x97,0x98,0x99,0x9A,0x9B,0x9C,0x9D,0x9E,0x9F,
34520xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0xA6,0xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,
34530xB0,0xB1,0xB2,0xB3,0xB4,0xB5,0xB6,0xB7,0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF,
34540xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
34550xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
34560xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
34570xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xF7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xFF
3458};
3459
3460static const uchar sort_order_latin1_spanish_ci[] = {
34610x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
34620x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
34630x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
34640x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
34650x40,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
34660x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB3,0xB4,0xB5,0xB6,0xB7,
34670xB8,0x41,0x51,0x53,0x57,0x5B,0x65,0x67,0x69,0x6B,0x75,0x77,0x79,0x7B,0x7D,0x81,
34680x8F,0x91,0x93,0x95,0x98,0x9A,0xA4,0xA6,0xA8,0xAA,0xAF,0xB9,0xBA,0xBB,0xBC,0xBF,
34690xC0,0xC1,0xC2,0xC3,0xC4,0xC5,0xC6,0xC7,0xC8,0xC9,0xCA,0xCB,0xCC,0xCD,0xCE,0xCF,
34700xD0,0xD1,0xD2,0xD3,0xD4,0xD5,0xD6,0xD7,0xD8,0xD9,0xDA,0xDB,0xDC,0xDD,0xDE,0xDF,
34710xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,
34720xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF,
34730x41,0x41,0x41,0x41,0x41,0x41,0x41,0x53,0x5B,0x5B,0x5B,0x5B,0x6B,0x6B,0x6B,0x6B,
34740x57,0x7F,0x81,0x81,0x81,0x81,0x81,0xBD,0x81,0x9A,0x9A,0x9A,0x9A,0xAA,0xB1,0x97,
34750x41,0x41,0x41,0x41,0x41,0x41,0x41,0x53,0x5B,0x5B,0x5B,0x5B,0x6B,0x6B,0x6B,0x6B,
34760x57,0x7F,0x81,0x81,0x81,0x81,0x81,0xBE,0x81,0x9A,0x9A,0x9A,0x9A,0xAA,0xB1,0xAA
3477};
3478
3479static const uint16 to_uni_latin1_spanish_ci[] = {
34800x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007,
34810x0008,0x0009,0x000A,0x000B,0x000C,0x000D,0x000E,0x000F,
34820x0010,0x0011,0x0012,0x0013,0x0014,0x0015,0x0016,0x0017,
34830x0018,0x0019,0x001A,0x001B,0x001C,0x001D,0x001E,0x001F,
34840x0020,0x0021,0x0022,0x0023,0x0024,0x0025,0x0026,0x0027,
34850x0028,0x0029,0x002A,0x002B,0x002C,0x002D,0x002E,0x002F,
34860x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,
34870x0038,0x0039,0x003A,0x003B,0x003C,0x003D,0x003E,0x003F,
34880x0040,0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,
34890x0048,0x0049,0x004A,0x004B,0x004C,0x004D,0x004E,0x004F,
34900x0050,0x0051,0x0052,0x0053,0x0054,0x0055,0x0056,0x0057,
34910x0058,0x0059,0x005A,0x005B,0x005C,0x005D,0x005E,0x005F,
34920x0060,0x0061,0x0062,0x0063,0x0064,0x0065,0x0066,0x0067,
34930x0068,0x0069,0x006A,0x006B,0x006C,0x006D,0x006E,0x006F,
34940x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,
34950x0078,0x0079,0x007A,0x007B,0x007C,0x007D,0x007E,0x007F,
34960x20AC,0x0081,0x201A,0x0192,0x201E,0x2026,0x2020,0x2021,
34970x02C6,0x2030,0x0160,0x2039,0x0152,0x008D,0x017D,0x008F,
34980x0090,0x2018,0x2019,0x201C,0x201D,0x2022,0x2013,0x2014,
34990x02DC,0x2122,0x0161,0x203A,0x0153,0x009D,0x017E,0x0178,
35000x00A0,0x00A1,0x00A2,0x00A3,0x00A4,0x00A5,0x00A6,0x00A7,
35010x00A8,0x00A9,0x00AA,0x00AB,0x00AC,0x00AD,0x00AE,0x00AF,
35020x00B0,0x00B1,0x00B2,0x00B3,0x00B4,0x00B5,0x00B6,0x00B7,
35030x00B8,0x00B9,0x00BA,0x00BB,0x00BC,0x00BD,0x00BE,0x00BF,
35040x00C0,0x00C1,0x00C2,0x00C3,0x00C4,0x00C5,0x00C6,0x00C7,
35050x00C8,0x00C9,0x00CA,0x00CB,0x00CC,0x00CD,0x00CE,0x00CF,
35060x00D0,0x00D1,0x00D2,0x00D3,0x00D4,0x00D5,0x00D6,0x00D7,
35070x00D8,0x00D9,0x00DA,0x00DB,0x00DC,0x00DD,0x00DE,0x00DF,
35080x00E0,0x00E1,0x00E2,0x00E3,0x00E4,0x00E5,0x00E6,0x00E7,
35090x00E8,0x00E9,0x00EA,0x00EB,0x00EC,0x00ED,0x00EE,0x00EF,
35100x00F0,0x00F1,0x00F2,0x00F3,0x00F4,0x00F5,0x00F6,0x00F7,
35110x00F8,0x00F9,0x00FA,0x00FB,0x00FC,0x00FD,0x00FE,0x00FF
3512};
3513
3514#endif
3515
3516#ifdef HAVE_CHARSET_cp1250
3517static const uchar sort_order_cp1250_polish_ci[] = {
35180x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,
35190x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,
35200x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,
35210x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x3E,0x3F,
35220x40,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
35230x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x90,0x91,0x92,0x93,0x94,
35240x95,0x41,0x43,0x44,0x48,0x4B,0x4D,0x4E,0x4F,0x50,0x52,0x53,0x54,0x56,0x57,0x59,
35250x5B,0x5C,0x5D,0x5F,0x62,0x64,0x66,0x67,0x68,0x69,0x6B,0x96,0x97,0x98,0x99,0x9A,
35260x9B,0x9C,0x9E,0x9F,0xA0,0xA1,0xA2,0xA3,0xA4,0xA5,0x5F,0xA6,0x60,0x62,0x6B,0x6C,
35270xA7,0xA8,0xA9,0xAA,0xAB,0xAC,0xAD,0xAE,0xAF,0xB0,0x5F,0xB1,0x60,0x62,0x6B,0x6C,
35280xB2,0xB3,0xB4,0x55,0xB5,0x42,0xB6,0xB7,0xB8,0xB9,0x5F,0xBA,0xBB,0xBC,0xBD,0x6D,
35290xBE,0xBF,0xC0,0x55,0xC1,0xC2,0xC3,0xC4,0xC5,0x42,0x5F,0xC6,0x54,0xC7,0x54,0x6D,
35300x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x44,0x4B,0x4C,0x4B,0x4B,0x50,0x50,0x48,
35310x48,0x58,0x57,0x5A,0x59,0x59,0x59,0xC8,0x5D,0x64,0x64,0x64,0x64,0x69,0x62,0x5F,
35320x5D,0x41,0x41,0x41,0x41,0x54,0x47,0x44,0x44,0x4B,0x4C,0x4B,0x4B,0x50,0x50,0x48,
35330x48,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
3676struct 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