ladybird/Tests/LibTextCodec
Andreas Kling c92079893a LibTextCodec: Match UTF-8 replacement handling
Consume truncated UTF-8 tails as one malformed sequence while preserving
existing behavior for encoded surrogate code points. This keeps lazy
SourceCode decoding and bytecode cache source hashing aligned with eager
source text decoding for invalid cached script source bytes.

Continue stripping an initial UTF-8 byte order mark in
UTF8Decoder::to_utf8() so HTML parsing keeps matching the previous
String-based implementation. Cover the shared decoder behavior and the
TextDecoder API surface.
2026-05-18 09:18:35 +02:00
..
CMakeLists.txt CMake: Rename serenity_* helper functions/macros to ladybird_* 2025-07-03 23:19:41 +02:00
TestTextDecoders.cpp LibTextCodec: Match UTF-8 replacement handling 2026-05-18 09:18:35 +02:00
TestTextEncoders.cpp LibTextCodec: Add SingleByteEncoders 2024-10-10 10:39:28 +02:00