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

Write output with explicit UTF-8 encoding #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pezcode
Copy link

@pezcode pezcode commented Oct 13, 2022

On Windows the encoding seems to default to one of the 8-bit code pages instead of UTF-8, noticable with special characters in the header. Python 3.15 supposedly will force the default to be UTF-8 on all platforms, but that's a long way off and won't help on older versions.

The default encoding is platform-dependent, which is a problem on
Windows specifically. Python 3.15 hopefully fixes this issue:
https://peps.python.org/pep-0686/
@pezcode
Copy link
Author

pezcode commented Oct 13, 2022

CI failures seem to be related to Vulkan header stuff, most likely(?) unrelated to the output encoding.

@mosra
Copy link
Owner

mosra commented Oct 13, 2022

Thank you! And sorry that things didn't "just work" 😅

Yep, those errors are caused by regular updates to Vulkan headers. I'll look into that -- I don't have scheduled builds set up on the CI here so I only discover those too late.

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