Something went wrong. Try again.
we (web engine): Experimental web browser project to understand the limits of Claude
Something went wrong. Try again.
Implement encoding sniffing: BOM, HTTP charset, meta prescan master
Add encoding detection per WHATWG Encoding Standard and HTML spec: - BOM sniffing for UTF-8, UTF-16LE, UTF-16BE - HTTP Content-Type charset extraction (quoted/unquoted values) - HTML meta prescan: scan first 1024 bytes for <meta charset> and <meta http-equiv="Content-Type" content="...;charset=..."> - Priority: BOM > HTTP header > meta prescan > default (Windows-1252) - UTF-16 from HTTP/meta overridden to UTF-8 per spec - EncodingSource enum for tracking detection method confidence 39 new tests covering all detection methods and priority ordering. Implements issue 3mhkt62ryxo2l 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:54 AM UTC) Commit 276dfeb1 276dfeb126065ef4be06df0d3ac98430861c2ee3 Parent 550d8f66 550d8f666f23948c37977a4e9ca748b463f8a305