在读取文件时,进行字符转吗 f = open("out.html","w",encoding='utf-8')
gbk codec can't encode character
原创
©著作权归作者所有:来自51CTO博客作者云҉淡҉风҉轻҉的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
UnicodeEncodeError: 'gbk' codec can't encode character解决方法
向瑶台月下逢。大家好,我是Python进阶者。前...
数据挖掘 乱码 python 数据分析 人工智能 -
'ascii' codec can't encode character u'\u2018'
...
python 图像识别 兼容问题