From 07228095435aa01845fc53ee6b57f07ee4f90db1 Mon Sep 17 00:00:00 2001 From: Atharva Joshi Date: Thu, 16 Apr 2026 05:42:26 -0400 Subject: [PATCH] fix: add utf-8 encoding to report file writes --- cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/main.py b/cli/main.py index 33d110fb..6af8896b 100644 --- a/cli/main.py +++ b/cli/main.py @@ -1005,7 +1005,7 @@ def run_analysis(): if content: file_name = f"{section_name}.md" text = "\n".join(str(item) for item in content) if isinstance(content, list) else content - with open(report_dir / file_name, "w") as f: + with open(report_dir / file_name, "w", encoding="utf-8") as f: f.write(text) return wrapper