diff --git a/io_mesh_uv_layout/export_uv_eps.py b/io_mesh_uv_layout/export_uv_eps.py index 45f64bb7b7da08211c8e44e790e1afdfffb5fccc..6d837a1520d2d491a41d94a72408830bb13aad00 100644 --- a/io_mesh_uv_layout/export_uv_eps.py +++ b/io_mesh_uv_layout/export_uv_eps.py @@ -22,7 +22,7 @@ import bpy def export(filepath, face_data, colors, width, height, opacity): - with open(filepath, "w") as file: + with open(filepath, 'w', encoding='utf-8') as file: for text in get_file_parts(face_data, colors, width, height, opacity): file.write(text) diff --git a/io_mesh_uv_layout/export_uv_svg.py b/io_mesh_uv_layout/export_uv_svg.py index 8aba21427dc25b85e6d6ddc06b84e612e8a1181e..3ce2e1f043f0f9cd34946b3e978e8227c83ec459 100644 --- a/io_mesh_uv_layout/export_uv_svg.py +++ b/io_mesh_uv_layout/export_uv_svg.py @@ -23,7 +23,7 @@ from os.path import basename from xml.sax.saxutils import escape def export(filepath, face_data, colors, width, height, opacity): - with open(filepath, "w") as file: + with open(filepath, 'w', encoding='utf-8') as file: for text in get_file_parts(face_data, colors, width, height, opacity): file.write(text)