[TYPO3-dev] convert to metaCharset or renderCharset?

Popy popy.dev at gmail.com
Thu Oct 8 11:30:50 CEST 2009


Theorically, your extension does not need to convert charsets.
It have to generate content into the "renderCharset" (which is generally the
database charset too), then the TSFE class will convert it into metaCharset
if needed.

Of course, if you fetch external data, you may have to convert the content
you get into the renderCharset

Popy

2009/10/8 Franz Holzinger <franz at ttproducts.de>

> Hello,
>
> when does an extension need to convert the charset and which charset
> should it convert to, metaCharset or renderCharset?
> Should it always convert to renderCharset, oder only if there is the
> same for metaCharset?
>
> The conversion of $v is done by this:
> $v = $csConvObj->conv($v, 'utf-8', $charset);
>
> see also the question from Masi:
>
> http://lists.netfielders.de/pipermail/typo3-team-core/2006-June/004901.html
>
> - Franz
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>




More information about the TYPO3-dev mailing list