GTK3: fix all unicode str conversions with common hack for now

svn: r20103
This commit is contained in:
Benny Malengier 2012-07-27 13:56:01 +00:00
parent 1682fb6945
commit 2d787397b0

View File

@ -30,6 +30,10 @@
#
#-------------------------------------------------------------------------
import sys
## hack to avoid mentioning 'utf8' encoding everywhere unicode or str is is used
reload(sys)
sys.setdefaultencoding('utf8')
##
import os
import signal
import gettext