[TYPO3-dev] utf-8 breaks in BE Headline Selector
Andreas Förthner
Andreas.Foerthner at netlogix.de
Sat Mar 11 01:57:24 CET 2006
Bernhard Kraft schrieb:
> 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
Hi Bernhard,
I changed it like that via PageTSconfig:
TCEFORM.tt_content.header_layout.altLabels.2 = Groß
But what you said sound logic, this will be the problem. But if there's
no other solution like you explained, then I think I'll go the pracmatic
way an change the label in Gross ;-)
This is much easier and will keep the database in clean utf-8!
Thank's for your help!
Greets,
Andreas
More information about the TYPO3-dev
mailing list