Skip to content

Commit

Permalink
UTS46 valid: use IDS not Block=IDC
Browse files Browse the repository at this point in the history
  • Loading branch information
markusicu committed May 14, 2024
1 parent 63e9971 commit 24657c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions unicodetools/src/main/java/org/unicode/idna/GenerateIdna.java
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,9 @@ private static UnicodeMap<Row.R2<IdnaType, String>> createMappingTable(boolean S
.removeAll(properties.getSet("gc=Zl"))
.removeAll(properties.getSet("gc=Zp"))
.removeAll(properties.getSet("gc=Zs"))
.removeAll(properties.getSet("Block=Ideographic_Description_Characters"))
.remove(0x31EF) // an IDC added in 15.1 outside the full IDC block
.removeAll(properties.getSet("IDS_Unary_Operator=true"))
.removeAll(properties.getSet("IDS_Binary_Operator=true"))
.removeAll(properties.getSet("IDS_Trinary_Operator=true"))
.removeAll(new UnicodeSet("[\\u0000-\\u007F]"))
// Add lowercase sharp s to the base valid set.
// Otherwise the new-in-15.1 baseMapping for capital sharp s
Expand Down

0 comments on commit 24657c7

Please sign in to comment.