Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
print(json.dumps({u'卧槽': u'卧槽'}, indent=4).decode('unicode-escape').encode('utf8'))
print(json.dumps({u'卧槽': u'卧槽'}, indent=4, ensure_ascii=False))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.