首页 > 应用开发 > IT综合 > 异常: 'ascii' codec can't encode characters
转自:http://cooler1217.iteye.com/blog/1465335
字符集的问题,在文件前加两句话: reload(sys) sys.setdefaultencoding( "utf-8" )
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26250550/viewspace-1356498/ ,如需转载,请注明出处,否则将追究法律责任。
注册时间:2013-11-04