mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 00:22:43 +02:00
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)