summaryrefslogtreecommitdiff
path: root/lib/inx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inx')
-rw-r--r--lib/inx/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inx/utils.py b/lib/inx/utils.py
index 6103f360..cd0fdc6e 100644
--- a/lib/inx/utils.py
+++ b/lib/inx/utils.py
@@ -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