diff --git a/filprofiler/_report.py b/filprofiler/_report.py index 90a5bdd..f105533 100644 --- a/filprofiler/_report.py +++ b/filprofiler/_report.py @@ -24,7 +24,7 @@ def render_report(output_path: str, now: datetime) -> str: """Write out the HTML index and improve the SVGs.""" index_path = os.path.join(output_path, "index.html") - with open(index_path, "w") as index: + with open(index_path, "w", encoding="utf-8") as index: index.write( """