Function url::form_urlencoded::parse_with_encoding
[−]
[src]
pub fn parse_with_encoding(input: &[u8], encoding_override: Option<EncodingRef>, use_charset: bool) -> Option<Vec<(String, String)>>
Convert a byte string in the application/x-www-form-urlencoded format
into a vector of (name, value) pairs.
Use parse(input.as_bytes()) to parse a &str string.
This function is only available if the query_encoding Cargo feature is enabled.
Arguments:
encoding_override: The character encoding each name and values is decoded as after percent-decoding. Defaults to UTF-8.use_charset: The use charset flag. If in doubt, set tofalse.