https://www.cnblogs.com/BlueSkyyj/p/12781752.html
解决办法
加入参数
allow_unicode=True
fw = open(yamlFile,'a',encoding='utf-8')
w = r
yaml.dump(w,fw,allow_unicode=True)
fw.close()
标签:pyyaml,allow,fw,中文,unicode,亂碼,True
From: https://www.cnblogs.com/bitterteaer/p/17752223.html