docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 4.5Web Developer ManualText Tags
Copyright  2012, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com



<ai>
<autoformat>
<case>
<charset>
<comment>
<?comment ?>
<default>
<doc>
<foldlist>
<format-number>
<obox>
<random>
<recode>
<replace>
<sed>
<smallcaps>
<sort>
<strlen>
<tablify>
<trimlines>
<wash-html>

<recode></recode>

Provided by module: Tags: RXML 2 tags

Converts between character sets. The tag can be used both to decode texts encoded in strange character encoding schemas, and encode internal data to a specified encoding scheme. All character sets listed in RFC 1345 are supported.


Attributes

from="Character set"

Converts the contents of the charset tag from the character set indicated by this attribute to the internal text representation. Useful for decoding data stored in a database. The special character set called "safe-utf8" will try to decode utf8, and silently revert back in case the content is not valid utf8 (for example iso-8859-1); this is useful when the content is not always valid utf8.


to="Character set"

Converts the contents of the charset tag from the internal representation to the character set indicated by this attribute. Useful for encoding data before storing it into a database.