I have another workaround:
Put following lines into site-packages/sitecustomize.py
see http://www.faqs.org/docs/diveintopython/kgp_unicode.html
import os, sys
if ‘UTF-8’ in os.environ[‘LANG’]:
sys.setdefaultencoding(‘utf-8’)
I have another workaround:
Put following lines into site-packages/sitecustomize.py
see http://www.faqs.org/docs/diveintopython/kgp_unicode.html
import os, sys
if ‘UTF-8’ in os.environ[‘LANG’]:
sys.setdefaultencoding(‘utf-8’)