fix(cli): write saved output using UTF-8 encoding

This commit is contained in:
gujishh
2026-04-12 06:25:38 +09:00
parent 01812ec185
commit 56cabf33c6
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ def save_output(report: schema.Report, emit: str, save_dir: str, suffix: str = "
content = emit_output(report, emit)
else:
content = render.render_full(report)
out_path.write_text(content)
out_path.write_text(content, encoding="utf-8")
return out_path