Function url::percent_encoding::lossy_utf8_percent_decode [-] [+] [src]

pub fn lossy_utf8_percent_decode(input: &[u8]) -> String

Percent-decode the given bytes, and decode the result as UTF-8.

This is “lossy”: invalid UTF-8 percent-encoded byte sequences will be replaced � U+FFFD, the replacement character.