diff options
author | Patrick Griffis <tingping@tingping.se> | 2018-04-03 16:38:53 -0400 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2018-04-03 16:38:53 -0400 |
commit | 33300630a3653cb47ccdd0d0096d22e277417db2 (patch) | |
tree | 2cb28cf8b0df5f41bd6bd1fbbc4523c9fbdf7ca9 | |
parent | fd2167d85605fdb23116047ead3502d9f7a5e63b (diff) |
tests: Explicitly open files as utf-8 for travis
-rwxr-xr-x | po/validate-textevent-translations | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/po/validate-textevent-translations b/po/validate-textevent-translations index c9c6e6a3..c61f9413 100755 --- a/po/validate-textevent-translations +++ b/po/validate-textevent-translations @@ -33,7 +33,7 @@ def validate_language(path): print('Validating', path) - with open(path, 'r') as f: + with open(path, 'r', encoding='utf-8') as f: in_event = False event_input = '' |