From bede844ef4d27435002c9bdf1cbad9392261bcfc Mon Sep 17 00:00:00 2001 From: fxliang Date: Tue, 17 Oct 2023 05:20:26 +0800 Subject: [PATCH] Update charset_filter.cc (#740) add CJK Unified Ideographs Extension I range in function is_extended_cjk --- src/rime/gear/charset_filter.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rime/gear/charset_filter.cc b/src/rime/gear/charset_filter.cc index 4b6e62a05..eaf0d22f9 100644 --- a/src/rime/gear/charset_filter.cc +++ b/src/rime/gear/charset_filter.cc @@ -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