GTK3: fix all unicode str conversions with common hack for now
svn: r20103
This commit is contained in:
parent
1682fb6945
commit
2d787397b0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user