From 8df07fdeb5721eb0be10ca321a370443d6909fd5 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 21 Aug 2013 13:17:39 +0000 Subject: [PATCH] change the locale in the test script for the Python binding --- src/runtime/python/test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/python/test.py b/src/runtime/python/test.py index 3425a4b42..4c3374650 100644 --- a/src/runtime/python/test.py +++ b/src/runtime/python/test.py @@ -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: