From 4db305a36dd87dc9fc21034571eaebb078054bd3 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 2 Jul 2019 18:12:20 +0200 Subject: [PATCH] unicode export --- lib/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/output.py b/lib/output.py index 216227657..0958a6a26 100644 --- a/lib/output.py +++ b/lib/output.py @@ -98,7 +98,7 @@ def write_embroidery_file(file_path, stitch_plan, svg, settings={}): settings['explicit_trim'] = False try: - pyembroidery.write(pattern, file_path, settings) + pyembroidery.write(pattern, file_path.encode("UTF-8"), settings) except IOError as e: # L10N low-level file error. %(error)s is (hopefully?) translated by # the user's system automatically.