we (web engine): Experimental web browser project to understand the limits of Claude

Implement WHATWG Encoding: legacy single-byte encodings master

Add all 27 WHATWG single-byte encodings to the encoding crate: - Windows-1252 (with ISO-8859-1 and US-ASCII aliases per WHATWG spec) - ISO-8859-2 through ISO-8859-16 (excluding 8859-9 which maps to Windows-1254) - Windows-874, Windows-1250 through Windows-1258 - KOI8-R, KOI8-U - macintosh, x-mac-cyrillic - IBM866 Each encoding uses a 128-entry u16 lookup table for bytes 0x80-0xFF. All WHATWG label aliases are registered for case-insensitive lookup. 32 new tests covering per-encoding correctness and error handling. No external dependencies, no unsafe. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


+1221 -15
2 changed files