Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

encode_str

encodings.percent.encode_str

Percent encode (url encode) an utf8 string, as specified in RFC 3986 section 2.1

* The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain the same.
* The special characters "-", ".", "_", and "~" remain the same.
* All other characters are unsafe, their bytes are individually converted to a 3-character string "%HH",
where HH is the two-digit hexadecimal representation of the byte. This also applies to the space character.
0.095dev (GIT hash 5a97c5766ea04e5412cbfaed4c53658737cd2e4b)