擅长:python、mysql、java
<p>从外观上看,你有一些非ascii文本,可能你的解析器没有处理不同的编码。在</p>
<p>如果您查看json库的文档,您会看到:</p>
<pre><code>If the contents of fp are encoded with an ASCII based encoding other than UTF-8
(e.g. latin-1), then an appropriate encoding name must be specified. Encodings
that are not ASCII based (such as UCS-2) are not allowed, and should be wrapped
with codecs.getreader(encoding)(fp), or simply decoded to a unicode object and
passed to loads().
</code></pre>
<p>所以我会检查json的格式是否正确,然后查看编码。在</p>