Again I need to talk about the default
section of the locallang.xml
. When you are following the tip of my last post you may encounter an other problem. You don’t have a default anymore (yeah! I know I suggest to remove the default section). This is may a problem if you need to handle many languages and don’t had translate all of them right now.
So here comes my bad work-around.
- open
../t3lib/class.t3lib_div.php
in an editor - search for:
$LOCAL_LANG['default'][$labelKey] = $csConvObj->utf8_decode($labelValue,'iso-8859-1');
- replace
'iso-8859-1'
with$origCharset
- save the file
- you may need to clear you llxml cache
Now you can use the default
section again and UTF-8 characters are working fine.