阅读背景:

在django中输出utf-8个字符作为json

来源:互联网 

I am trying to output some json with cyrillic characters in it. But, for instance, instead of cyrillic A I get it's ascii code - \u0410 And it is not json encoder that breaks the stuff. If I try to output the ls variable itself, it already shows ascii representation. Tried to encode-decode it in different ways, but got compeletly messed in the end.I am trying to output some json with cyrillic c




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

分享到: