Skip to content

Commit

Permalink
drop 2, for Unicode Version 0x11
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Nov 13, 2024
1 parent 1068874 commit 53eed13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions unicodetools/src/main/java/org/unicode/text/UCD/UCD.java
Original file line number Diff line number Diff line change
Expand Up @@ -1405,9 +1405,8 @@ public static int mapToRepresentative(int ch, int rCompositeVersion) {
return CJK_H_BASE;
}
}
// 323B0..3347B; CJK Unified Ideographs Extension H
// TODO(egg): This should be 0x110000, but the tools are still at 16.0.
if (rCompositeVersion >= 0x100000) {
// 323B0..33479; CJK Unified Ideographs Extension H
if (rCompositeVersion >= 0x110000) {
if (ch <= CJK_J_BASE) {
return ch; // Extension J first char
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ public interface UCD_Types {
CJK_H_LIMIT = 0x323AF + 1,

// 323B0;<CJK Ideograph Extension J, First>;Lo;0;L;;;;;N;;;;;
// 3347B;<CJK Ideograph Extension J, Last>;Lo;0;L;;;;;N;;;;;
// 33479;<CJK Ideograph Extension J, Last>;Lo;0;L;;;;;N;;;;;
CJK_J_BASE = 0x323B0,
CJK_J_LIMIT = 0x3347B + 1
CJK_J_LIMIT = 0x33479 + 1

// when adding to this list, look for all occurrences (in project) of CJK_C_BASE and CJK_C_LIMIT
// to check for code that needs changing.
Expand Down

0 comments on commit 53eed13

Please sign in to comment.