pub fn decode_utf8_lossy(bytes: &[u8]) -> EncodedTextExpand description
Decode bytes as UTF-8, replacing invalid sequences.
This is the default behavior for rust-expect. Invalid UTF-8 sequences are replaced with the Unicode replacement character (U+FFFD).