Percent-encodes everything but unreserved characters (RFC 3986), for building queries and URLs.
text := percent_encode("a b&c");
assert(text == "a%20b%26c");
free(text);Doesn't run in the browser (skipped on wasm).
percent_encode :: (text: string) -> string
Parameters
- text: string
Returns
- string