Add utf-8 mode to translation checker script

This commit is contained in:
Wuzzy 2020-11-26 13:35:10 +01:00
parent c40e97aa2e
commit 439ed00a20

View file

@ -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 == '':