diff --git a/VERSION b/VERSION index 3fb93737..88e35a97 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2012-02-01 11:42:36) stable +Version 1.99.4 (2012-02-02 16:34:12) stable diff --git a/scripts/sync_languages.py b/scripts/sync_languages.py index 39dff978..ddea4ff8 100755 --- a/scripts/sync_languages.py +++ b/scripts/sync_languages.py @@ -7,7 +7,7 @@ import sys import shutil import os -from gluon.languages import findT +from gluon.languages import findT, utf8_repr sys.path.insert(0, '.') @@ -30,11 +30,12 @@ file1 = os.path.join(path, 'languages', '%s.py' % file) f = open(file1, 'w') try: + f.write('# coding: utf8\n') f.write('{\n') keys = d.keys() keys.sort() for key in keys: - f.write('%s:%s,\n' % (repr(key), repr(str(d[key])))) + f.write('%s:%s,\n' % (utf8_repr(key), utf8_repr(str(d[key])))) f.write('}\n') finally: f.close()