This function performs a URL encoding on the given text a using the encoding specified in parameter b. Parameter c specifies the escape character(s) for whitespaces.
Parameters
Parameter | Description |
|---|---|
a | Text. |
b | (optional) Encoding. Default: 8859_1. Note: Use the three dots to select a value. |
c | If false or 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 |