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: 'gbk' codec can't decode byte 0xa0 in position 5223: illegal multibyte sequence #67

Closed
yiaya001 opened this issue Jan 13, 2024 · 5 comments

Comments

@yiaya001
Copy link

Got this error in log while press "APPLY":
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa0 in position 5223: illegal multibyte sequence

Seems like a 'utf-8' problem:
like:
change from:

open(class_file_name, 'name')

to:

open(class_file_name, 'name', encoding='utf-8')

@MaxLastBreath
Copy link
Owner

Pretty much the entire patch was done a few days ago, feel free to test the src code and see if it's fixed, I haven't had the time to test it yet so it would be appreciated.

@MaxLastBreath
Copy link
Owner

MaxLastBreath commented Jan 16, 2024

Should be Fixed~ in 1.5.5

@fenggehuafashi
Copy link

Tried win11 with Simplified Chinese language,the ‘gbk’ codec problem still exists at version 1.5.5 . However, I can setup the windows system setting——the language when program do not support Unicode. Change it to English(US) and enable the Beta(UTF-8) system language setting. At last, it worked.

@fenggehuafashi
Copy link

image
image
image

@MaxLastBreath
Copy link
Owner

Yeah I'm aware of the issue and it should be partially fixed now in version 2.0 however due to the shutdown of the Yuzu emulator version 2 has been delayed.

Also #71

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

No branches or pull requests

3 participants