[TYPO3-core] REMINDER: RFC: garbage characters displayed in flexforms (#4085, #4813)

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Fri Jan 26 12:07:19 CET 2007


Dmitry Dulepov schrieb:
> Hi!
> 
> Oliver Hader wrote:
> 
>> I'm not very happy with setting $LANG->origCharSet and resetting it to
>> its original value. But the only alternative would by to integrate a
>> default parameter (eg $forceCharSet) that is forwarded to $LANG->sL,
>> over $LANG->getLLL and finally to $LANG->hscAndCharConv. And it would
>> only be necessary for that special case - so your solution seems to be 
>> okay.
> 
> 
> I have the same feeling (not very happy because it looks a bit like a 
> hack) but I did not want to change the whole localization system :)
> 
>> Furthermore we do not know, what Masi's fix provides. And we don't know
>> if it fixes this current problem.
> 
> 
> I doubt so because code still will use sL() and sL() always works with 
> that origCharSet while it should use utf-8 for flexforms.
> 
> Unless Masi does magic... :)

$origCharset will be history after the patch. It worked well in my tests, 
but I don't recall if I have tested flex forms explictely.

Masi


More information about the TYPO3-team-core mailing list