Issue #89: fix encoding.

This commit is contained in:
Sergey Vartanov 2021-09-25 09:12:13 +03:00
parent 067b815100
commit c0b4d35573
11 changed files with 18 additions and 16 deletions

View file

@ -404,7 +404,7 @@ class Icon:
shape_specification.color = color
shape_specification.draw(svg, np.array((8, 8)))
with file_name.open("w") as output_file:
with file_name.open("w", encoding="utf-8") as output_file:
svg.write(output_file)
def is_default(self) -> bool: