Skip to content

Add encoding utf-8 for save_to_file#22

Merged
juba merged 1 commit intojuba:mainfrom
harrylojames:fix_write_svg
Oct 13, 2023
Merged

Add encoding utf-8 for save_to_file#22
juba merged 1 commit intojuba:mainfrom
harrylojames:fix_write_svg

Conversation

@harrylojames
Copy link
Contributor

Stumbled on this when testing the new save_to_file functionality. Hope a pull request is okay! Feel free to make or suggest changes if it doesn't look quite right.

When saving to SVG if utf-8 isn't specified encoding a minus symbol raises 'charmap' codec can't encode character '\u2212'.

@harrylojames harrylojames mentioned this pull request Oct 13, 2023
@juba juba merged commit 84bea33 into juba:main Oct 13, 2023
@juba
Copy link
Owner

juba commented Oct 13, 2023

Merged, thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants