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

Force UTF-8 when reading subprocess output #46

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

ncoghlan
Copy link
Collaborator

Subprocess execution was ensuring that Python in the subprocess used UTF-8 encoding for its standard streams, but it wasn't ensuring that the current process also did so when communicating with the subprocess via pipes.

Closes #42

Subprocess execution was ensuring that Python in the
subprocess used UTF-8 encoding for its standard streams,
but it wasn't ensuring that the *current* process also
did so when communicating with the subprocess via pipes.

Closes #42
@ncoghlan ncoghlan merged commit b05fa85 into main Oct 28, 2024
10 checks passed
@ncoghlan ncoghlan deleted the resolve-win-cli-charmap-error branch October 28, 2024 04:57
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.

Windows: direct execution test fails in CI
1 participant