encode all strings as utf-8

This commit is contained in:
Espen Kåsa Notodden 2014-06-26 20:46:29 +02:00
parent b0e03e4a37
commit 4f35282511

View File

@ -168,7 +168,7 @@ def load_strings(default="en"):
# if a string doesn't exist, fallback to English
for key in translated[default]:
if key in translated[lang]:
strings[key] = translated[lang][key]
strings[key] = translated[lang][key].encode("utf-8")
return strings
def file_crunching(filename):