Skip to main content

encode_uri_component

Function encode_uri_component 

Source
pub fn encode_uri_component(s: &str, escaping_dots: bool) -> String
Expand description

JS’s encodeURIComponent: every UTF-8 byte but the letters, digits and -_.!~*'() as %XX; with escaping_dots, . too.