Created
September 7, 2014 10:27
-
-
Save bekatom/b1805034a5ae965c749f to your computer and use it in GitHub Desktop.
To fix utf problems in python
This file contains hidden or 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
| import sys | |
| reload(sys) | |
| sys.setdefaultencoding("utf8") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment