User Tools

Site Tools


en:public:developer:template_system:tags:parameters:rtfencode

Table of Contents

RTFEncode

Parameter “RtfEncode” specifies that the value of corresponding variable or result of function must be RTF-encoded. A standard RTF file can consist of only 7-bit ASCII characters, but can encode characters beyond ASCII by escape sequences.

If you're interested you can read more in WikiPedia.

NOTE: By default the resulting content will be parsed (all <#..> tags will be evaluated) before to apply this filter. You can control this behavior throught the parameter AnalyzeTagParams

Values

Value Description
1 Means that value must be RTF-encoded.
0 Means that value must be RTF-decoded.

Example

<#BusinessActivity setValue="Health & beauty">
<#BusinessActivity RTFEncode="1">

Output:

\uc0 Health \u38 beauty
en/public/developer/template_system/tags/parameters/rtfencode.txt · Last modified: 2013/01/28 17:41 by admin