[TYPO3-dev] convert to metaCharset or renderCharset?
Martin Kutschker
masi-no at spam-typo3.org
Thu Oct 8 11:33:17 CEST 2009
Franz Holzinger schrieb:
> Hello,
>
> when does an extension need to convert the charset
When you read data outside of the scope of TYPO3. eg when you import files. GET and POST data are
handled by TYPO3 and so is the page rendering.
> and which charset should it convert to, metaCharset or renderCharset?
In the normal flow of page generation use renderCharset. This is the internal charset TYPO3 works on
(also used in the DB). The metaCharset should perhaps be called outputCharset or maybe even
clientCharset. TYPO3 will convert from the renderCharset to the metaCharset right before sending the
page to the client (browser).
It must be a very tricky edge when when use are forced to output data directly in the metaCharset.
But I cannot image any right now.
Masi
More information about the TYPO3-dev
mailing list