ladybird icon indicating copy to clipboard operation
ladybird copied to clipboard

LibWeb+LibTextCodec: Add support for BOM handling and error mode

Open shannonbooth opened this issue 3 months ago • 2 comments

Fixes a crash running https://wpt.live/encoding/textdecoder-ignorebom.any.html

The factoring definitely feels a bit awkward here. Also considering whether from_utf8 etc should have any BOM handling.

shannonbooth avatar Nov 10 '24 08:11 shannonbooth