Created
June 18, 2013 20:33
-
-
Save erikrose/5809101 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> from json import dumps | |
>>> u = u'jörg' | |
>>> e = u.encode('utf-8') | |
>>> dumps(u) | |
'"j\\u00f6rg"' | |
>>> dumps(e) | |
'"j\\u00f6rg"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment