Skip to content
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

Ensure files are read as utf-8 on all operating systems #396

Merged
merged 2 commits into from
Aug 1, 2023

Conversation

MilesCranmer
Copy link
Owner

Fixes #395.

The default Julia encoding is UTF-8, so the writing seems fine.

However, apparently Python has different encodings for reading on different architectures, which is why it can break sometimes. The fix is to always assume UTF-8 in reading the equation file.

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.

[BUG]: SymPy parsing error related to unicode encodings on Windows
1 participant