UnicodeDecodeError: 'gbk' codec can't decode byte 0xa8 in position 0: incomplete multibyte sequence
Activity
kathy98443 commentedon Apr 7, 2020
你是处理file时出现的吗,整体code是什么
fanrongqitiancai commentedon Feb 5, 2022
我这里也出现这个问题
代码如下:
import thulac
import codecs
thu1 = thulac.thulac()
thu1.cut_f("input.txt", "output.txt")
print('end')