mojibake
One correct decoder per child process on Windows, and file operations that survive read-only and locked files. No dependencies, POSIX pass-through.
LangChain middleware that cleans tool outputs: fixes broken encoding, HTML and invisible characters before your agent ever reads them.
Safe, deterministic cleaner for scraped data: fixes broken encoding, HTML and invisible characters without ever destroying a legitimate value.
CLI tool to scan, fix, and verify file encoding issues — mojibake, BOM, CRLF, null bytes. Free to scan, license required to fix.