首页 > 其他分享 >UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 8: illegal multiby

UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 8: illegal multiby

时间:2022-11-23 22:39:14浏览次数:49  
标签:sequence illegal multibyte decode codec 0x80 UnicodeDecodeError

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')

标签:sequence,illegal,multibyte,decode,codec,0x80,UnicodeDecodeError
From: https://www.cnblogs.com/emanlee/p/16920354.html

相关文章