préfère Unicode dans la sortie JSON
This commit is contained in:
parent
3eea3854dc
commit
161b32bacf
@ -33,7 +33,8 @@ def hproc(path_in):
|
||||
if len(data2) > 0:
|
||||
path_out = path_in.with_suffix('.json')
|
||||
with open(path_out,'w') as f:
|
||||
f.write(json.dumps(data2, indent=2, sort_keys=False))
|
||||
f.write(json.dumps(data2,
|
||||
sort_keys=False, ensure_ascii=False, indent=2))
|
||||
print(f"INFO: {path_in.name} >> {path_out.name}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user