18 lines
263 B
Plaintext
18 lines
263 B
Plaintext
:sig
|
|
String uri_encode(String s)
|
|
|
|
:params
|
|
s : string that should be encoded
|
|
return value : an URI-encoded version of 's'
|
|
|
|
:see
|
|
>uri
|
|
|
|
:content
|
|
URI-encodes a string.
|
|
|
|
Related:
|
|
|
|
- PHP: `urlencode()` or `rawurlencode()`
|
|
- JavaScript / Node.js: `encodeURIComponent()`
|