Browse Source

sitecustomize

David Rose 20 years ago
parent
commit
bc1a7920dc
1 changed files with 5 additions and 0 deletions
  1. 5 0
      direct/src/leveleditor/sitecustomize.py

+ 5 - 0
direct/src/leveleditor/sitecustomize.py

@@ -0,0 +1,5 @@
+# This is required to properly decode the Tk wide-character strings.
+
+import sys
+sys.setdefaultencoding('utf8')
+print "Encoding set to UTF8"