Skip to content

Commit d3146e3

Browse files
committed
Update Scalar names for Unicode 16
1 parent 1f74aa1 commit d3146e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/core/UnicodeScalarProperties.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,7 @@ extension Unicode.Scalar.Properties {
12071207
(0x2B740 ... 0x2B81D),
12081208
(0x2B820 ... 0x2CEA1),
12091209
(0x2CEB0 ... 0x2EBE0),
1210+
(0x2EBF0 ... 0x2EE5D),
12101211
(0x30000 ... 0x3134A),
12111212
(0x31350 ... 0x323AF):
12121213
return "CJK UNIFIED IDEOGRAPH-\(scalarName)"
@@ -1226,6 +1227,9 @@ extension Unicode.Scalar.Properties {
12261227
case (0x1B170 ... 0x1B2FB):
12271228
return "NUSHU CHARACTER-\(scalarName)"
12281229

1230+
case (0x13460 ... 0x143FA):
1231+
return "EGYPTIAN HIEROGLYPH-\(scalarName)"
1232+
12291233
// Otherwise, go look it up.
12301234
default:
12311235
return nil

0 commit comments

Comments
 (0)