diff --git a/src/robotlibcore/utils/translations.py b/src/robotlibcore/utils/translations.py index 35c32f6..ed026f0 100644 --- a/src/robotlibcore/utils/translations.py +++ b/src/robotlibcore/utils/translations.py @@ -22,7 +22,7 @@ def _translation(translation: Optional[Path] = None): if translation and isinstance(translation, Path) and translation.is_file(): - with translation.open("r") as file: + with translation.open("r", encoding="utf-8") as file: try: return json.load(file) except json.decoder.JSONDecodeError: