ladybird/Tests/LibTextCodec
Andreas Kling 01cec162c8 LibTextCodec: Stop buffering invalid UTF-8 tails
Treat trailing UTF-8 prefixes with an invalid second byte as complete
input for streaming decode, so replacement characters are emitted in the
current chunk instead of being held until later input or finish. Keep
valid incomplete prefixes buffered across chunk boundaries.

Keep TextDecoderStream from holding continuation bytes after an invalid
lead byte at a chunk boundary. Add LibTextCodec and TextDecoderStream
coverage for invalid tails, valid split sequences, EOF partials,
surrogate sequences, and malformed continuation tails.
2026-05-18 14:08:22 +02:00
..
CMakeLists.txt CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
TestTextDecoders.cpp LibTextCodec: Stop buffering invalid UTF-8 tails 2026-05-18 14:08:22 +02:00
TestTextEncoders.cpp LibTextCodec: Add SingleByteEncoders 2024-10-10 10:39:28 +02:00