通过判断字符的编码大小来确定字符 “C” 是否是中文,不同编码中字符编码大小不同。 1、utf-8编码 '\u4e00' <= ch <= '\u9fff' 2、unicode编码 c>=u'\u4e00' and c<=u'\u9fa5' 相关文章: 2022-12-23 2022-01-12 2022-12-23 2021-08-07 2022-12-23 2022-12-23 2021-12-11