diff --git a/source/translate.py b/source/translate.py index 3999ee3..1b06818 100644 --- a/source/translate.py +++ b/source/translate.py @@ -1,7 +1,7 @@ import json def translate(self, text): - with open("./translation.json") as f: + with open("./translation.json", encoding="utf-8") as f: translation = json.load(f) if self.language in translation: _lang_trad = translation[self.language]