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 0xab in position 8: illegal multibyte sequence #114

Open
jiangyuyi opened this issue Dec 24, 2021 · 1 comment

Comments

@jiangyuyi
Copy link

Win11下,python命令行模式,不知道为什么要求使用GBK(试过Linux是用UTF8正常的),结果也需要切换到GBK才能正常阅读

@moonsfrost
Copy link

我也是Win11遇到了这个问题,可以通过打开设置->时间和语言->语言和区域->相关设置->管理语言设置->更改系统区域设置->Beta版:使用Unicode UTF-8提供全球语言支持,就可以解决这个问题了。

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

2 participants