diff --git a/data/meta/_config/scripts/toLocale.py b/data/meta/_config/scripts/toLocale.py index 9bf55fab6..f6b800142 100644 --- a/data/meta/_config/scripts/toLocale.py +++ b/data/meta/_config/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")