Skip to content

Commit

Permalink
FIX : Set encoding when writing gcbench output (#671)
Browse files Browse the repository at this point in the history
fixes #670

	modified:   enable/gcbench/publish.py
  • Loading branch information
Poruri Sai Rahul authored Mar 3, 2021
1 parent 1700cbf commit bcdf89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enable/gcbench/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def publish(results, outdir):
# Fill out the comparison table and write the summary index
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))


Expand Down

0 comments on commit bcdf89a

Please sign in to comment.