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

Windows下 UnicodeDecodeError: 'gbk' codec can't decode byte 0x92 in position 122: illegal multibyte sequence #4

Closed
youridol opened this issue Sep 21, 2023 · 1 comment
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@youridol
Copy link
Contributor

Windows
QQ截图20230921110759

@muzi-admin
Copy link

在读取配置文件时可以标注UTF-8的编码方式:
configparser.read(config_file,encoding='utf-8')

@ancoka ancoka self-assigned this Sep 21, 2023
@ancoka ancoka added the duplicate This issue or pull request already exists label Sep 21, 2023
@ancoka ancoka closed this as completed Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants