Python Json存储与读取
python使用json.dump()的中文编码问题
python操作cfg配置文件
Python读取配置文件
import io
with io.open('filename', 'w', encoding='utf8') as json_file:
data = json.dumps(u"ברי צקלה", ensure_ascii=False)
# unicode(data) auto-decodes data to unicode if str
json_file.write(unicode(data))