Index: typo3/sysext/cms/tslib/class.tslib_pagegen.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_pagegen.php (Revision 5629) +++ typo3/sysext/cms/tslib/class.tslib_pagegen.php (Arbeitskopie) @@ -456,7 +456,32 @@ '; $GLOBALS['TSFE']->content.=' + '; + // Setting charset meta tags: + $conf=$GLOBALS['TSFE']->pSetup['meta.']; + if (is_array($conf)) { + foreach($conf as $theKey=>$theValue) { + if (!strstr($theKey,'.') || !isset($conf[substr($theKey,0,-1)])) { // Only if 1) the property is set but not the value itself, 2) the value and/or any property + if (strstr($theKey,'.')) { + $theKey = substr($theKey,0,-1); + } + $val = $GLOBALS['TSFE']->cObj->stdWrap($conf[$theKey],$conf[$theKey.'.']); + $key = $theKey; + if (trim($val)) { + $a='name'; + if (strcmp($key,'refresh') || strcmp($key,'x-ua-compatible')) { + $a='http-equiv'; + } + $GLOBALS['TSFE']->content.= ' + '; + } + } + } + } + + $GLOBALS['TSFE']->content.=' +