diff --git a/scripts/toLocale.py b/scripts/toLocale.py index 9bf55fab..f6b80014 100644 --- a/scripts/toLocale.py +++ b/scripts/toLocale.py @@ -65,6 +65,6 @@ else: data['localization'][locale] = {"description": data["description"]} - with open(filePath, 'w') as f: - json.dump(data, f, indent=2) + with open(filePath, 'w', encoding='utf-8') as f: + json.dump(data, f, indent=2, ensure_ascii=False) print("The localization has been updated")