Skip to content

andon 0.6.1 — fix piped-output crash on Windows

Choose a tag to compare

@gulmezeren2-byte gulmezeren2-byte released this 29 Jul 11:40
· 5 commits to main since this release

Fixes a crash when output is piped on Windows. Worth upgrading if you're on Windows or run this in CI.

A piped stdout on Windows gets the legacy code page rather than UTF-8. This tool prints workbook text — sheet names, labels and cell values — and those characters raised UnicodeEncodeError, taking the whole command down. Piping into a file or a parser, and any CI step capturing the log, failed on entirely ordinary data.

Output streams are now asked for UTF-8, and the guard never fails if a stream won't take it. Regression tests cover both the legacy-code-page path and a stream with no reconfigure().

Found by reproducing the defect class that had just been fixed in claude-skills-doctor, then confirming it here against real Turkish content — the bug was worse in these tools, because the characters that break are the data itself rather than decoration.

🤖 Generated with Claude Code