diff --git a/enable/gcbench/publish.py b/enable/gcbench/publish.py index 4163489de..3ea9d06b4 100644 --- a/enable/gcbench/publish.py +++ b/enable/gcbench/publish.py @@ -99,7 +99,7 @@ def publish(results, outdir): comparison_table = _build_comparison_table(backends, comparisons) path = os.path.join(outdir, "index.html") - with open(path, "w") as fp: + with open(path, "w", encoding="utf-8") as fp: fp.write(_INDEX_TEMPLATE.format(comparison_table=comparison_table))