Skip to main content

urlencode

Function urlencode 

Source
pub fn urlencode(s: &[u8]) -> String
Expand description

PHP urlencode: application/x-www-form-urlencoded (RFC 1738): alphanumerics and -_. are kept, a space is +, every other byte (including ~) is %XX.