Skip to content

Commit

Permalink
Update charset_filter.cc (rime#740)
Browse files Browse the repository at this point in the history
add CJK Unified Ideographs Extension I range  in function is_extended_cjk
  • Loading branch information
fxliang authored and graphemecluster committed Oct 16, 2023
1 parent dd3fde2 commit 8f88cb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rime/gear/charset_filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ bool is_extended_cjk(uint32_t ch) {
(ch >= 0x2CEB0 && ch <= 0x2EBEF) || // CJK Unified Ideographs Extension F
(ch >= 0x30000 && ch <= 0x3134F) || // CJK Unified Ideographs Extension G
(ch >= 0x31350 && ch <= 0x323AF) || // CJK Unified Ideographs Extension H
(ch >= 0x2EBF0 && ch <= 0x2EE5D) || // CJK Unified Ideographs Extension I
(ch >= 0x3300 && ch <= 0x33FF) || // CJK Compatibility
(ch >= 0xFE30 && ch <= 0xFE4F) || // CJK Compatibility Forms
(ch >= 0xF900 && ch <= 0xFAFF) || // CJK Compatibility Ideographs
Expand Down

0 comments on commit 8f88cb9

Please sign in to comment.