Skip to content

Conversation

@jordr
Copy link
Contributor

@jordr jordr commented Jan 5, 2023

We may need to process files written on/output by compilers on a system with a different locale.getencoding(), which is the default of open().

This patch exposes the encoding optional parameter of open to the parse_file API.

Copy link
Owner

@eliben eliben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Please rebase on master to ensure tests are passing

@jordr jordr force-pushed the feature/encoding_param branch from f03e2d5 to cd8bae4 Compare January 7, 2023 20:09
@eliben eliben merged commit 5382e31 into eliben:master Jan 7, 2023
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