mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-02 18:26:56 -04:00
encode all strings as utf-8
This commit is contained in:
parent
b0e03e4a37
commit
4f35282511
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue