Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 83b4d3d

Browse files
Rollup merge of rust-lang#123164 - Marcondiro:unicode15-1, r=Manishearth
Bump Unicode printables to version 15.1, align to unicode_data r? `@Manishearth` Thanks!
2 parents cba164c + e9870b5 commit 83b4d3d

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

‎library/core/src/unicode/printable.rs‎

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ pub(crate) fn is_printable(x: char) -> bool {
6363
if 0x2cea2 <= x && x < 0x2ceb0 {
6464
return false;
6565
}
66-
if 0x2ebe1 <= x && x < 0x2f800 {
66+
if 0x2ebe1 <= x && x < 0x2ebf0 {
67+
return false;
68+
}
69+
if 0x2ee5e <= x && x < 0x2f800 {
6770
return false;
6871
}
6972
if 0x2fa1e <= x && x < 0x30000 {
@@ -112,7 +115,7 @@ const SINGLETONS0U: &[(u8, u8)] = &[
112115
(0x2b, 3),
113116
(0x2d, 11),
114117
(0x2e, 1),
115-
(0x30, 3),
118+
(0x30, 4),
116119
(0x31, 2),
117120
(0x32, 1),
118121
(0xa7, 2),
@@ -157,12 +160,12 @@ const SINGLETONS0L: &[u8] = &[
157160
0x7e, 0x7f, 0xb5, 0xc5, 0xd4, 0xd5, 0xdc, 0xf0,
158161
0xf1, 0xf5, 0x72, 0x73, 0x8f, 0x74, 0x75, 0x96,
159162
0x26, 0x2e, 0x2f, 0xa7, 0xaf, 0xb7, 0xbf, 0xc7,
160-
0xcf, 0xd7, 0xdf, 0x9a, 0x40, 0x97, 0x98,0x30,
161-
0x8f, 0x1f, 0xd2, 0xd4, 0xce, 0xff, 0x4e,0x4f,
162-
0x5a, 0x5b, 0x07, 0x08, 0x0f, 0x10, 0x27,0x2f,
163-
0xee, 0xef, 0x6e, 0x6f, 0x37, 0x3d, 0x3f,0x42,
164-
0x45, 0x90, 0x91, 0x53, 0x67, 0x75, 0xc8,0xc9,
165-
0xd0, 0xd1, 0xd8, 0xd9, 0xe7, 0xfe, 0xff,
163+
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,
166169
];
167170
#[rustfmt::skip]
168171
const SINGLETONS1U: &[(u8, u8)] = &[
@@ -339,10 +342,9 @@ const NORMAL0: &[u8] = &[
339342
0x80, 0xbe, 0x22,
340343
0x74, 0x0c,
341344
0x80, 0xd6, 0x1a,
342-
0x0c, 0x05,
343-
0x80, 0xff, 0x05,
344-
0x80, 0xdf, 0x0c,
345-
0xf2, 0x9d, 0x03,
345+
0x81, 0x10, 0x05,
346+
0x80, 0xdf, 0x0b,
347+
0xf2, 0x9e, 0x03,
346348
0x37, 0x09,
347349
0x81, 0x5c, 0x14,
348350
0x80, 0xb8, 0x08,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /