Skip to content

Commit 6c65d4f

Browse files
committed
Auto merge of #130183 - Marcondiro:unicode-16.0.0, r=Manishearth
Bump Unicode to version 16.0.0 [Unicode 16.0.0 is out!](https://www.unicode.org/versions/Unicode16.0.0/) This PR updates Unicode data embedded in `core`.
2 parents 3afb2bb + c8d9bd4 commit 6c65d4f

File tree

2 files changed

+743
-708
lines changed

2 files changed

+743
-708
lines changed

library/core/src/unicode/printable.rs

+73-57
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const SINGLETONS0U: &[(u8, u8)] = &[
118118
(0x30, 4),
119119
(0x31, 2),
120120
(0x32, 1),
121-
(0xa7, 2),
121+
(0xa7, 4),
122122
(0xa9, 2),
123123
(0xaa, 4),
124124
(0xab, 8),
@@ -155,17 +155,18 @@ const SINGLETONS0L: &[u8] = &[
155155
0x11, 0x16, 0x17, 0x5b, 0x5c, 0xf6, 0xf7, 0xfe,
156156
0xff, 0x80, 0x6d, 0x71, 0xde, 0xdf, 0x0e, 0x1f,
157157
0x6e, 0x6f, 0x1c, 0x1d, 0x5f, 0x7d, 0x7e, 0xae,
158-
0xaf, 0x7f, 0xbb, 0xbc, 0x16, 0x17, 0x1e, 0x1f,
158+
0xaf, 0x4d, 0xbb, 0xbc, 0x16, 0x17, 0x1e, 0x1f,
159159
0x46, 0x47, 0x4e, 0x4f, 0x58, 0x5a, 0x5c, 0x5e,
160160
0x7e, 0x7f, 0xb5, 0xc5, 0xd4, 0xd5, 0xdc, 0xf0,
161161
0xf1, 0xf5, 0x72, 0x73, 0x8f, 0x74, 0x75, 0x96,
162162
0x26, 0x2e, 0x2f, 0xa7, 0xaf, 0xb7, 0xbf, 0xc7,
163163
0xcf, 0xd7, 0xdf, 0x9a, 0x00, 0x40, 0x97, 0x98,
164-
0x30, 0x8f, 0x1f, 0xd2, 0xd4, 0xce, 0xff, 0x4e,
165-
0x4f, 0x5a, 0x5b, 0x07, 0x08, 0x0f, 0x10, 0x27,
166-
0x2f, 0xee, 0xef, 0x6e, 0x6f, 0x37, 0x3d, 0x3f,
167-
0x42, 0x45, 0x90, 0x91, 0x53, 0x67, 0x75, 0xc8,
168-
0xc9, 0xd0, 0xd1, 0xd8, 0xd9, 0xe7, 0xfe, 0xff,
164+
0x30, 0x8f, 0x1f, 0xce, 0xcf, 0xd2, 0xd4, 0xce,
165+
0xff, 0x4e, 0x4f, 0x5a, 0x5b, 0x07, 0x08, 0x0f,
166+
0x10, 0x27, 0x2f, 0xee, 0xef, 0x6e, 0x6f, 0x37,
167+
0x3d, 0x3f, 0x42, 0x45, 0x90, 0x91, 0x53, 0x67,
168+
0x75, 0xc8, 0xc9, 0xd0, 0xd1, 0xd8, 0xd9, 0xe7,
169+
0xfe, 0xff,
169170
];
170171
#[rustfmt::skip]
171172
const SINGLETONS1U: &[(u8, u8)] = &[
@@ -183,7 +184,7 @@ const SINGLETONS1U: &[(u8, u8)] = &[
183184
(0x10, 1),
184185
(0x11, 2),
185186
(0x12, 5),
186-
(0x13, 17),
187+
(0x13, 28),
187188
(0x14, 1),
188189
(0x15, 2),
189190
(0x17, 2),
@@ -211,7 +212,7 @@ const SINGLETONS1U: &[(u8, u8)] = &[
211212
(0xee, 32),
212213
(0xf0, 4),
213214
(0xf8, 2),
214-
(0xfa, 3),
215+
(0xfa, 4),
215216
(0xfb, 1),
216217
];
217218
#[rustfmt::skip]
@@ -224,23 +225,24 @@ const SINGLETONS1L: &[u8] = &[
224225
0xbd, 0x35, 0xe0, 0x12, 0x87, 0x89, 0x8e, 0x9e,
225226
0x04, 0x0d, 0x0e, 0x11, 0x12, 0x29, 0x31, 0x34,
226227
0x3a, 0x45, 0x46, 0x49, 0x4a, 0x4e, 0x4f, 0x64,
227-
0x65, 0x5c, 0xb6, 0xb7, 0x1b, 0x1c, 0x07, 0x08,
228-
0x0a, 0x0b, 0x14, 0x17, 0x36, 0x39, 0x3a, 0xa8,
229-
0xa9, 0xd8, 0xd9, 0x09, 0x37, 0x90, 0x91, 0xa8,
230-
0x07, 0x0a, 0x3b, 0x3e, 0x66, 0x69, 0x8f, 0x92,
231-
0x11, 0x6f, 0x5f, 0xbf, 0xee, 0xef, 0x5a, 0x62,
232-
0xf4, 0xfc, 0xff, 0x53, 0x54, 0x9a, 0x9b, 0x2e,
233-
0x2f, 0x27, 0x28, 0x55, 0x9d, 0xa0, 0xa1, 0xa3,
234-
0xa4, 0xa7, 0xa8, 0xad, 0xba, 0xbc, 0xc4, 0x06,
235-
0x0b, 0x0c, 0x15, 0x1d, 0x3a, 0x3f, 0x45, 0x51,
236-
0xa6, 0xa7, 0xcc, 0xcd, 0xa0, 0x07, 0x19, 0x1a,
237-
0x22, 0x25, 0x3e, 0x3f, 0xe7, 0xec, 0xef, 0xff,
238-
0xc5, 0xc6, 0x04, 0x20, 0x23, 0x25, 0x26, 0x28,
239-
0x33, 0x38, 0x3a, 0x48, 0x4a, 0x4c, 0x50, 0x53,
240-
0x55, 0x56, 0x58, 0x5a, 0x5c, 0x5e, 0x60, 0x63,
241-
0x65, 0x66, 0x6b, 0x73, 0x78, 0x7d, 0x7f, 0x8a,
242-
0xa4, 0xaa, 0xaf, 0xb0, 0xc0, 0xd0, 0xae, 0xaf,
243-
0x6e, 0x6f, 0xbe, 0x93,
228+
0x65, 0x8a, 0x8c, 0x8d, 0x8f, 0xb6, 0xc1, 0xc3,
229+
0xc4, 0xc6, 0xcb, 0xd6, 0x5c, 0xb6, 0xb7, 0x1b,
230+
0x1c, 0x07, 0x08, 0x0a, 0x0b, 0x14, 0x17, 0x36,
231+
0x39, 0x3a, 0xa8, 0xa9, 0xd8, 0xd9, 0x09, 0x37,
232+
0x90, 0x91, 0xa8, 0x07, 0x0a, 0x3b, 0x3e, 0x66,
233+
0x69, 0x8f, 0x92, 0x11, 0x6f, 0x5f, 0xbf, 0xee,
234+
0xef, 0x5a, 0x62, 0xf4, 0xfc, 0xff, 0x53, 0x54,
235+
0x9a, 0x9b, 0x2e, 0x2f, 0x27, 0x28, 0x55, 0x9d,
236+
0xa0, 0xa1, 0xa3, 0xa4, 0xa7, 0xa8, 0xad, 0xba,
237+
0xbc, 0xc4, 0x06, 0x0b, 0x0c, 0x15, 0x1d, 0x3a,
238+
0x3f, 0x45, 0x51, 0xa6, 0xa7, 0xcc, 0xcd, 0xa0,
239+
0x07, 0x19, 0x1a, 0x22, 0x25, 0x3e, 0x3f, 0xe7,
240+
0xec, 0xef, 0xff, 0xc5, 0xc6, 0x04, 0x20, 0x23,
241+
0x25, 0x26, 0x28, 0x33, 0x38, 0x3a, 0x48, 0x4a,
242+
0x4c, 0x50, 0x53, 0x55, 0x56, 0x58, 0x5a, 0x5c,
243+
0x5e, 0x60, 0x63, 0x65, 0x66, 0x6b, 0x73, 0x78,
244+
0x7d, 0x7f, 0x8a, 0xa4, 0xaa, 0xaf, 0xb0, 0xc0,
245+
0xd0, 0xae, 0xaf, 0x6e, 0x6f, 0xdd, 0xde, 0x93,
244246
];
245247
#[rustfmt::skip]
246248
const NORMAL0: &[u8] = &[
@@ -252,8 +254,8 @@ const NORMAL0: &[u8] = &[
252254
0x06, 0x11,
253255
0x81, 0xac, 0x0e,
254256
0x80, 0xab, 0x05,
255-
0x1f, 0x09,
256-
0x81, 0x1b, 0x03,
257+
0x1f, 0x08,
258+
0x81, 0x1c, 0x03,
257259
0x19, 0x08,
258260
0x01, 0x04,
259261
0x2f, 0x04,
@@ -318,11 +320,10 @@ const NORMAL0: &[u8] = &[
318320
0x80, 0xac, 0x06,
319321
0x0a, 0x06,
320322
0x2f, 0x31,
321-
0x4d, 0x03,
322-
0x80, 0xa4, 0x08,
323+
0x80, 0xf4, 0x08,
323324
0x3c, 0x03,
324325
0x0f, 0x03,
325-
0x3c, 0x07,
326+
0x3e, 0x05,
326327
0x38, 0x08,
327328
0x2b, 0x05,
328329
0x82, 0xff, 0x11,
@@ -332,7 +333,7 @@ const NORMAL0: &[u8] = &[
332333
0x21, 0x0f,
333334
0x21, 0x0f,
334335
0x80, 0x8c, 0x04,
335-
0x82, 0x97, 0x19,
336+
0x82, 0x9a, 0x16,
336337
0x0b, 0x15,
337338
0x88, 0x94, 0x05,
338339
0x2f, 0x05,
@@ -343,13 +344,12 @@ const NORMAL0: &[u8] = &[
343344
0x74, 0x0c,
344345
0x80, 0xd6, 0x1a,
345346
0x81, 0x10, 0x05,
346-
0x80, 0xdf, 0x0b,
347+
0x80, 0xe1, 0x09,
347348
0xf2, 0x9e, 0x03,
348349
0x37, 0x09,
349350
0x81, 0x5c, 0x14,
350351
0x80, 0xb8, 0x08,
351-
0x80, 0xcb, 0x05,
352-
0x0a, 0x18,
352+
0x80, 0xdd, 0x15,
353353
0x3b, 0x03,
354354
0x0a, 0x06,
355355
0x38, 0x08,
@@ -402,7 +402,8 @@ const NORMAL1: &[u8] = &[
402402
0x24, 0x04,
403403
0x28, 0x08,
404404
0x34, 0x0b,
405-
0x4e, 0x43,
405+
0x4e, 0x03,
406+
0x34, 0x0c,
406407
0x81, 0x37, 0x09,
407408
0x16, 0x0a,
408409
0x08, 0x18,
@@ -431,9 +432,13 @@ const NORMAL1: &[u8] = &[
431432
0x33, 0x0d,
432433
0x33, 0x07,
433434
0x2e, 0x08,
434-
0x0a, 0x81, 0x26,
435-
0x52, 0x4b,
436-
0x2b, 0x08,
435+
0x0a, 0x06,
436+
0x26, 0x03,
437+
0x1d, 0x08,
438+
0x02, 0x80, 0xd0,
439+
0x52, 0x10,
440+
0x03, 0x37,
441+
0x2c, 0x08,
437442
0x2a, 0x16,
438443
0x1a, 0x26,
439444
0x1c, 0x14,
@@ -453,7 +458,9 @@ const NORMAL1: &[u8] = &[
453458
0x51, 0x06,
454459
0x01, 0x05,
455460
0x10, 0x03,
456-
0x05, 0x80, 0x8b,
461+
0x05, 0x0b,
462+
0x59, 0x08,
463+
0x02, 0x1d,
457464
0x62, 0x1e,
458465
0x48, 0x08,
459466
0x0a, 0x80, 0xa6,
@@ -462,7 +469,8 @@ const NORMAL1: &[u8] = &[
462469
0x0a, 0x06,
463470
0x0d, 0x13,
464471
0x3a, 0x06,
465-
0x0a, 0x36,
472+
0x0a, 0x06,
473+
0x14, 0x1c,
466474
0x2c, 0x04,
467475
0x17, 0x80, 0xb9,
468476
0x3c, 0x64,
@@ -473,7 +481,9 @@ const NORMAL1: &[u8] = &[
473481
0x48, 0x08,
474482
0x53, 0x0d,
475483
0x49, 0x07,
476-
0x0a, 0x80, 0xf6,
484+
0x0a, 0x80, 0xb6,
485+
0x22, 0x0e,
486+
0x0a, 0x06,
477487
0x46, 0x0a,
478488
0x1d, 0x03,
479489
0x47, 0x49,
@@ -484,32 +494,35 @@ const NORMAL1: &[u8] = &[
484494
0x0a, 0x81, 0x36,
485495
0x19, 0x07,
486496
0x3b, 0x03,
487-
0x1c, 0x56,
497+
0x1d, 0x55,
488498
0x01, 0x0f,
489499
0x32, 0x0d,
490500
0x83, 0x9b, 0x66,
491501
0x75, 0x0b,
492502
0x80, 0xc4, 0x8a, 0x4c,
493503
0x63, 0x0d,
494504
0x84, 0x30, 0x10,
495-
0x16, 0x8f, 0xaa,
496-
0x82, 0x47, 0xa1, 0xb9,
505+
0x16, 0x0a,
506+
0x8f, 0x9b, 0x05,
507+
0x82, 0x47, 0x9a, 0xb9,
508+
0x3a, 0x86, 0xc6,
497509
0x82, 0x39, 0x07,
498510
0x2a, 0x04,
499511
0x5c, 0x06,
500512
0x26, 0x0a,
501513
0x46, 0x0a,
502514
0x28, 0x05,
503-
0x13, 0x82, 0xb0,
515+
0x13, 0x81, 0xb0,
516+
0x3a, 0x80, 0xc6,
504517
0x5b, 0x65,
505518
0x4b, 0x04,
506519
0x39, 0x07,
507520
0x11, 0x40,
508521
0x05, 0x0b,
509522
0x02, 0x0e,
510523
0x97, 0xf8, 0x08,
511-
0x84, 0xd6, 0x2a,
512-
0x09, 0xa2, 0xe7,
524+
0x84, 0xd6, 0x29,
525+
0x0a, 0xa2, 0xe7,
513526
0x81, 0x33, 0x0f,
514527
0x01, 0x1d,
515528
0x06, 0x0e,
@@ -518,7 +531,9 @@ const NORMAL1: &[u8] = &[
518531
0x6b, 0x05,
519532
0x0d, 0x03,
520533
0x09, 0x07,
521-
0x10, 0x92, 0x60,
534+
0x10, 0x8f, 0x60,
535+
0x80, 0xfa, 0x06,
536+
0x81, 0xb4, 0x4c,
522537
0x47, 0x09,
523538
0x74, 0x3c,
524539
0x80, 0xf6, 0x0a,
@@ -543,7 +558,9 @@ const NORMAL1: &[u8] = &[
543558
0x1f, 0x11,
544559
0x3a, 0x05,
545560
0x01, 0x81, 0xd0,
546-
0x2a, 0x82, 0xe6,
561+
0x2a, 0x80, 0xd6,
562+
0x2b, 0x04,
563+
0x01, 0x81, 0xe0,
547564
0x80, 0xf7, 0x29,
548565
0x4c, 0x04,
549566
0x0a, 0x04,
@@ -575,14 +592,13 @@ const NORMAL1: &[u8] = &[
575592
0x38, 0x08,
576593
0x0a, 0x06,
577594
0x28, 0x08,
578-
0x22, 0x4e,
595+
0x2c, 0x04,
596+
0x02, 0x3e,
579597
0x81, 0x54, 0x0c,
580598
0x1d, 0x03,
599+
0x0a, 0x05,
600+
0x38, 0x07,
601+
0x1c, 0x06,
581602
0x09, 0x07,
582-
0x36, 0x08,
583-
0x0e, 0x04,
584-
0x09, 0x07,
585-
0x09, 0x07,
586-
0x80, 0xcb, 0x25,
587-
0x0a, 0x84, 0x06,
603+
0x80, 0xfa, 0x84, 0x06,
588604
];

0 commit comments

Comments
 (0)