[TYPO3-dev] utf-8 breaks in BE Headline Selector
Bernhard Kraft
kraftb at kraftb.at
Sat Mar 11 00:52:56 CET 2006
Andreas Förthner wrote:
> But there is still one problem I wasn't able to solve. I tried to rename
> the headline labels available in the CEs in page TSconfig. The problem
> now is that the label hast some german umlauts in it. In the TSconfig
> field everything is shown as it should, but in the CE forms in the
> selection for the headline the characters are wrong. The data is stored
> right in the DB because what is show there is utf-8 but interpreted as a
> characterset like latin1, so the 2 byte characters are shown as two 1
> byte characters.
Hmm ... how did you change those labels ?
I guess the problem is more this one:
Normally LL (LanguageLables) in the LLL.php files or the new xml ones are stored
in their native charset. Meaning german is stored in 8859-1, eastern european languages
are stored in 8859-2, japanese in shift-jis and so on .... when you now replace those
language labels with your own values those values will be utf-8 ... now T3 just interprets
them as german LL and converts them from 8859-1 to utf-8 (altough they are already utf-8)
and so you will get labels like:
vorwärts or zurück instead of vorwärts or zurück.
I think the simplest solution would be to change the value in the databse directly to
8859-1. will display strange in the TSConfig field in the BE but should work.
greets,
Bernhard
--
----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
----------------------------------------------------------------------
More information about the TYPO3-dev
mailing list