xjdhu opened this issue 5 years ago · 1 comments
logger.debug('N:{x}/{l}: {c}'.format(x=i_idx, l=codes_len, c=codes[i_idx])) UnicodeEncodeError: 'ascii' codec can't encode character u'\u5e74' in position 22: ordinal not in range(128)
支持的,不要改动代码中的编码,直接在规则文件中增加中文规则。