[BUGFIX] Meta charset tag adjustment for html5 doctype
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / class.tslib_pagegen.php
index d44a52c..5a863cd 100644 (file)
@@ -441,6 +441,7 @@ See <a href="http://wiki.typo3.org/index.php/TYPO3_3.8.1" target="_blank">wiki.t
                                        break;
                                case 'html5' :
                                        $docTypeParts[] = '<!DOCTYPE html>';
+                                       $pageRenderer->setMetaCharsetTag('<meta charset="|" />');
                                        break;
                                case 'none' :
                                        break;