pub fn decode_utf8_strict(bytes: &[u8]) -> Result<EncodedText, Utf8Error>
Decode bytes as UTF-8, returning an error on invalid sequences.
Returns an error if the input is not valid UTF-8.