Skip to content
New issue

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

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

Already on GitHub? # to your account

build: fix support for non-utf8 systems #1405

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

davidhewitt
Copy link
Member

This resolves #1403 on systems where Python does not default to utf8 stdio, by forcing it using the PYTHONIOENCODING environment variable when querying the interpreter during the build script.

@davidhewitt davidhewitt force-pushed the build-script-encoding branch from 38d4175 to 59dac57 Compare January 26, 2021 23:19
@davidhewitt davidhewitt merged commit faf4095 into PyO3:master Jan 27, 2021
@davidhewitt davidhewitt deleted the build-script-encoding branch January 27, 2021 07:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fails to build on Windows: FromUtf8Error
1 participant