akfamily / akshare

AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
https://akshare.akfamily.xyz
MIT License
8.72k stars 1.79k forks source link

fix the encoding format for file reading to utf-8 #4975

Closed NotmebutWind closed 3 weeks ago

NotmebutWind commented 3 weeks ago

Suggest to fix the encoding format for file reading to utf-8 in bond_issue_cninfo.py:26, suggest change to with open(setting_file_path, encoding='utf-8') as f: otherwise may change by system encoding but python use utf-8.

albertandking commented 3 weeks ago

Suggest to fix the encoding format for file reading to utf-8 in bond_issue_cninfo.py:26, suggest change to with open(setting_file_path, encoding='utf-8') as f: otherwise may change by system encoding but python use utf-8.

Thanks for your issue,please update to AKShare 1.14.10