====== 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)]]