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

UnicodeDecodeError in Windows #26

Open
Nanush7 opened this issue Dec 27, 2022 · 0 comments
Open

UnicodeDecodeError in Windows #26

Nanush7 opened this issue Dec 27, 2022 · 0 comments
Assignees
Labels

Comments

@Nanush7
Copy link
Member

Nanush7 commented Dec 27, 2022

Running in Windows (Python 3.11) fails with UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 29824: character maps to <undefined>.

This issue gets fixed by adding encoding='utf-8' to open(file) in wrc.py line 60.

I can push the fix, but first I want to know if we have to change the encoding based on the language. I assume we can use UTF-8 for most of the languages. Do we need other encodings for languages like Chinese?

@Nanush7 Nanush7 added the bug label Dec 27, 2022
@Nanush7 Nanush7 self-assigned this Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant