User Tools

Site Tools


syntax:functions:uriencode

URIEncode(encoding, value)

Category: Web function


Description

This function encodes a URL string such as an entire URL or just query-string values.


Arguments

ArgumentTypeDescription
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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki