When a log passes through a text pipeline, encoding mistakes leave readable fingerprints: the U+FFFD replacement character where bytes could not be decoded, mojibake like é where a UTF-8 byte sequence was decoded twice, stray NULL or control bytes, or a leading UTF-8 BOM that quietly breaks the first field of every record. Encoding Issue Detector scans a log line by line for all four problems and reports every offending line with exactly what it found, entirely inside your browser.
Built-in mojibake recognition covers the common double-decoded byte patterns you actually run into: accented Latin letters like é and ñ that were UTF-8 bytes decoded a second time as Latin-1 or Windows-1252, and the three-byte sequences UTF-8 uses for curly quotes, apostrophes, and em dashes when those get mangled the same way. Alongside mojibake, the scanner checks for the raw U+FFFD replacement character decoders insert whenever they hit bytes they cannot map at all, for NULL and other non-whitespace control bytes that indicate binary data leaking into a text stream, and for a UTF-8 BOM (U+FEFF) sitting at the very start of the pasted text. A separate suspect-pattern check looks for runs of the same mojibake-style byte sequence repeated back to back, which tends to show up in more severely corrupted text than an isolated mojibake hit.
Every finding is listed with its line number, the specific marker or markers found on that line, and a preview of the line itself, so invisible corruption becomes an actionable, line-by-line list instead of a mystery. The summary counts — lines scanned, total issues, and affected lines — are kept in sync with the report: a line that trips more than one detector (say, both a replacement character and a stray control byte) counts once toward affected lines but each individual marker still counts toward the issue total, and the leading-BOM finding is reconciled with any other finding on line 1 so that one physical line is never double-counted as two affected lines.