0xfe专题

python报错:‘UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xfe in position 683: illegal multibyte

一、问题描述 python读取csv文件,结果报错:‘UnicodeDecodeError: ‘gbk’ codec can’t decode byte 0xfe in position 683: illegal multibyte sequence’。 with open('my_data.csv', 'r') as f:reader = csv.reader(f)headers = nex