Bug #16301
closedscrambled umlauts from locallang.xml
0%
Description
I've put some umlauts in the de section of my locallang.xml an get scrambled output in frontend.
Related to:
http://bugs.typo3.org/view.php?id=2673
Only way to fix this was to modifie the class.t3lib_cs.php and put utf-8 to language german than leave this blank
(issue imported from #M3766)
Files
Updated by Ernesto Baschny over 18 years ago
I cannot see any umlauts or any label at all in the attached locallang.xml. Are you sure you attached the right file to the bug report?
Updated by Joerg Sprung over 18 years ago
Sorry i've attached the wrong file: locallang2.xml is the right one. i couldn't delete the old one
Updated by Ernesto Baschny over 18 years ago
Could you provide some example code on when it goes wrong? I just did a quick test and it seems to work:
Place your locallang.xml into fileadmin/locallang.xml and have this TS-setup:
page = PAGE
page.typeNum = 0
page.10 = TEXT
page.10.data = LLL:fileadmin/locallang.xml:lang_payment_description
I switched my site from UTF-8 to "regular" DE setup (iso-8859-1) and both outputs were shown correctly in the FE.
Updated by Joerg Sprung over 18 years ago
I'using utf-8 because all my sites are utf-8 for usindg it as multiple language page. And Im using locallang.xml through Local_Lang Attribute fille by readLL.
Updated by Ernesto Baschny over 18 years ago
Joerg, could you provide us with some PHP-code from your plugin where we can reproduce the problem? I have several UTF-8 installations that are using locallang.xml UTF-8 encoded strings just fine, which is why I need some code from you to be able to reproduce it (or not).
Updated by Christian Kuhn over 15 years ago
Resolved, unable to reproduce after nearly three years without requested feedback.
Please reopen if this issue still exists.