Skip to content

Commit 4155cf7

Browse files
committed
Fix upper bound
1 parent cba8ecb commit 4155cf7

File tree

1 file changed

+5
-0
lines changed
  • unicodetools/src/main/java/org/unicode/text/UCD

1 file changed

+5
-0
lines changed

unicodetools/src/main/java/org/unicode/text/UCD/UCD.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,6 +1320,11 @@ public static int mapToRepresentative(int ch, int rCompositeVersion) {
13201320
// Unicode 17 added TANGUT IDEOGRAPH-18D1D..TANGUT IDEOGRAPH-18D1E.
13211321
return TANGUT_SUP_BASE;
13221322
}
1323+
// REMOVE BEFORE FLIGHT: Fix version.
1324+
if (ch <= 0x18D1F && rCompositeVersion >= 0x110000) {
1325+
// Unicode ? added TANGUT IDEOGRAPH-18D1F.
1326+
return TANGUT_SUP_BASE;
1327+
}
13231328
}
13241329

13251330
// 20000..2A6DF; CJK Unified Ideographs Extension B

0 commit comments

Comments
 (0)