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

pub fn utf8_percent_encode(input: &str, encode_set: EncodeSet) -> String

Percent-encode the UTF-8 encoding of the given string.

The returned string is within the ASCII range.