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

docstrings.yml contains non-ASCII characters and config.py may fail to read it #185

Open
srhouyu opened this issue Oct 8, 2022 · 0 comments

Comments

@srhouyu
Copy link

srhouyu commented Oct 8, 2022

When the default system encoding is not UTF-8 ( My Windows is GBK ), config.py will fail to read docstrings.yml.

with open(os.path.join(__resources_path__, 'docstrings.yml')) as ymlfile:

I think encoding='utf8' can be added to open().

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

1 participant