mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
encode all strings as utf-8
This commit is contained in:
parent
b0e03e4a37
commit
4f35282511
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user