URL-encode(text a, encoding b, space-handling c)
Group |
Performs a URL encoding on the given text a using encoding 8859_1 or the one being specified in parameter b. Parameter c specifies the escape character for whitespaces.
Description of Parameters
Parameter |
Description |
a |
Text. |
b |
(optional) Encoding. Default: 8859_1 |
c |
If false oder empty, whitespaces are escaped to + (default). If true, whitespaces are escaped to %20 (see examples). |
Examples
Parameter a |
Parameter b |
Parameter c |
Result |
Text with umlauts äöüß |
Text+with+umlauts+%E4%F6%FC%DF |
||
Text with umlauts äöüß |
true |
Text%20with%20umlauts%20%E4%F6%FC%DF |
|
Text with umlauts äöü߀ |
UTF8 |
Text+with+umlauts+%C3%A4%C3%B6%C3%BC%C3%9F%E2%82%AC |