File was loaded in the wrong encoding:UTF-8(python)

File was loaded in the wrong encoding:UTF-8(python),第1张

File was loaded in the wrong encoding:UTF-8(python)


Reload其他编码试了很多次,依然出错

突然反应过来,可以直接改文件的编码方式,用sublime打开,file-- save with encoding --UTF-8

重新打开

OK啦

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5593608.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-15
下一篇 2022-12-15

发表评论

登录后才能评论

评论列表(0条)

保存