fix:excel_reader.py unicode bug (#2095)

This commit is contained in:
fengdezhen666 2024-10-28 15:35:38 +08:00 committed by GitHub
parent 21c282e659
commit b8f1e098f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -224,7 +224,7 @@ def process_function(function):
def is_chinese(text):
for char in text:
if "" <= char <= "鿿":
if "\u4e00" <= char <= "\u9fa5": # BMP中的常用汉字范围
return True
return False