📜  禁用 json 转储编码 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:49.537000             🧑  作者: Mango

代码示例1
# ensure_ascii=False
with open('filename', 'w', encoding='utf8') as json_file:
    json.dump("ברי צקלה", json_file, ensure_ascii=False)