pub fn encode_path(path: &str) -> StringExpand 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”).