[TYPO3-core] FYI: Fixed bug #7450: htmlArea RTE: localization is broken when the RTE is used by a frontend plugin

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Thu Feb 7 22:11:57 CET 2008


Stanislas Rolland schrieb:
>  		$this->OutputCharset  = $TSFE->metaCharset ? $TSFE->metaCharset : $TSFE->renderCharset;

Hi!

This must be wrong. $metaCharset defines the FINAL conversion of the 
WHOLE generated content. If you encode anything in $metCharset and put 
during rendering time into the "global" $content it will be encoded a 
second time by TYPO3 (see tslib_fe).

Do not use metaCharset unless you're writing code for a PHP_EXT script 
which runs completely outside TYPO3's rendering.

Masi


More information about the TYPO3-team-core mailing list