User Tools

Site Tools


syntax:functions:uriencode
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Previous revision
syntax:functions:uriencode [2021/09/18 21:08] (current) craigt
Line 1: Line 1:
 +====== 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:encode|Encode(method, text)]]
 +  * [[syntax:functions:uridecode|URIDecode(encoding, text)]]
syntax/functions/uriencode.txt · Last modified: 2021/09/18 21:08 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki