[TYPO3-core] Bugfix #2396

Stanislas Rolland stanislas.rolland at fructifor.ca
Mon Jan 30 23:57:01 CET 2006


Bernhard Kraft a écrit :
> Grüzi,
>
> This is a CVS patch request.
>
> Type: Bugfix
>
> Branches: TYPO3_4-0
>
> BT Reference:
> http://bugs.typo3.org/view.php?id=2396
>
>
> Problem:
> Another charset issue. The values rendered in a "dual select box" 
> (where you select items in the
> right box and they move to the left) get passed through $LANG->sL .... 
> this is ok when the items
> come from $TCAfield['conf']['items'] but not when they are fetched 
> from the DB. In the DB they are
> already stored in the correct charset (the same as used by the 
> BE-User) and currently they get converted
> from iso-8859-1 to utf-8 even they are already in utf-8 in the 
> database (so a utf-8 value get's interpreted
> as iso-8859-1)
>
> Solution:
> Don't pass the label trough sL in t3lib_tceforms but rather in the 
> previou t3lib_transferdata which knows
> about where the value comes from and if it should get converted.
+1

Works fine for me.

Stanislas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060130/e516d622/attachment.html 


More information about the TYPO3-team-core mailing list