save utf8 encoded json
This commit is contained in:
parent
51e2319781
commit
79879822e6
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ def main(*_args):
|
||||||
out_data = app.get_data_from_form()
|
out_data = app.get_data_from_form()
|
||||||
outfile_path = app.get_filepath()
|
outfile_path = app.get_filepath()
|
||||||
print(f"Writing changed Member Data to {outfile_path}")
|
print(f"Writing changed Member Data to {outfile_path}")
|
||||||
with open(outfile_path, 'w') as outfile:
|
with open(outfile_path, 'w', encoding='utf8') as outfile:
|
||||||
json.dump(out_data, outfile, sort_keys=True, indent=4)
|
json.dump(out_data, outfile, sort_keys=True, indent=4, ensure_ascii=False)
|
||||||
else:
|
else:
|
||||||
print("Nothing has changed, skipping writing file")
|
print("Nothing has changed, skipping writing file")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue