Why your Python tool corrupts text on Windows, and why chcp 65001 doesn't fix it
This story is from 2026-09-12. It is preserved in the archive; the latest stories are on the live feed.
I lost an afternoon to a config file last week. The graph name was right there in the JSON, spelled exactly the way the CLI wanted it, and the CLI kept saying the graph didn't exist. Turns out the file wasn't being read wrong...... it was being decoded wrong. The name that came out the other end ha…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-09-12 17:08 · DEV Community — AI
Why your Python tool corrupts text on Windows, and why chcp 65001 doesn't fix it