Last active
August 29, 2015 14:03
-
-
Save andybak/2b1e40cab16412108ada to your computer and use it in GitHub Desktop.
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
# Put this in the following file: | |
# $VIRTUAL_ENV/lib/python2.7/site-packages/sitecustomize.py | |
import sys | |
reload(sys) | |
sys.setdefaultencoding("utf-8") | |
print "-- setting utf-8 in virtualenv sitecustomize.py --" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment