python 3.5 - How to decode json data from api which contains unicode in python3? -
the data format shown in browser like:
"photos" : [ { "height" : 3456, "html_attributions" : [ "\u003ca href=\"https:xxxx" ] } ]
when try put json file, pops error unicodeencodeerror: 'ascii' codec can't encode character
, how should deal thing? please give me code example. thankssssssss!
Comments
Post a Comment