pub fn rawurlencode(s: &[u8]) -> String
PHP rawurlencode (RFC 3986): alphanumerics and -_.~ are kept, every other byte is %XX.
rawurlencode
-_.~
%XX