Fixed unicode problems with windoof

This commit is contained in:
2022-10-12 20:29:18 +02:00
parent bd242baa0a
commit ae2a98b3bc
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ class TranslationService(TranslationServiceABC):
raise FileNotFoundError()
file_dict = {}
with open(f'translation/{lang}.json', 'r') as file:
with open(f'translation/{lang}.json', 'r', encoding='utf8') as file:
file_dict = json.load(file)
file.close()