Index: t3lib/class.t3lib_div.php =================================================================== --- t3lib/class.t3lib_div.php (Revision 7539) +++ t3lib/class.t3lib_div.php (Arbeitskopie) @@ -4675,7 +4675,7 @@ // converting the default language (English) // this needs to be done for a few accented loan words and extension names if (is_array($LOCAL_LANG['default']) && $targetCharset != 'iso-8859-1') { - foreach ($LOCAL_LANG['default'] as &$labelValue) { + foreach ($LOCAL_LANG['default'] as &$labelValue) { $labelValue = $csConvObj->conv($labelValue, 'iso-8859-1', $targetCharset); } } @@ -4765,7 +4765,7 @@ // 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') { - foreach ($LOCAL_LANG['default'] as &$labelValue) { + foreach ($LOCAL_LANG['default'] as &$labelValue) { $labelValue = $csConvObj->utf8_decode($labelValue, $targetCharset); } unset($labelValue); @@ -4784,8 +4784,8 @@ // Checking if charset should be converted. if (is_array($LOCAL_LANG[$langKey]) && $targetCharset!='utf-8') { - foreach($LOCAL_LANG[$langKey] as $labelKey => $labelValue) { - $LOCAL_LANG[$langKey][$labelKey] = $csConvObj->utf8_decode($labelValue,$targetCharset); + foreach ($LOCAL_LANG[$langKey] as &$labelValue) { + $labelValue = $csConvObj->utf8_decode($labelValue, $targetCharset); } } } @@ -4835,8 +4835,8 @@ // Checking if charset should be converted. if (is_array($LOCAL_LANG[$langKey]) && $targetCharset!='utf-8') { - foreach($LOCAL_LANG[$langKey] as $labelKey => $labelValue) { - $LOCAL_LANG[$langKey][$labelKey] = $csConvObj->utf8_decode($labelValue,$targetCharset); + foreach ($LOCAL_LANG[$langKey] as &$labelValue) { + $labelValue = $csConvObj->utf8_decode($labelValue, $targetCharset); } }