Skip to content

Commit 3cb1128

Browse files
committed
feat(chareset_filter): add CJK Compatibility Ideographs in is_extended_cjk()
Ref: https://en.wikipedia.org/wiki/Template:CJK_ideographs_in_Unicode Closes #305
1 parent 82850eb commit 3cb1128

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rime/gear/charset_filter.cc

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ bool is_extended_cjk(uint32_t ch)
2525
(ch >= 0x2B820 && ch <= 0x2CEAF) || // CJK Unified Ideographs Extension E
2626
(ch >= 0x2CEB0 && ch <= 0x2EBEF) || // CJK Unified Ideographs Extension F
2727
(ch >= 0x30000 && ch <= 0x3134F) || // CJK Unified Ideographs Extension G
28+
(ch >= 0xF900 && ch <= 0xFAFF) || // CJK Compatibility Ideographs
2829
(ch >= 0x2F800 && ch <= 0x2FA1F)) // CJK Compatibility Ideographs Supplement
2930
return true;
3031

0 commit comments

Comments
 (0)