This is a Python thing. You can create, for example, /usr/lib/pythonv.v/site-packages/sitecustomize.py containing
import sys
sys.setdefaultencoding('utf8')
and this will set the default unicode encoding to utf8 as long as Python is run without the -S option. The sitecustomize.py module can be anywhere in the sys.path buily by site.py.
This is a Python thing. You can create, for example, /usr/lib/ pythonv. v/site- packages/ sitecustomize. py containing
import sys ncoding( 'utf8')
sys.setdefaulte
and this will set the default unicode encoding to utf8 as long as Python is run without the -S option. The sitecustomize.py module can be anywhere in the sys.path buily by site.py.