change the locale in the test script for the Python binding

This commit is contained in:
kr.angelov
2013-08-21 13:17:39 +00:00
parent 68b6e97251
commit 8df07fdeb5

View File

@@ -2,6 +2,7 @@ import pgf
import sys
import sets
import readline
import locale
sys.stdout.write("loading...")
sys.stdout.flush();
@@ -42,6 +43,7 @@ class Completer():
completer = Completer(source_lang)
readline.set_completer(completer.complete)
readline.parse_and_bind("tab: complete")
locale.setlocale(locale.LC_CTYPE, "")
while True:
try: