这是一个创建于 4292 天前的主题,其中的信息可能已经有所发展或是发生改变。
被引入模块和主模块都是cp936编码的,换成utf-8也不行,有大大知道怎么解决吗?
2 条回复 • 2014-05-22 15:29:07 +08:00
 |
|
1
shyrock 2014 年 5 月 22 日
补充:网页检查代码中有中文。如果换成utf-8,报错:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 0: ordinal not in range(128)
|
 |
|
2
shyrock 2014 年 5 月 22 日
问题关闭,是我愚蠢的忘了在字符串前加u。。。
|