摘要: 对需要 str->unicode 的代码,可以在前边写上 import sys reload(sys) sys.setdefaultencoding(‘utf8′) 把 str 编码由 ascii 改为 utf8 (或 gb18030) 参考: https://blog.csdn.net/mindm 阅读全文
posted @ 2019-02-27 16:59 anobscureretreat 阅读(204) 评论(0) 推荐(0)