summaryrefslogtreecommitdiff
path: root/misc/update-gtkdoc-tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'misc/update-gtkdoc-tests.py')
-rw-r--r--misc/update-gtkdoc-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/update-gtkdoc-tests.py b/misc/update-gtkdoc-tests.py
index c182fc11..6f45e348 100644
--- a/misc/update-gtkdoc-tests.py
+++ b/misc/update-gtkdoc-tests.py
@@ -191,7 +191,7 @@ if __name__ == '__main__':
writer = GtkDocCommentBlockWriter(indent=True)
logger.enable_warnings(True)
- with io.open(path, 'r') as f:
+ with io.open(path, 'r', encoding='utf-8') as f:
lines = f.readlines()
chunks = []