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.