syntax:functions:uriencode
Table of Contents
URIEncode(encoding, value)
Category: Web function
Description
This function encodes a URL string such as an entire URL or just query-string values.
Arguments
Argument | Type | Description |
---|---|---|
encoding | Text | The encoding method to use on text. |
text | Text | The text string to be encoded. |
Return value type: Text.
Examples
uriencode("iso-8859-15", "Les Misérables") //Returns 'Les+Mis%e9rables'
See also
syntax/functions/uriencode.txt · Last modified: 2021/09/18 21:08 by craigt