mysqlx-connector-python 8.3.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mysqlx/charsets.py ADDED
@@ -0,0 +1,620 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ # Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
4
+ #
5
+ # This program is free software; you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License, version 2.0, as
7
+ # published by the Free Software Foundation.
8
+ #
9
+ # This program is also distributed with certain software (including
10
+ # but not limited to OpenSSL) that is licensed under separate terms,
11
+ # as designated in a particular file or component or in included license
12
+ # documentation. The authors of MySQL hereby grant you an
13
+ # additional permission to link the program and your derivative works
14
+ # with the separately licensed software that they have included with
15
+ # MySQL.
16
+ #
17
+ # Without limiting anything contained in the foregoing, this file,
18
+ # which is part of MySQL Connector/Python, is also subject to the
19
+ # Universal FOSS Exception, version 1.0, a copy of which can be found at
20
+ # http://oss.oracle.com/licenses/universal-foss-exception.
21
+ #
22
+ # This program is distributed in the hope that it will be useful, but
23
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
24
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25
+ # See the GNU General Public License, version 2.0, for more details.
26
+ #
27
+ # You should have received a copy of the GNU General Public License
28
+ # along with this program; if not, write to the Free Software Foundation, Inc.,
29
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30
+
31
+ """This module contains the MySQL Server Character Sets."""
32
+
33
+ # This file was auto-generated.
34
+ from typing import List, Optional, Tuple
35
+
36
+ _GENERATED_ON = "2022-05-09"
37
+ _MYSQL_VERSION = (8, 0, 30)
38
+
39
+ MYSQL_CHARACTER_SETS: List[Optional[Tuple[str, str, bool]]] = [
40
+ # (character set name, collation, default)
41
+ None,
42
+ ("big5", "big5_chinese_ci", True), # 1
43
+ ("latin2", "latin2_czech_cs", False), # 2
44
+ ("dec8", "dec8_swedish_ci", True), # 3
45
+ ("cp850", "cp850_general_ci", True), # 4
46
+ ("latin1", "latin1_german1_ci", False), # 5
47
+ ("hp8", "hp8_english_ci", True), # 6
48
+ ("koi8r", "koi8r_general_ci", True), # 7
49
+ ("latin1", "latin1_swedish_ci", True), # 8
50
+ ("latin2", "latin2_general_ci", True), # 9
51
+ ("swe7", "swe7_swedish_ci", True), # 10
52
+ ("ascii", "ascii_general_ci", True), # 11
53
+ ("ujis", "ujis_japanese_ci", True), # 12
54
+ ("sjis", "sjis_japanese_ci", True), # 13
55
+ ("cp1251", "cp1251_bulgarian_ci", False), # 14
56
+ ("latin1", "latin1_danish_ci", False), # 15
57
+ ("hebrew", "hebrew_general_ci", True), # 16
58
+ None,
59
+ ("tis620", "tis620_thai_ci", True), # 18
60
+ ("euckr", "euckr_korean_ci", True), # 19
61
+ ("latin7", "latin7_estonian_cs", False), # 20
62
+ ("latin2", "latin2_hungarian_ci", False), # 21
63
+ ("koi8u", "koi8u_general_ci", True), # 22
64
+ ("cp1251", "cp1251_ukrainian_ci", False), # 23
65
+ ("gb2312", "gb2312_chinese_ci", True), # 24
66
+ ("greek", "greek_general_ci", True), # 25
67
+ ("cp1250", "cp1250_general_ci", True), # 26
68
+ ("latin2", "latin2_croatian_ci", False), # 27
69
+ ("gbk", "gbk_chinese_ci", True), # 28
70
+ ("cp1257", "cp1257_lithuanian_ci", False), # 29
71
+ ("latin5", "latin5_turkish_ci", True), # 30
72
+ ("latin1", "latin1_german2_ci", False), # 31
73
+ ("armscii8", "armscii8_general_ci", True), # 32
74
+ ("utf8mb3", "utf8mb3_general_ci", True), # 33
75
+ ("cp1250", "cp1250_czech_cs", False), # 34
76
+ ("ucs2", "ucs2_general_ci", True), # 35
77
+ ("cp866", "cp866_general_ci", True), # 36
78
+ ("keybcs2", "keybcs2_general_ci", True), # 37
79
+ ("macce", "macce_general_ci", True), # 38
80
+ ("macroman", "macroman_general_ci", True), # 39
81
+ ("cp852", "cp852_general_ci", True), # 40
82
+ ("latin7", "latin7_general_ci", True), # 41
83
+ ("latin7", "latin7_general_cs", False), # 42
84
+ ("macce", "macce_bin", False), # 43
85
+ ("cp1250", "cp1250_croatian_ci", False), # 44
86
+ ("utf8mb4", "utf8mb4_general_ci", False), # 45
87
+ ("utf8mb4", "utf8mb4_bin", False), # 46
88
+ ("latin1", "latin1_bin", False), # 47
89
+ ("latin1", "latin1_general_ci", False), # 48
90
+ ("latin1", "latin1_general_cs", False), # 49
91
+ ("cp1251", "cp1251_bin", False), # 50
92
+ ("cp1251", "cp1251_general_ci", True), # 51
93
+ ("cp1251", "cp1251_general_cs", False), # 52
94
+ ("macroman", "macroman_bin", False), # 53
95
+ ("utf16", "utf16_general_ci", True), # 54
96
+ ("utf16", "utf16_bin", False), # 55
97
+ ("utf16le", "utf16le_general_ci", True), # 56
98
+ ("cp1256", "cp1256_general_ci", True), # 57
99
+ ("cp1257", "cp1257_bin", False), # 58
100
+ ("cp1257", "cp1257_general_ci", True), # 59
101
+ ("utf32", "utf32_general_ci", True), # 60
102
+ ("utf32", "utf32_bin", False), # 61
103
+ ("utf16le", "utf16le_bin", False), # 62
104
+ ("binary", "binary", True), # 63
105
+ ("armscii8", "armscii8_bin", False), # 64
106
+ ("ascii", "ascii_bin", False), # 65
107
+ ("cp1250", "cp1250_bin", False), # 66
108
+ ("cp1256", "cp1256_bin", False), # 67
109
+ ("cp866", "cp866_bin", False), # 68
110
+ ("dec8", "dec8_bin", False), # 69
111
+ ("greek", "greek_bin", False), # 70
112
+ ("hebrew", "hebrew_bin", False), # 71
113
+ ("hp8", "hp8_bin", False), # 72
114
+ ("keybcs2", "keybcs2_bin", False), # 73
115
+ ("koi8r", "koi8r_bin", False), # 74
116
+ ("koi8u", "koi8u_bin", False), # 75
117
+ ("utf8mb3", "utf8mb3_tolower_ci", False), # 76
118
+ ("latin2", "latin2_bin", False), # 77
119
+ ("latin5", "latin5_bin", False), # 78
120
+ ("latin7", "latin7_bin", False), # 79
121
+ ("cp850", "cp850_bin", False), # 80
122
+ ("cp852", "cp852_bin", False), # 81
123
+ ("swe7", "swe7_bin", False), # 82
124
+ ("utf8mb3", "utf8mb3_bin", False), # 83
125
+ ("big5", "big5_bin", False), # 84
126
+ ("euckr", "euckr_bin", False), # 85
127
+ ("gb2312", "gb2312_bin", False), # 86
128
+ ("gbk", "gbk_bin", False), # 87
129
+ ("sjis", "sjis_bin", False), # 88
130
+ ("tis620", "tis620_bin", False), # 89
131
+ ("ucs2", "ucs2_bin", False), # 90
132
+ ("ujis", "ujis_bin", False), # 91
133
+ ("geostd8", "geostd8_general_ci", True), # 92
134
+ ("geostd8", "geostd8_bin", False), # 93
135
+ ("latin1", "latin1_spanish_ci", False), # 94
136
+ ("cp932", "cp932_japanese_ci", True), # 95
137
+ ("cp932", "cp932_bin", False), # 96
138
+ ("eucjpms", "eucjpms_japanese_ci", True), # 97
139
+ ("eucjpms", "eucjpms_bin", False), # 98
140
+ ("cp1250", "cp1250_polish_ci", False), # 99
141
+ None,
142
+ ("utf16", "utf16_unicode_ci", False), # 101
143
+ ("utf16", "utf16_icelandic_ci", False), # 102
144
+ ("utf16", "utf16_latvian_ci", False), # 103
145
+ ("utf16", "utf16_romanian_ci", False), # 104
146
+ ("utf16", "utf16_slovenian_ci", False), # 105
147
+ ("utf16", "utf16_polish_ci", False), # 106
148
+ ("utf16", "utf16_estonian_ci", False), # 107
149
+ ("utf16", "utf16_spanish_ci", False), # 108
150
+ ("utf16", "utf16_swedish_ci", False), # 109
151
+ ("utf16", "utf16_turkish_ci", False), # 110
152
+ ("utf16", "utf16_czech_ci", False), # 111
153
+ ("utf16", "utf16_danish_ci", False), # 112
154
+ ("utf16", "utf16_lithuanian_ci", False), # 113
155
+ ("utf16", "utf16_slovak_ci", False), # 114
156
+ ("utf16", "utf16_spanish2_ci", False), # 115
157
+ ("utf16", "utf16_roman_ci", False), # 116
158
+ ("utf16", "utf16_persian_ci", False), # 117
159
+ ("utf16", "utf16_esperanto_ci", False), # 118
160
+ ("utf16", "utf16_hungarian_ci", False), # 119
161
+ ("utf16", "utf16_sinhala_ci", False), # 120
162
+ ("utf16", "utf16_german2_ci", False), # 121
163
+ ("utf16", "utf16_croatian_ci", False), # 122
164
+ ("utf16", "utf16_unicode_520_ci", False), # 123
165
+ ("utf16", "utf16_vietnamese_ci", False), # 124
166
+ None,
167
+ None,
168
+ None,
169
+ ("ucs2", "ucs2_unicode_ci", False), # 128
170
+ ("ucs2", "ucs2_icelandic_ci", False), # 129
171
+ ("ucs2", "ucs2_latvian_ci", False), # 130
172
+ ("ucs2", "ucs2_romanian_ci", False), # 131
173
+ ("ucs2", "ucs2_slovenian_ci", False), # 132
174
+ ("ucs2", "ucs2_polish_ci", False), # 133
175
+ ("ucs2", "ucs2_estonian_ci", False), # 134
176
+ ("ucs2", "ucs2_spanish_ci", False), # 135
177
+ ("ucs2", "ucs2_swedish_ci", False), # 136
178
+ ("ucs2", "ucs2_turkish_ci", False), # 137
179
+ ("ucs2", "ucs2_czech_ci", False), # 138
180
+ ("ucs2", "ucs2_danish_ci", False), # 139
181
+ ("ucs2", "ucs2_lithuanian_ci", False), # 140
182
+ ("ucs2", "ucs2_slovak_ci", False), # 141
183
+ ("ucs2", "ucs2_spanish2_ci", False), # 142
184
+ ("ucs2", "ucs2_roman_ci", False), # 143
185
+ ("ucs2", "ucs2_persian_ci", False), # 144
186
+ ("ucs2", "ucs2_esperanto_ci", False), # 145
187
+ ("ucs2", "ucs2_hungarian_ci", False), # 146
188
+ ("ucs2", "ucs2_sinhala_ci", False), # 147
189
+ ("ucs2", "ucs2_german2_ci", False), # 148
190
+ ("ucs2", "ucs2_croatian_ci", False), # 149
191
+ ("ucs2", "ucs2_unicode_520_ci", False), # 150
192
+ ("ucs2", "ucs2_vietnamese_ci", False), # 151
193
+ None,
194
+ None,
195
+ None,
196
+ None,
197
+ None,
198
+ None,
199
+ None,
200
+ ("ucs2", "ucs2_general_mysql500_ci", False), # 159
201
+ ("utf32", "utf32_unicode_ci", False), # 160
202
+ ("utf32", "utf32_icelandic_ci", False), # 161
203
+ ("utf32", "utf32_latvian_ci", False), # 162
204
+ ("utf32", "utf32_romanian_ci", False), # 163
205
+ ("utf32", "utf32_slovenian_ci", False), # 164
206
+ ("utf32", "utf32_polish_ci", False), # 165
207
+ ("utf32", "utf32_estonian_ci", False), # 166
208
+ ("utf32", "utf32_spanish_ci", False), # 167
209
+ ("utf32", "utf32_swedish_ci", False), # 168
210
+ ("utf32", "utf32_turkish_ci", False), # 169
211
+ ("utf32", "utf32_czech_ci", False), # 170
212
+ ("utf32", "utf32_danish_ci", False), # 171
213
+ ("utf32", "utf32_lithuanian_ci", False), # 172
214
+ ("utf32", "utf32_slovak_ci", False), # 173
215
+ ("utf32", "utf32_spanish2_ci", False), # 174
216
+ ("utf32", "utf32_roman_ci", False), # 175
217
+ ("utf32", "utf32_persian_ci", False), # 176
218
+ ("utf32", "utf32_esperanto_ci", False), # 177
219
+ ("utf32", "utf32_hungarian_ci", False), # 178
220
+ ("utf32", "utf32_sinhala_ci", False), # 179
221
+ ("utf32", "utf32_german2_ci", False), # 180
222
+ ("utf32", "utf32_croatian_ci", False), # 181
223
+ ("utf32", "utf32_unicode_520_ci", False), # 182
224
+ ("utf32", "utf32_vietnamese_ci", False), # 183
225
+ None,
226
+ None,
227
+ None,
228
+ None,
229
+ None,
230
+ None,
231
+ None,
232
+ None,
233
+ ("utf8mb3", "utf8mb3_unicode_ci", False), # 192
234
+ ("utf8mb3", "utf8mb3_icelandic_ci", False), # 193
235
+ ("utf8mb3", "utf8mb3_latvian_ci", False), # 194
236
+ ("utf8mb3", "utf8mb3_romanian_ci", False), # 195
237
+ ("utf8mb3", "utf8mb3_slovenian_ci", False), # 196
238
+ ("utf8mb3", "utf8mb3_polish_ci", False), # 197
239
+ ("utf8mb3", "utf8mb3_estonian_ci", False), # 198
240
+ ("utf8mb3", "utf8mb3_spanish_ci", False), # 199
241
+ ("utf8mb3", "utf8mb3_swedish_ci", False), # 200
242
+ ("utf8mb3", "utf8mb3_turkish_ci", False), # 201
243
+ ("utf8mb3", "utf8mb3_czech_ci", False), # 202
244
+ ("utf8mb3", "utf8mb3_danish_ci", False), # 203
245
+ ("utf8mb3", "utf8mb3_lithuanian_ci", False), # 204
246
+ ("utf8mb3", "utf8mb3_slovak_ci", False), # 205
247
+ ("utf8mb3", "utf8mb3_spanish2_ci", False), # 206
248
+ ("utf8mb3", "utf8mb3_roman_ci", False), # 207
249
+ ("utf8mb3", "utf8mb3_persian_ci", False), # 208
250
+ ("utf8mb3", "utf8mb3_esperanto_ci", False), # 209
251
+ ("utf8mb3", "utf8mb3_hungarian_ci", False), # 210
252
+ ("utf8mb3", "utf8mb3_sinhala_ci", False), # 211
253
+ ("utf8mb3", "utf8mb3_german2_ci", False), # 212
254
+ ("utf8mb3", "utf8mb3_croatian_ci", False), # 213
255
+ ("utf8mb3", "utf8mb3_unicode_520_ci", False), # 214
256
+ ("utf8mb3", "utf8mb3_vietnamese_ci", False), # 215
257
+ None,
258
+ None,
259
+ None,
260
+ None,
261
+ None,
262
+ None,
263
+ None,
264
+ ("utf8mb3", "utf8mb3_general_mysql500_ci", False), # 223
265
+ ("utf8mb4", "utf8mb4_unicode_ci", False), # 224
266
+ ("utf8mb4", "utf8mb4_icelandic_ci", False), # 225
267
+ ("utf8mb4", "utf8mb4_latvian_ci", False), # 226
268
+ ("utf8mb4", "utf8mb4_romanian_ci", False), # 227
269
+ ("utf8mb4", "utf8mb4_slovenian_ci", False), # 228
270
+ ("utf8mb4", "utf8mb4_polish_ci", False), # 229
271
+ ("utf8mb4", "utf8mb4_estonian_ci", False), # 230
272
+ ("utf8mb4", "utf8mb4_spanish_ci", False), # 231
273
+ ("utf8mb4", "utf8mb4_swedish_ci", False), # 232
274
+ ("utf8mb4", "utf8mb4_turkish_ci", False), # 233
275
+ ("utf8mb4", "utf8mb4_czech_ci", False), # 234
276
+ ("utf8mb4", "utf8mb4_danish_ci", False), # 235
277
+ ("utf8mb4", "utf8mb4_lithuanian_ci", False), # 236
278
+ ("utf8mb4", "utf8mb4_slovak_ci", False), # 237
279
+ ("utf8mb4", "utf8mb4_spanish2_ci", False), # 238
280
+ ("utf8mb4", "utf8mb4_roman_ci", False), # 239
281
+ ("utf8mb4", "utf8mb4_persian_ci", False), # 240
282
+ ("utf8mb4", "utf8mb4_esperanto_ci", False), # 241
283
+ ("utf8mb4", "utf8mb4_hungarian_ci", False), # 242
284
+ ("utf8mb4", "utf8mb4_sinhala_ci", False), # 243
285
+ ("utf8mb4", "utf8mb4_german2_ci", False), # 244
286
+ ("utf8mb4", "utf8mb4_croatian_ci", False), # 245
287
+ ("utf8mb4", "utf8mb4_unicode_520_ci", False), # 246
288
+ ("utf8mb4", "utf8mb4_vietnamese_ci", False), # 247
289
+ ("gb18030", "gb18030_chinese_ci", True), # 248
290
+ ("gb18030", "gb18030_bin", False), # 249
291
+ ("gb18030", "gb18030_unicode_520_ci", False), # 250
292
+ None,
293
+ None,
294
+ None,
295
+ None,
296
+ ("utf8mb4", "utf8mb4_0900_ai_ci", True), # 255
297
+ ("utf8mb4", "utf8mb4_de_pb_0900_ai_ci", False), # 256
298
+ ("utf8mb4", "utf8mb4_is_0900_ai_ci", False), # 257
299
+ ("utf8mb4", "utf8mb4_lv_0900_ai_ci", False), # 258
300
+ ("utf8mb4", "utf8mb4_ro_0900_ai_ci", False), # 259
301
+ ("utf8mb4", "utf8mb4_sl_0900_ai_ci", False), # 260
302
+ ("utf8mb4", "utf8mb4_pl_0900_ai_ci", False), # 261
303
+ ("utf8mb4", "utf8mb4_et_0900_ai_ci", False), # 262
304
+ ("utf8mb4", "utf8mb4_es_0900_ai_ci", False), # 263
305
+ ("utf8mb4", "utf8mb4_sv_0900_ai_ci", False), # 264
306
+ ("utf8mb4", "utf8mb4_tr_0900_ai_ci", False), # 265
307
+ ("utf8mb4", "utf8mb4_cs_0900_ai_ci", False), # 266
308
+ ("utf8mb4", "utf8mb4_da_0900_ai_ci", False), # 267
309
+ ("utf8mb4", "utf8mb4_lt_0900_ai_ci", False), # 268
310
+ ("utf8mb4", "utf8mb4_sk_0900_ai_ci", False), # 269
311
+ ("utf8mb4", "utf8mb4_es_trad_0900_ai_ci", False), # 270
312
+ ("utf8mb4", "utf8mb4_la_0900_ai_ci", False), # 271
313
+ None,
314
+ ("utf8mb4", "utf8mb4_eo_0900_ai_ci", False), # 273
315
+ ("utf8mb4", "utf8mb4_hu_0900_ai_ci", False), # 274
316
+ ("utf8mb4", "utf8mb4_hr_0900_ai_ci", False), # 275
317
+ None,
318
+ ("utf8mb4", "utf8mb4_vi_0900_ai_ci", False), # 277
319
+ ("utf8mb4", "utf8mb4_0900_as_cs", False), # 278
320
+ ("utf8mb4", "utf8mb4_de_pb_0900_as_cs", False), # 279
321
+ ("utf8mb4", "utf8mb4_is_0900_as_cs", False), # 280
322
+ ("utf8mb4", "utf8mb4_lv_0900_as_cs", False), # 281
323
+ ("utf8mb4", "utf8mb4_ro_0900_as_cs", False), # 282
324
+ ("utf8mb4", "utf8mb4_sl_0900_as_cs", False), # 283
325
+ ("utf8mb4", "utf8mb4_pl_0900_as_cs", False), # 284
326
+ ("utf8mb4", "utf8mb4_et_0900_as_cs", False), # 285
327
+ ("utf8mb4", "utf8mb4_es_0900_as_cs", False), # 286
328
+ ("utf8mb4", "utf8mb4_sv_0900_as_cs", False), # 287
329
+ ("utf8mb4", "utf8mb4_tr_0900_as_cs", False), # 288
330
+ ("utf8mb4", "utf8mb4_cs_0900_as_cs", False), # 289
331
+ ("utf8mb4", "utf8mb4_da_0900_as_cs", False), # 290
332
+ ("utf8mb4", "utf8mb4_lt_0900_as_cs", False), # 291
333
+ ("utf8mb4", "utf8mb4_sk_0900_as_cs", False), # 292
334
+ ("utf8mb4", "utf8mb4_es_trad_0900_as_cs", False), # 293
335
+ ("utf8mb4", "utf8mb4_la_0900_as_cs", False), # 294
336
+ None,
337
+ ("utf8mb4", "utf8mb4_eo_0900_as_cs", False), # 296
338
+ ("utf8mb4", "utf8mb4_hu_0900_as_cs", False), # 297
339
+ ("utf8mb4", "utf8mb4_hr_0900_as_cs", False), # 298
340
+ None,
341
+ ("utf8mb4", "utf8mb4_vi_0900_as_cs", False), # 300
342
+ None,
343
+ None,
344
+ ("utf8mb4", "utf8mb4_ja_0900_as_cs", False), # 303
345
+ ("utf8mb4", "utf8mb4_ja_0900_as_cs_ks", False), # 304
346
+ ("utf8mb4", "utf8mb4_0900_as_ci", False), # 305
347
+ ("utf8mb4", "utf8mb4_ru_0900_ai_ci", False), # 306
348
+ ("utf8mb4", "utf8mb4_ru_0900_as_cs", False), # 307
349
+ ("utf8mb4", "utf8mb4_zh_0900_as_cs", False), # 308
350
+ ("utf8mb4", "utf8mb4_0900_bin", False), # 309
351
+ ("utf8mb4", "utf8mb4_nb_0900_ai_ci", False), # 310
352
+ ("utf8mb4", "utf8mb4_nb_0900_as_cs", False), # 311
353
+ ("utf8mb4", "utf8mb4_nn_0900_ai_ci", False), # 312
354
+ ("utf8mb4", "utf8mb4_nn_0900_as_cs", False), # 313
355
+ ("utf8mb4", "utf8mb4_sr_latn_0900_ai_ci", False), # 314
356
+ ("utf8mb4", "utf8mb4_sr_latn_0900_as_cs", False), # 315
357
+ ("utf8mb4", "utf8mb4_bs_0900_ai_ci", False), # 316
358
+ ("utf8mb4", "utf8mb4_bs_0900_as_cs", False), # 317
359
+ ("utf8mb4", "utf8mb4_bg_0900_ai_ci", False), # 318
360
+ ("utf8mb4", "utf8mb4_bg_0900_as_cs", False), # 319
361
+ ("utf8mb4", "utf8mb4_gl_0900_ai_ci", False), # 320
362
+ ("utf8mb4", "utf8mb4_gl_0900_as_cs", False), # 321
363
+ ("utf8mb4", "utf8mb4_mn_cyrl_0900_ai_ci", False), # 322
364
+ ("utf8mb4", "utf8mb4_mn_cyrl_0900_as_cs", False), # 323
365
+ ]
366
+
367
+ MYSQL_CHARACTER_SETS_57: List[Optional[Tuple[str, str, bool]]] = [
368
+ # (character set name, collation, default)
369
+ None,
370
+ ("big5", "big5_chinese_ci", True), # 1
371
+ ("latin2", "latin2_czech_cs", False), # 2
372
+ ("dec8", "dec8_swedish_ci", True), # 3
373
+ ("cp850", "cp850_general_ci", True), # 4
374
+ ("latin1", "latin1_german1_ci", False), # 5
375
+ ("hp8", "hp8_english_ci", True), # 6
376
+ ("koi8r", "koi8r_general_ci", True), # 7
377
+ ("latin1", "latin1_swedish_ci", True), # 8
378
+ ("latin2", "latin2_general_ci", True), # 9
379
+ ("swe7", "swe7_swedish_ci", True), # 10
380
+ ("ascii", "ascii_general_ci", True), # 11
381
+ ("ujis", "ujis_japanese_ci", True), # 12
382
+ ("sjis", "sjis_japanese_ci", True), # 13
383
+ ("cp1251", "cp1251_bulgarian_ci", False), # 14
384
+ ("latin1", "latin1_danish_ci", False), # 15
385
+ ("hebrew", "hebrew_general_ci", True), # 16
386
+ None,
387
+ ("tis620", "tis620_thai_ci", True), # 18
388
+ ("euckr", "euckr_korean_ci", True), # 19
389
+ ("latin7", "latin7_estonian_cs", False), # 20
390
+ ("latin2", "latin2_hungarian_ci", False), # 21
391
+ ("koi8u", "koi8u_general_ci", True), # 22
392
+ ("cp1251", "cp1251_ukrainian_ci", False), # 23
393
+ ("gb2312", "gb2312_chinese_ci", True), # 24
394
+ ("greek", "greek_general_ci", True), # 25
395
+ ("cp1250", "cp1250_general_ci", True), # 26
396
+ ("latin2", "latin2_croatian_ci", False), # 27
397
+ ("gbk", "gbk_chinese_ci", True), # 28
398
+ ("cp1257", "cp1257_lithuanian_ci", False), # 29
399
+ ("latin5", "latin5_turkish_ci", True), # 30
400
+ ("latin1", "latin1_german2_ci", False), # 31
401
+ ("armscii8", "armscii8_general_ci", True), # 32
402
+ ("utf8", "utf8_general_ci", True), # 33
403
+ ("cp1250", "cp1250_czech_cs", False), # 34
404
+ ("ucs2", "ucs2_general_ci", True), # 35
405
+ ("cp866", "cp866_general_ci", True), # 36
406
+ ("keybcs2", "keybcs2_general_ci", True), # 37
407
+ ("macce", "macce_general_ci", True), # 38
408
+ ("macroman", "macroman_general_ci", True), # 39
409
+ ("cp852", "cp852_general_ci", True), # 40
410
+ ("latin7", "latin7_general_ci", True), # 41
411
+ ("latin7", "latin7_general_cs", False), # 42
412
+ ("macce", "macce_bin", False), # 43
413
+ ("cp1250", "cp1250_croatian_ci", False), # 44
414
+ ("utf8mb4", "utf8mb4_general_ci", True), # 45
415
+ ("utf8mb4", "utf8mb4_bin", False), # 46
416
+ ("latin1", "latin1_bin", False), # 47
417
+ ("latin1", "latin1_general_ci", False), # 48
418
+ ("latin1", "latin1_general_cs", False), # 49
419
+ ("cp1251", "cp1251_bin", False), # 50
420
+ ("cp1251", "cp1251_general_ci", True), # 51
421
+ ("cp1251", "cp1251_general_cs", False), # 52
422
+ ("macroman", "macroman_bin", False), # 53
423
+ ("utf16", "utf16_general_ci", True), # 54
424
+ ("utf16", "utf16_bin", False), # 55
425
+ ("utf16le", "utf16le_general_ci", True), # 56
426
+ ("cp1256", "cp1256_general_ci", True), # 57
427
+ ("cp1257", "cp1257_bin", False), # 58
428
+ ("cp1257", "cp1257_general_ci", True), # 59
429
+ ("utf32", "utf32_general_ci", True), # 60
430
+ ("utf32", "utf32_bin", False), # 61
431
+ ("utf16le", "utf16le_bin", False), # 62
432
+ ("binary", "binary", True), # 63
433
+ ("armscii8", "armscii8_bin", False), # 64
434
+ ("ascii", "ascii_bin", False), # 65
435
+ ("cp1250", "cp1250_bin", False), # 66
436
+ ("cp1256", "cp1256_bin", False), # 67
437
+ ("cp866", "cp866_bin", False), # 68
438
+ ("dec8", "dec8_bin", False), # 69
439
+ ("greek", "greek_bin", False), # 70
440
+ ("hebrew", "hebrew_bin", False), # 71
441
+ ("hp8", "hp8_bin", False), # 72
442
+ ("keybcs2", "keybcs2_bin", False), # 73
443
+ ("koi8r", "koi8r_bin", False), # 74
444
+ ("koi8u", "koi8u_bin", False), # 75
445
+ None,
446
+ ("latin2", "latin2_bin", False), # 77
447
+ ("latin5", "latin5_bin", False), # 78
448
+ ("latin7", "latin7_bin", False), # 79
449
+ ("cp850", "cp850_bin", False), # 80
450
+ ("cp852", "cp852_bin", False), # 81
451
+ ("swe7", "swe7_bin", False), # 82
452
+ ("utf8", "utf8_bin", False), # 83
453
+ ("big5", "big5_bin", False), # 84
454
+ ("euckr", "euckr_bin", False), # 85
455
+ ("gb2312", "gb2312_bin", False), # 86
456
+ ("gbk", "gbk_bin", False), # 87
457
+ ("sjis", "sjis_bin", False), # 88
458
+ ("tis620", "tis620_bin", False), # 89
459
+ ("ucs2", "ucs2_bin", False), # 90
460
+ ("ujis", "ujis_bin", False), # 91
461
+ ("geostd8", "geostd8_general_ci", True), # 92
462
+ ("geostd8", "geostd8_bin", False), # 93
463
+ ("latin1", "latin1_spanish_ci", False), # 94
464
+ ("cp932", "cp932_japanese_ci", True), # 95
465
+ ("cp932", "cp932_bin", False), # 96
466
+ ("eucjpms", "eucjpms_japanese_ci", True), # 97
467
+ ("eucjpms", "eucjpms_bin", False), # 98
468
+ ("cp1250", "cp1250_polish_ci", False), # 99
469
+ None,
470
+ ("utf16", "utf16_unicode_ci", False), # 101
471
+ ("utf16", "utf16_icelandic_ci", False), # 102
472
+ ("utf16", "utf16_latvian_ci", False), # 103
473
+ ("utf16", "utf16_romanian_ci", False), # 104
474
+ ("utf16", "utf16_slovenian_ci", False), # 105
475
+ ("utf16", "utf16_polish_ci", False), # 106
476
+ ("utf16", "utf16_estonian_ci", False), # 107
477
+ ("utf16", "utf16_spanish_ci", False), # 108
478
+ ("utf16", "utf16_swedish_ci", False), # 109
479
+ ("utf16", "utf16_turkish_ci", False), # 110
480
+ ("utf16", "utf16_czech_ci", False), # 111
481
+ ("utf16", "utf16_danish_ci", False), # 112
482
+ ("utf16", "utf16_lithuanian_ci", False), # 113
483
+ ("utf16", "utf16_slovak_ci", False), # 114
484
+ ("utf16", "utf16_spanish2_ci", False), # 115
485
+ ("utf16", "utf16_roman_ci", False), # 116
486
+ ("utf16", "utf16_persian_ci", False), # 117
487
+ ("utf16", "utf16_esperanto_ci", False), # 118
488
+ ("utf16", "utf16_hungarian_ci", False), # 119
489
+ ("utf16", "utf16_sinhala_ci", False), # 120
490
+ ("utf16", "utf16_german2_ci", False), # 121
491
+ ("utf16", "utf16_croatian_ci", False), # 122
492
+ ("utf16", "utf16_unicode_520_ci", False), # 123
493
+ ("utf16", "utf16_vietnamese_ci", False), # 124
494
+ None,
495
+ None,
496
+ None,
497
+ ("ucs2", "ucs2_unicode_ci", False), # 128
498
+ ("ucs2", "ucs2_icelandic_ci", False), # 129
499
+ ("ucs2", "ucs2_latvian_ci", False), # 130
500
+ ("ucs2", "ucs2_romanian_ci", False), # 131
501
+ ("ucs2", "ucs2_slovenian_ci", False), # 132
502
+ ("ucs2", "ucs2_polish_ci", False), # 133
503
+ ("ucs2", "ucs2_estonian_ci", False), # 134
504
+ ("ucs2", "ucs2_spanish_ci", False), # 135
505
+ ("ucs2", "ucs2_swedish_ci", False), # 136
506
+ ("ucs2", "ucs2_turkish_ci", False), # 137
507
+ ("ucs2", "ucs2_czech_ci", False), # 138
508
+ ("ucs2", "ucs2_danish_ci", False), # 139
509
+ ("ucs2", "ucs2_lithuanian_ci", False), # 140
510
+ ("ucs2", "ucs2_slovak_ci", False), # 141
511
+ ("ucs2", "ucs2_spanish2_ci", False), # 142
512
+ ("ucs2", "ucs2_roman_ci", False), # 143
513
+ ("ucs2", "ucs2_persian_ci", False), # 144
514
+ ("ucs2", "ucs2_esperanto_ci", False), # 145
515
+ ("ucs2", "ucs2_hungarian_ci", False), # 146
516
+ ("ucs2", "ucs2_sinhala_ci", False), # 147
517
+ ("ucs2", "ucs2_german2_ci", False), # 148
518
+ ("ucs2", "ucs2_croatian_ci", False), # 149
519
+ ("ucs2", "ucs2_unicode_520_ci", False), # 150
520
+ ("ucs2", "ucs2_vietnamese_ci", False), # 151
521
+ None,
522
+ None,
523
+ None,
524
+ None,
525
+ None,
526
+ None,
527
+ None,
528
+ ("ucs2", "ucs2_general_mysql500_ci", False), # 159
529
+ ("utf32", "utf32_unicode_ci", False), # 160
530
+ ("utf32", "utf32_icelandic_ci", False), # 161
531
+ ("utf32", "utf32_latvian_ci", False), # 162
532
+ ("utf32", "utf32_romanian_ci", False), # 163
533
+ ("utf32", "utf32_slovenian_ci", False), # 164
534
+ ("utf32", "utf32_polish_ci", False), # 165
535
+ ("utf32", "utf32_estonian_ci", False), # 166
536
+ ("utf32", "utf32_spanish_ci", False), # 167
537
+ ("utf32", "utf32_swedish_ci", False), # 168
538
+ ("utf32", "utf32_turkish_ci", False), # 169
539
+ ("utf32", "utf32_czech_ci", False), # 170
540
+ ("utf32", "utf32_danish_ci", False), # 171
541
+ ("utf32", "utf32_lithuanian_ci", False), # 172
542
+ ("utf32", "utf32_slovak_ci", False), # 173
543
+ ("utf32", "utf32_spanish2_ci", False), # 174
544
+ ("utf32", "utf32_roman_ci", False), # 175
545
+ ("utf32", "utf32_persian_ci", False), # 176
546
+ ("utf32", "utf32_esperanto_ci", False), # 177
547
+ ("utf32", "utf32_hungarian_ci", False), # 178
548
+ ("utf32", "utf32_sinhala_ci", False), # 179
549
+ ("utf32", "utf32_german2_ci", False), # 180
550
+ ("utf32", "utf32_croatian_ci", False), # 181
551
+ ("utf32", "utf32_unicode_520_ci", False), # 182
552
+ ("utf32", "utf32_vietnamese_ci", False), # 183
553
+ None,
554
+ None,
555
+ None,
556
+ None,
557
+ None,
558
+ None,
559
+ None,
560
+ None,
561
+ ("utf8", "utf8_unicode_ci", False), # 192
562
+ ("utf8", "utf8_icelandic_ci", False), # 193
563
+ ("utf8", "utf8_latvian_ci", False), # 194
564
+ ("utf8", "utf8_romanian_ci", False), # 195
565
+ ("utf8", "utf8_slovenian_ci", False), # 196
566
+ ("utf8", "utf8_polish_ci", False), # 197
567
+ ("utf8", "utf8_estonian_ci", False), # 198
568
+ ("utf8", "utf8_spanish_ci", False), # 199
569
+ ("utf8", "utf8_swedish_ci", False), # 200
570
+ ("utf8", "utf8_turkish_ci", False), # 201
571
+ ("utf8", "utf8_czech_ci", False), # 202
572
+ ("utf8", "utf8_danish_ci", False), # 203
573
+ ("utf8", "utf8_lithuanian_ci", False), # 204
574
+ ("utf8", "utf8_slovak_ci", False), # 205
575
+ ("utf8", "utf8_spanish2_ci", False), # 206
576
+ ("utf8", "utf8_roman_ci", False), # 207
577
+ ("utf8", "utf8_persian_ci", False), # 208
578
+ ("utf8", "utf8_esperanto_ci", False), # 209
579
+ ("utf8", "utf8_hungarian_ci", False), # 210
580
+ ("utf8", "utf8_sinhala_ci", False), # 211
581
+ ("utf8", "utf8_german2_ci", False), # 212
582
+ ("utf8", "utf8_croatian_ci", False), # 213
583
+ ("utf8", "utf8_unicode_520_ci", False), # 214
584
+ ("utf8", "utf8_vietnamese_ci", False), # 215
585
+ None,
586
+ None,
587
+ None,
588
+ None,
589
+ None,
590
+ None,
591
+ None,
592
+ ("utf8", "utf8_general_mysql500_ci", False), # 223
593
+ ("utf8mb4", "utf8mb4_unicode_ci", False), # 224
594
+ ("utf8mb4", "utf8mb4_icelandic_ci", False), # 225
595
+ ("utf8mb4", "utf8mb4_latvian_ci", False), # 226
596
+ ("utf8mb4", "utf8mb4_romanian_ci", False), # 227
597
+ ("utf8mb4", "utf8mb4_slovenian_ci", False), # 228
598
+ ("utf8mb4", "utf8mb4_polish_ci", False), # 229
599
+ ("utf8mb4", "utf8mb4_estonian_ci", False), # 230
600
+ ("utf8mb4", "utf8mb4_spanish_ci", False), # 231
601
+ ("utf8mb4", "utf8mb4_swedish_ci", False), # 232
602
+ ("utf8mb4", "utf8mb4_turkish_ci", False), # 233
603
+ ("utf8mb4", "utf8mb4_czech_ci", False), # 234
604
+ ("utf8mb4", "utf8mb4_danish_ci", False), # 235
605
+ ("utf8mb4", "utf8mb4_lithuanian_ci", False), # 236
606
+ ("utf8mb4", "utf8mb4_slovak_ci", False), # 237
607
+ ("utf8mb4", "utf8mb4_spanish2_ci", False), # 238
608
+ ("utf8mb4", "utf8mb4_roman_ci", False), # 239
609
+ ("utf8mb4", "utf8mb4_persian_ci", False), # 240
610
+ ("utf8mb4", "utf8mb4_esperanto_ci", False), # 241
611
+ ("utf8mb4", "utf8mb4_hungarian_ci", False), # 242
612
+ ("utf8mb4", "utf8mb4_sinhala_ci", False), # 243
613
+ ("utf8mb4", "utf8mb4_german2_ci", False), # 244
614
+ ("utf8mb4", "utf8mb4_croatian_ci", False), # 245
615
+ ("utf8mb4", "utf8mb4_unicode_520_ci", False), # 246
616
+ ("utf8mb4", "utf8mb4_vietnamese_ci", False), # 247
617
+ ("gb18030", "gb18030_chinese_ci", True), # 248
618
+ ("gb18030", "gb18030_bin", False), # 249
619
+ ("gb18030", "gb18030_unicode_520_ci", False), # 250
620
+ ]