diff options
Diffstat (limited to 'sync_translations.py')
| -rw-r--r-- | sync_translations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sync_translations.py b/sync_translations.py index f0bb542..97c0ecc 100644 --- a/sync_translations.py +++ b/sync_translations.py @@ -34,5 +34,5 @@ baseline = parse_strings_file("res/values/strings.xml") for strings_file in glob.glob("res/values-*/strings.xml"): print(strings_file) strings = dict(parse_strings_file(strings_file)) - with open(strings_file, "w") as out: + with open(strings_file, "w", encoding="utf-8") as out: write_updated_strings(out, baseline, strings) |
