UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 8: illegal multibyte sequence
Traceback (most recent call last):
File "D:/名单学号和名单比较v3--腾讯会议考勤专用.py", line 7, in <module>
all=file.readlines()
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 8: illegal multibyte sequence
file=open("腾讯会议-待处理文件.txt","r",encoding='utf-8')