summary refs log tree commit diff stats
path: root/po
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2018-04-03 16:38:53 -0400
committerPatrick Griffis <tingping@tingping.se>2018-04-03 16:38:53 -0400
commit33300630a3653cb47ccdd0d0096d22e277417db2 (patch)
tree2cb28cf8b0df5f41bd6bd1fbbc4523c9fbdf7ca9 /po
parentfd2167d85605fdb23116047ead3502d9f7a5e63b (diff)
tests: Explicitly open files as utf-8 for travis
Diffstat (limited to 'po')
-rwxr-xr-xpo/validate-textevent-translations2
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 = ''