Closed zhyq0826 closed 5 years ago
python 输出 json 文件如果带中文,直接输出的是 Unicode 码,
open(file, 'w').write(json.dumps({'text':"中文"}, ensure_ascii=False, indent=2))
python 输出 json 文件如果带中文,直接输出的是 Unicode 码,