diff --git a/tools/check_translate_files.py b/tools/check_translate_files.py index b9f7329ed3..445dc91516 100644 --- a/tools/check_translate_files.py +++ b/tools/check_translate_files.py @@ -17,7 +17,7 @@ code_lang = args.language def LoadTranslateFile(filename, direction): result = set() - file = open(filename, 'r') + file = open(filename, 'r', encoding="utf-8") for line in file: line = line.strip() if line.startswith('#') or line == '':