Use utf-8 everywhere

This commit is contained in:
kramo
2023-04-02 07:28:04 +02:00
parent b511ce22b7
commit 960eaa1949
7 changed files with 10 additions and 10 deletions

View File

@@ -277,7 +277,7 @@ def create_details_window(parent_widget, game_id=None):
path = parent_widget.data_dir / "cartridges" / "games" / f"{game_id}.json"
if path.exists():
data = json.loads(path.read_text())
data = json.loads(path.read_text("utf-8"))
data.update(values)
save_game(parent_widget, data)
else: