Skip to content

Add encoding utf-8 for save_to_file #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 13, 2023
Merged

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