【python】打开txt文件出现乱码,把文件保存为utf-8类型可行,添加encoding代码没有成功,不知道为什么,只能把encoding='utf-8'删了才不报错
‘utf-8‘ codec can‘t decode byte 0xbe in position 0: invalid start byte问题解决方法