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

Removed locale change in ReadNumsUpTo that was causing trouble. #141

Merged
merged 1 commit into from
Apr 11, 2023

Conversation

NikoOinonen
Copy link
Collaborator

Fixes #113

Manipulating the locale inside the C++ data reading function was causing subsequent regular file reads in Python to fail with a UnicodeDecodeError. This deletes the offending lines. It seems this was originally a fix for some incompatible interpretation of decimal separators (, vs. .), but this could not replicated for the moment.

@NikoOinonen NikoOinonen merged commit 25e6ea4 into main Apr 11, 2023
@NikoOinonen NikoOinonen deleted the locale-fix branch April 11, 2023 11:31
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.

readNumsUpTo breaks text file reading
2 participants