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 (2026-02-20 12:42:29 GIT hash dbcc3e4b3d2a59f66230b482cff8f0b018178d77 built by fridi@fzen)
last changed: 2026-02-20