summaryrefslogtreecommitdiff
path: root/scripts/utility.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/utility.py')
-rw-r--r--scripts/utility.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/utility.py b/scripts/utility.py
index 4d59a1b2..48056f2c 100644
--- a/scripts/utility.py
+++ b/scripts/utility.py
@@ -21,7 +21,7 @@ def unpack_output_file(path):
skip_until_tokens = path.endswith('.txt')
- for linenumber, line in enumerate(open(path).readlines()):
+ for linenumber, line in enumerate(open(path, encoding='utf-8').readlines()):
line = line.strip()
if not line:
continue