Open srhouyu opened 1 year ago
When the default system encoding is not UTF-8 ( My Windows is GBK ), config.py will fail to read docstrings.yml.
config.py
docstrings.yml
https://github.com/jina-ai/discoart/blob/6bd664f203109ccd08bf06e74732cd02be5b734c/discoart/config.py#L173
I think encoding='utf8' can be added to open().
encoding='utf8'
open()
When the default system encoding is not UTF-8 ( My Windows is GBK ),
config.py
will fail to readdocstrings.yml
.https://github.com/jina-ai/discoart/blob/6bd664f203109ccd08bf06e74732cd02be5b734c/discoart/config.py#L173
I think
encoding='utf8'
can be added toopen()
.