Created
February 19, 2017 18:13
-
-
Save juniorhero/858824a3bfa31ad58ef4ad51d4095f72 to your computer and use it in GitHub Desktop.
charmap cant encode character error in python
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
# write following commands in windows cmd | |
chcp 65001 | |
set PYTHONIOENCODING=utf-8 | |
# now run your python script | |
python yourfile.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment