[TYPO3-core] FYI: Fixed bug #7451: htmlArea RTE: BE localization is broken

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Thu Feb 7 23:50:54 CET 2008


Martin Kutschker schrieb:
> Stanislas Rolland schrieb:
>> FYI: The attached SVN patch was committed.
>>
>> Type:
>> Bugfix
>>
>> Problem:
>> BE localization is broken.
>>
>> Solution:
>> Remove redondant charset conversion.
> 
> You figured it out yourself at last. Sorry, man I was just commited the 
> fix myself (together with some cleanups elsewhere). I did this in trunk.

Seems I have changed a bit more. I have commited the rest (see .diff) 
now to TYPO4_4-2, so we at least have the same state (sans the Changelog 
entries).

I have removed the conversion for labels in FE as well. But have to 
admit I'm a bit at loss in your naming convention concerning charst 
variables. If $this->OutputCharset is not $TSFE->renderCharset n FE, 
then change $TSFE->readLLfile($file) to 
t3lib_div::readLLfile($file,$lang,$charset).  The latter will do the 
conversion for you and it will do it cached.

I have removed references to the disarded $LANG->origCharSet.

And I couldn't resist in chagign an fread() loop into a single 
file_get_contents(). Sorry.

Sorry for the mess. I hope everythings either correct or at least 
clarified so you can make final adjustments.

Masi


More information about the TYPO3-team-core mailing list