Project

General

Profile

Actions

Bug #24212

closed

Update meta tag "charset" for HTML5 – document character-encoding declaration

Added by Morton Jonuschat over 13 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
Start date:
2010-11-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When setting the doctype to html_5 TYPO3 still generates a http-equiv meta tag for setting the character encoding.

The attached patch makes the meta charset tag used by the pageRenderer configurable with a setter and adjusts tslib_pagegen so that it uses the recommended <meta charset=...> Tag.

(issue imported from #M16577)


Files

html5-charset.diff (1.19 KB) html5-charset.diff Administrator Admin, 2010-11-26 17:16
html5_metacharset.diff (1.09 KB) html5_metacharset.diff Administrator Admin, 2010-12-17 15:07

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #20736: HTML5 doctype implementationClosedSteffen Kamper2009-07-08

Actions
Related to TYPO3 Core - Bug #25280: metaCharsetTag is not truly HTML5 nor XHTML (in general) compatibleClosed2011-03-08

Actions
Actions

Also available in: Atom PDF