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

Set the encoding to 'utf-8' globally #432

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vrbober
Copy link

@vrbober vrbober commented Nov 15, 2024

The logging throws errors when used with Ukrainian language on Windows machine, by default Windows uses cp1252 I'm forcing it to use utf-8.

See this: https://discord.com/channels/1114128157554004011/1306790318087340082

@vrbober
Copy link
Author

vrbober commented Nov 19, 2024

Okay I'm still working on it, I want to test it from end to end but for that I need to pack .py files into .exe with pyinstaller.
The issue is I don't know the exact command.

@art-from-the-machine
Copy link
Owner

Hey thanks for looking into this! I have had to make some changes recently to these file encodings to allow for Chinese characters to work (ef08b83) so this might also help with Ukrainian characters. But I'll make sure to test this. As for the exe, there are some files already set as UTF-8 in the current release so it hopefully shouldn't be an issue!

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