handle unicode in inx generation

pull/290/head
Lex Neva 2018-08-22 14:02:53 -04:00
rodzic 9382532dc2
commit d02ddff475
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -28,7 +28,7 @@ def build_environment():
def write_inx_file(name, contents):
inx_file_name = "inkstitch_%s_%s.inx" % (name, current_locale)
with open(os.path.join(inx_path, inx_file_name), 'w') as inx_file:
print >> inx_file, contents
print >> inx_file.encode("utf-8"), contents
def iterate_inx_locales():
global current_translation, current_locale