原文:【解决方案】编码问题:UnicodeDecodeError: 'XXX' codec can't decode byte 0xad in position...的错误

coding:utf file open test.txt for line in file: print line file.close 报错:UnicodeDecodeError: gbk codec can t decode byte xad in position... 解决: file open test.txt gt file open test.txt ,encoding utf ...

2014-08-20 16:05 2 13020 推荐指数:

查看详情

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