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

Stanislas Rolland stanislas.rolland at fructifor.ca
Thu Feb 7 23:13:41 CET 2008


Martin Kutschker a écrit :
>>          $this->OutputCharset  = $TSFE->metaCharset ? 
>> $TSFE->metaCharset : $TSFE->renderCharset;
> 
> 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.
> 
Exactly. This script generates JS arrays of labels for use by htmlArea 
and its JavaScript plugins. These labels never go through TYPO3 
rendering. They are downloaded either by XMLHttpRequest() or by file 
inclusion on the html page.

The RTE toolbar and context menu are not rendered by TYPO3 neither in 
front nor backend.

Regards,
Stanislas



More information about the TYPO3-team-core mailing list