save utf8 encoded json #20

Merged
tux merged 1 commit from utf8 into master 2020-03-26 10:40:04 +01:00
Collaborator

closes !19

closes !19
tux was assigned by dkdent 2020-03-26 00:06:00 +01:00
tux reviewed 2020-03-26 10:39:58 +01:00
@ -71,3 +71,2 @@
print(f"Writing changed Member Data to {outfile_path}")
with open(outfile_path, 'w') as outfile:
json.dump(out_data, outfile, sort_keys=True, indent=4)
with open(outfile_path, 'w', encoding='utf8') as outfile:
Owner

Hattest Du mal probiert, ob es ohne den encoding-Parameter geht? mW ist utf-8 bei Python Standard.
Er schadet aber auch nicht.

Hattest Du mal probiert, ob es ohne den encoding-Parameter geht? mW ist utf-8 bei Python Standard. Er schadet aber auch nicht.
tux closed this pull request 2020-03-26 10:40:04 +01:00
tux deleted branch utf8 2020-03-26 10:40:09 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Netz39_Vorstand/stammdaten-formular#20
No description provided.