Skip to content

Commit 67cf039

Browse files
aksOpsclaude
andcommitted
Fix Windows encoding error when writing flow HTML output
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent db6fde6 commit 67cf039

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/code_intelligence/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def flow(
668668
if format == "html":
669669
content = engine.render_interactive(project_name=path.resolve().name)
670670
out_path = output or Path("flow.html")
671-
out_path.write_text(content)
671+
out_path.write_text(content, encoding="utf-8")
672672
console.print(f"Interactive flow diagram saved to [bold]{out_path}[/bold]")
673673
size_kb = out_path.stat().st_size / 1024
674674
console.print(f" Size: {size_kb:.1f} KB — open in any browser, no server needed")

0 commit comments

Comments
 (0)