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: 'CP_UTF8' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page #11

Open
1099446868 opened this issue Nov 12, 2023 · 2 comments

Comments

@1099446868
Copy link

提示这个 UnicodeDecodeError: 'CP_UTF8' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page

@Zageku
Copy link
Owner

Zageku commented Nov 12, 2023

打开控制面板,选择时钟和区域,点击区域,选择管理,更改系统区域设置,取消使用Beta版后点击确定并重新启动即可。
https://blog.csdn.net/dream6985/article/details/126074412

@1099446868
Copy link
Author

你好,我按照这个设置,重启后并没有解决这个问题哦,这里贴一下具体的报错:
python36\python_pkgTool.exe python36\pkgEditLauncher.py
Traceback (most recent call last):
File "python36\pkgEditLauncher.py", line 80, in
import dnfpkgtool.main as main
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in load_unlocked
File "F:\GameVM\dnf86\gm\python36\dnfpkgtool_main
.py", line 26, in
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in load_unlocked
File "F:\GameVM\dnf86\gm\python36\dnfpkgtool\cacheManager.py", line 835, in
File "F:\GameVM\dnf86\gm\python36\dnfpkgtool\cacheManager.py", line 804, in loadItems2
File "json_init
.py", line 296, in load
File "codecs.py", line 321, in decode
UnicodeDecodeError: 'CP_UTF8' codec can't decode bytes in position 0--1: No mapping for the Unicode character exists in the target code page.

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