Skip to main content

encode_path

Function encode_path 

Source
pub fn encode_path(path: &str) -> String
Expand description

Spaces and the few characters a URI cannot hold, percent-encoded; “/” and the letters of every language kept as they are (an IRI, RFC 3987), so that decode gives the same path back (“Santé/impôts.md”).