阅读背景:

Python请求说它是UTF-8,那么为什么还有unicode字符呢?

来源:互联网 

Using requests to query the DarkSky API says it returns UTF-8 encoded document, but string is defaulting to ASCII with error. If I explicitly encode as UTF-8, there are no errors, but string contains extra characters and raw unicode. What's going on? I've set my py file to use UTF-8 encoding in Sublime.Using requests to query the DarkSky API says it




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: