[TYPO3] Why typo iconvs locallang.xml?

Adam Nojszewski adam at nojszewski.coim
Wed Nov 21 10:13:09 CET 2007


Hello

1. Lang file for my extensions is locallang.xml

2. File IS encoded in utf-8

3. I have $TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';

4. All diacritical characters in section <languageKey index="pl" 
type="array"> as ąćęłńóśźż are rendered ok on page

5. All diacritical characters in section <languageKey index="en" 
type="array"> are shown on page as question marks


It seems like typo is doing iconv from utf to default charset for 
particular language (for polish it is iso-8859-2 which contains 
"ąćęłńóśźż", but for english it is iso-8859-1) an the iconv back to 
utf-8 for displaying page. This is propably caused by backward 
compatibility with locallang.php, which does not support utf

Can I switch this off?

What class does it, so I can hack this "feature"?


I really need to have real utf-8 support in all languges.


regards
-- 
Adam Nojszewski                           gg:9130731 skype:anojszewski
----------------------------------------------------------------------
http://favicon.pl/              http://www.linkedin.com/in/anojszewski


More information about the TYPO3-english mailing list