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