Project

General

Profile

Bug #20259 » 8360-t3lib_div.diff

Administrator Admin, 2009-04-01 00:35

View differences:

t3lib/class.t3lib_div.php 2009-04-01 00:28:15.000000000 +0200
// converting the default language (English)
// this needs to be done for a few accented loan words and extension names
// NOTE: no conversion is done when in UTF-8 mode!
if (is_array($LOCAL_LANG['default']) && $targetCharset != 'utf-8') {
if (is_array($LOCAL_LANG['default']) && $targetCharset != '' && $targetCharset != 'utf-8') {
foreach ($LOCAL_LANG['default'] as &$labelValue) {
$labelValue = $csConvObj->utf8_decode($labelValue, $targetCharset);
}
(1-1/2)