UnicodeDecodeError:'utf-8' code can't decode byte 0xe9 in position 3114: invalid continuation byte.
出问题代码:
with open(movies.txt, encoding="utf-8")as File:
修改后
with open(movies.txt, encoding="utf-8",error="ignore)as File:
UnicodeDecodeError:'utf-8' code can't decode byte 0xe9 in position 3114: invalid continuation byte.
出问题代码:
with open(movies.txt, encoding="utf-8")as File:
修改后
with open(movies.txt, encoding="utf-8",error="ignore)as File: