From 6a2bacf9a5c96045e7f4f6c08841fa9130b53d2e Mon Sep 17 00:00:00 2001 From: tiglog Date: Thu, 21 Sep 2023 10:24:04 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=20gbk=20=E8=8C=83?= =?UTF-8?q?=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helper/str_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper/str_helper.go b/helper/str_helper.go index 62686b5..8f83928 100644 --- a/helper/str_helper.go +++ b/helper/str_helper.go @@ -183,7 +183,7 @@ func GetCjkRange(code int) string { result = "EXT-H" } else if code >= 0xE000 && code <= 0xF8FF { result = "PUA" - } else if code >= 0x4e00 && code <= 0x9FFF { + } else if (code >= 0x4e00 && code <= 0x9FFF) || code == 0x3007 { result = "GBK" } else { result = "Other"