Something went wrong. Try again.
we (web engine): Experimental web browser project to understand the limits of Claude
Something went wrong. Try again.
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>
Author Pierre Le Fevre Co-author Claude Opus 4.6 (1M context) Committer Tangled Date (Mar 21, 2026, 11:32 AM UTC) Commit 550d8f66 550d8f666f23948c37977a4e9ca748b463f8a305 Parent db9d5fbf db9d5fbf135dc6f9838ed43b88ab57a132853b54