报错:UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xa5 in position 1517: illegal multibyte sequence
数据读取的时候报错:
读取模式改为utf-8
解决
有时候还有更鬼畜的,比如我今天遇到ANSI的要用记事本打开看看到底是用的什么编码
报错:UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xa5 in position 1517: illegal multibyte sequence
数据读取的时候报错:
读取模式改为utf-8
解决
有时候还有更鬼畜的,比如我今天遇到ANSI的要用记事本打开看看到底是用的什么编码