Skip to content

将tools/codegen.py读入json文件时的编码更改为UTF-8 #19

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Augtons
Copy link

@Augtons Augtons commented Oct 10, 2022

从腾讯云直接保存的json为UTF-8格式,如果不做此更改,则会报错“错误:文件格式非法,请检查xxxxx 文件是否是 JSON 格式。”

更改后可以直接正常运行

Changes to be committed:
modified: tools/codegen.py

从腾讯云直接保存的json为UTF-8格式,如果不做此更改,则会报错“错误:文件格式非法,请检查xxxxx 文件是否是 JSON 格式。”

 Changes to be committed:
	modified:   tools/codegen.py
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

Successfully merging this pull request may close these issues.

1 participant