Files
serenity/Userland/Libraries/LibTextCodec/Decoder.cpp
Shannon Booth f29482b038 LibTextCodec: Implement UTF8Decoder::to_utf8 using AK::String
String::from_utf8_with_replacement_character is equivalent to
https://encoding.spec.whatwg.org/#utf-8-decode from the encoding spec,
so we can simply call through to it.

(cherry picked from commit 0b864bef6040fa66f6719bf06898e310d4c5c02f)
2024-10-16 23:56:40 -04:00

59 KiB