pyyaml 中文亂碼
https://www.cnblogs.com/BlueSkyyj/p/12781752.html
解决办法
加入参数
allow_unicode=True
1 | fw = open(yamlFile,'a',encoding='utf-8') |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
https://www.cnblogs.com/BlueSkyyj/p/12781752.html
加入参数
allow_unicode=True
1 | fw = open(yamlFile,'a',encoding='utf-8') |