Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-06-02 12:28:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-02 12:28:22 +0300
commit86c4ca71ef180fd67fe64451f8533d5ca3f6417e (patch)
tree922364120455930b481fc191a9e10a911ee73baf /io_mesh_uv_layout/export_uv_svg.py
parentf5edd05a3b19a8b9647720673c5b327863df891d (diff)
Fix T76736: incorrect filename in SVG, fails to load elsewhere
Diffstat (limited to 'io_mesh_uv_layout/export_uv_svg.py')
-rw-r--r--io_mesh_uv_layout/export_uv_svg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_uv_layout/export_uv_svg.py b/io_mesh_uv_layout/export_uv_svg.py
index 8aba2142..3ce2e1f0 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)