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

json.decoder.JSONDecodeError: Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0) #4

Open
xxsmile123 opened this issue Dec 11, 2020 · 2 comments

Comments

@xxsmile123
Copy link

image
前面的步骤都正常,最后运行脚本的时候报了这个错误。用必应说过,说是编码的问题。
https://blog.csdn.net/weixin_30402343/article/details/98493168 供大佬参考

@chroblert
Copy link
Owner

image

我这边运行着没有问题

有另一个解决办法:手动打开生成的KB.json文件,然后保存为utf-8格式

@BetterDefender
Copy link

version1存在问题,使用version2可以正常使用

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