A performant zero-dependency utility to clean UTF-8 text, fix mojibake from latin1, verify string length, and sanitize input