User Tools

Site Tools


en:public:developer:template_system:tags:parameters:httpencode

This is an old revision of the document!


Parameter “httpencode” defines that value of corresponding variable or result of function will be HTTP-encoded. Data must be sent over the Internet using the ASCII-characters set. It is always possible to have there some non-accessible characters that must be converted into valid ASCII-format.

If you're interest learn more reading http://www.w3schools.com/tags/ref_urlencode.asp.

Values

Value Description
1 Means that value must be HTTP-encoded. If something else is specifies this parameter will be ignored.

Example

<#UserName SetValue="John Smith">
<#UserName httpencode="1">

Output:

John%20Smith
en/public/developer/template_system/tags/parameters/httpencode.1354270759.txt.gz · Last modified: 2012/11/30 14:19 by igor