原文:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef in position 99: invalid continuation byte

出现这种情况是由于读取后进行转码出现错误,遇到了非法字符,解决的方法是检测读取的文件编码,再进行下一步转码形式处理 ...

2017-06-10 14:50 0 2668 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM