fastmash 0.7.1

Fast command-line statistics on text data, compatible with GNU datamash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
//! Generated by scripts/generate_numeric_locales.py from ldd (Ubuntu GLIBC 2.43-2ubuntu2.4) 2.43 compiled
//! locales; do not edit. Number rules (decimal point, thousands separator and
//! grouping) of every glibc locale, with or without a modifier (compiled in
//! UTF-8), whose decimal point is one byte; the others are in `REFUSED`.
use crate::conversion::profile::Profile;

/// Sorted by name for binary search.
pub(super) static NUMERIC: &[(&[u8], Profile)] = &[
    (b"aa_DJ", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"aa_ER", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"aa_ET", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"af_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"agr_PE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ak_GH", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"am_ET", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"an_ES", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"anp_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_AE", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_BH", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_DZ", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_EG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_IQ", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_JO", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_KW", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_LB", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_LY", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_MA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_OM", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_QA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_SA", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"ar_SD", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_SS", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_SY", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_TN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ar_YE", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"as_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"ast_ES", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ayc_PE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"az_AZ", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"az_IR", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"be_BY", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"be_BY@latin", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"bem_ZM", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ber_DZ", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ber_MA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"bg_BG", Profile::new(b"\x2c"[0], b"", b"\x03")),
    (b"bhb_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"bho_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"bho_NP", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"bi_VU", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"bn_BD", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"bn_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"bo_CN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"bo_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"br_FR", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (
        b"br_FR@euro",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"brx_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"bs_BA", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"byn_ER", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"ca_AD", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ca_ES", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ca_ES@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (
        b"ca_ES@valencia",
        Profile::new(b"\x2c"[0], b"\x2e", b"\x03"),
    ),
    (b"ca_FR", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ca_IT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ce_RU", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"chr_US", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ckb_IQ", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"cmn_TW", Profile::new(b"\x2e"[0], b"\x2c", b"\x04")),
    (
        b"crh_RU",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"crh_UA", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"cs_CZ", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (
        b"csb_PL",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"cv_RU", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"cy_GB", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"da_DK", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"de_AT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"de_AT@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"de_BE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"de_BE@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"de_CH", Profile::new(b"\x2e"[0], b"\xe2\x80\x99", b"\x03")),
    (b"de_DE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"de_DE@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"de_IT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"de_LI", Profile::new(b"\x2e"[0], b"\xe2\x80\x99", b"\x03")),
    (b"de_LU", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"de_LU@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"doi_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"dsb_DE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"dv_MV", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"dz_BT", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"el_CY", Profile::new(b"\x2c"[0], b"\x2e", b"\x7f")),
    (b"el_GR", Profile::new(b"\x2c"[0], b"\x2e", b"\x7f")),
    (b"el_GR@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x7f")),
    (b"en_AG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_AU", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_BW", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_CA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_DK", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"en_GB", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_HK", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_IE", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_IE@euro", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_IL", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"en_NG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_NZ", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_PH", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_SC", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_SE", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"en_SG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_US", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_ZM", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"en_ZW", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"eo", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"eo_US", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x03")),
    (b"es_AR", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_BO", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_CL", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_CO", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_CR", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"es_CU", Profile::new(b"\x2c"[0], b"\x2e", b"\x7f")),
    (b"es_DO", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"es_EC", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_ES", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_ES@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_GT", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"es_HN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"es_MX", Profile::new(b"\x2e"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"es_NI", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"es_PA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"es_PE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_PR", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"es_PY", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_SV", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"es_US", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"es_UY", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"es_VE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"et_EE", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"eu_ES", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"eu_ES@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"eu_FR", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (
        b"eu_FR@euro",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"fa_IR", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ff_SN", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"fi_FI", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (
        b"fi_FI@euro",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"fil_PH", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"fo_FO", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"fr_BE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"fr_BE@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"fr_CA", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"fr_CH", Profile::new(b"\x2e"[0], b"\xe2\x80\x99", b"\x03")),
    (b"fr_FR", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (
        b"fr_FR@euro",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"fr_LU", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (
        b"fr_LU@euro",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"fur_IT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"fy_DE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"fy_NL", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ga_IE", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ga_IE@euro", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"gbm_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"gd_GB", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"gez_ER", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"gez_ER@abegede", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"gez_ET", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (
        b"gez_ET@abegede",
        Profile::new(b"\x2e"[0], b"\x2c", b"\x03"),
    ),
    (b"gl_ES", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"gl_ES@euro", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"gu_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"gv_GB", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ha_NG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"hak_TW", Profile::new(b"\x2e"[0], b"\x2c", b"\x04")),
    (b"he_IL", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"hi_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"hif_FJ", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"hne_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"hr_HR", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"hsb_DE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ht_HT", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"hu_HU", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"hy_AM", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ia_FR", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"id_ID", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ig_NG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ik_CA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"is_IS", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"it_CH", Profile::new(b"\x2e"[0], b"\xe2\x80\x99", b"\x03")),
    (b"it_IT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"it_IT@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"iu_CA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ja_JP", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ka_GE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"kab_DZ", Profile::new(b"\x2c"[0], b"", b"\x03")),
    (b"kk_KZ", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"kl_GL", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"km_KH", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"kn_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ko_KR", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"kok_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ks_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (
        b"ks_IN@devanagari",
        Profile::new(b"\x2e"[0], b"\x2c", b"\x03"),
    ),
    (b"ku_TR", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"kv_RU", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"kw_GB", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ky_KG", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"lb_LU", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"lg_UG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"li_BE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"li_NL", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"lij_IT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ln_CD", Profile::new(b"\x2c"[0], b"", b"\x03")),
    (b"lo_LA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"lt_LT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (
        b"ltg_LV",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"lv_LV", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"lzh_TW", Profile::new(b"\x2e"[0], b"\x2c", b"\x04")),
    (b"mag_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"mai_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"mai_NP", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (
        b"mdf_RU",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (
        b"mfe_MU",
        Profile::new(b"\x2e"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"mg_MG", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (
        b"mhr_RU",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"mi_NZ", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"miq_NI", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"mjw_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"mk_MK", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"ml_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"mn_MN", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"mni_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"mnw_MM", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"mr_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ms_MY", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"mt_MT", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"my_MM", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"nan_TW", Profile::new(b"\x2e"[0], b"\x2c", b"\x04")),
    (b"nan_TW@latin", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"nb_NO", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"nds_DE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"nds_NL", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ne_NP", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (
        b"nhn_MX",
        Profile::new(b"\x2e"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"niu_NU", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"niu_NZ", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"nl_AW", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"nl_BE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"nl_BE@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"nl_NL", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"nl_NL@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"nn_NO", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"nr_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"nso_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"oc_FR", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"om_ET", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"om_KE", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"or_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"os_RU", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"pa_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"pa_PK", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"pap_AW", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"pap_CW", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"pl_PL", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"pt_BR", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"pt_PT", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"pt_PT@euro", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"quz_PE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"raj_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"rif_MA", Profile::new(b"\x2e"[0], b"", b"\x03")),
    (b"ro_RO", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ru_RU", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"ru_UA", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"rw_RW", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"sa_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (
        b"sah_RU",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"sat_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"sc_IT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"scn_IT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"sd_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (
        b"sd_IN@devanagari",
        Profile::new(b"\x2e"[0], b"\x2c", b"\x03"),
    ),
    (b"sd_PK", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"se_NO", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"sgs_LT", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"shn_MM", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"shs_CA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"si_LK", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"sid_ET", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"sk_SK", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"sl_SI", Profile::new(b"\x2c"[0], b"\x2e", b"\x7f")),
    (b"sm_WS", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"so_DJ", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"so_ET", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"so_KE", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"so_SO", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"sq_AL", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"sq_MK", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"sr_ME", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"sr_RS", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"sr_RS@latin", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"ss_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ssy_ER", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"st_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"su_ID", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"sv_FI", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (
        b"sv_FI@euro",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"sv_SE", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"sw_KE", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"sw_TZ", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"syr", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (
        b"szl_PL",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"ta_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"ta_LK", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"tcy_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"te_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03\x02")),
    (b"tg_TJ", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"th_TH", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"the_NP", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ti_ER", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"ti_ET", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"tig_ER", Profile::new(b"\x2e"[0], b"", b"\x7f")),
    (b"tk_TM", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"tl_PH", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"tn_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"to_TO", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"tok", Profile::new(b"\x2e"[0], b"\xe2\x80\xaf", b"\x7f")),
    (b"tpi_PG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"tr_CY", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"tr_TR", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ts_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"tt_RU", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (b"tt_RU@iqtelif", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"ug_CN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ug_CN@latin", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"uk_UA", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (
        b"unm_US",
        Profile::new(b"\x2e"[0], b"\xe2\x80\xaf", b"\x02\x02\x02\x03"),
    ),
    (b"ur_IN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"ur_PK", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"uz_UZ", Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03")),
    (
        b"uz_UZ@cyrillic",
        Profile::new(b"\x2c"[0], b"\xe2\x80\xaf", b"\x03"),
    ),
    (b"ve_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"vi_VN", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"wa_BE", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (b"wa_BE@euro", Profile::new(b"\x2c"[0], b"\x2e", b"\x03")),
    (
        b"wae_CH",
        Profile::new(b"\x2e"[0], b"\xe2\x80\x99", b"\x03"),
    ),
    (b"wal_ET", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"wo_SN", Profile::new(b"\x2c"[0], b"", b"\x7f")),
    (b"xh_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"yi_US", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"yo_NG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"yue_HK", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"yuw_PG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"zgh_MA", Profile::new(b"\x2c"[0], b"", b"\x03")),
    (b"zh_CN", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"zh_HK", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"zh_SG", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"zh_TW", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
    (b"zu_ZA", Profile::new(b"\x2e"[0], b"\x2c", b"\x03")),
];

/// Names whose default character set is UTF-8, so glibc needs no
/// codeset; sorted.
pub(super) static BARE_UTF8: &[&[u8]] = &[
    b"aa_ER", b"aa_ET", b"agr_PE", b"ak_GH", b"am_ET", b"anp_IN", b"ar_IN", b"ar_SS", b"as_IN",
    b"ayc_PE", b"az_AZ", b"az_IR", b"bem_ZM", b"ber_DZ", b"ber_MA", b"bho_IN", b"bho_NP", b"bi_VU",
    b"bn_BD", b"bn_IN", b"bo_CN", b"bo_IN", b"brx_IN", b"byn_ER", b"ce_RU", b"chr_US", b"ckb_IQ",
    b"cmn_TW", b"crh_RU", b"crh_UA", b"csb_PL", b"cv_RU", b"doi_IN", b"dsb_DE", b"dv_MV", b"dz_BT",
    b"en_AG", b"en_IL", b"en_IN", b"en_NG", b"en_ZM", b"eo", b"es_CU", b"fa_IR", b"ff_SN",
    b"fil_PH", b"fur_IT", b"fy_DE", b"fy_NL", b"gbm_IN", b"gez_ER", b"gez_ET", b"gu_IN", b"ha_NG",
    b"hak_TW", b"hi_IN", b"hif_FJ", b"hne_IN", b"ht_HT", b"hy_AM", b"ia_FR", b"ig_NG", b"ik_CA",
    b"iu_CA", b"kab_DZ", b"km_KH", b"kn_IN", b"kok_IN", b"ks_IN", b"kv_RU", b"ky_KG", b"lb_LU",
    b"li_BE", b"li_NL", b"lij_IT", b"ln_CD", b"lo_LA", b"lzh_TW", b"mag_IN", b"mai_IN", b"mai_NP",
    b"mdf_RU", b"mfe_MU", b"mhr_RU", b"miq_NI", b"mjw_IN", b"ml_IN", b"mn_MN", b"mni_IN",
    b"mnw_MM", b"mr_IN", b"my_MM", b"nan_TW", b"nds_DE", b"nds_NL", b"ne_NP", b"nhn_MX", b"niu_NU",
    b"niu_NZ", b"nl_AW", b"nr_ZA", b"nso_ZA", b"om_ET", b"or_IN", b"os_RU", b"pa_IN", b"pa_PK",
    b"pap_AW", b"pap_CW", b"quz_PE", b"raj_IN", b"rif_MA", b"rw_RW", b"sa_IN", b"sah_RU",
    b"sat_IN", b"sc_IT", b"scn_IT", b"sd_IN", b"sd_PK", b"se_NO", b"sgs_LT", b"shn_MM", b"shs_CA",
    b"si_LK", b"sid_ET", b"sm_WS", b"so_ET", b"sq_MK", b"sr_ME", b"sr_RS", b"ss_ZA", b"ssy_ER",
    b"su_ID", b"sw_KE", b"sw_TZ", b"syr", b"szl_PL", b"ta_IN", b"ta_LK", b"te_IN", b"the_NP",
    b"ti_ER", b"ti_ET", b"tig_ER", b"tk_TM", b"tn_ZA", b"to_TO", b"tok", b"tpi_PG", b"ts_ZA",
    b"tt_RU", b"ug_CN", b"unm_US", b"ur_IN", b"ur_PK", b"ve_ZA", b"vi_VN", b"wae_CH", b"wal_ET",
    b"wo_SN", b"yo_NG", b"yue_HK", b"yuw_PG", b"zgh_MA",
];

/// glibc locales whose decimal point is not one byte, whose numbers
/// Fastmash refuses; sorted.
pub(super) static REFUSED: &[&[u8]] = &[b"ps_AF"];