- From: <bugzilla@jessica.w3.org>
- Date: Wed, 24 Apr 2013 18:21:11 +0000
- To: public-html-admin@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21818
Bug ID: 21818
Summary: XHTML5: Permit <meta http-equiv="Content-Type"
content="text/html; charset=UTF-8"/>
Classification: Unclassified
Product: HTML WG
Version: unspecified
Hardware: PC
URL: http://www.w3.org/html/wg/drafts/html/master/document-
metadata.html#attr-meta-http-equiv-content-type
OS: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: HTML5 spec
Assignee: dave.null@w3.org
Reporter: xn--mlform-iua@xn--mlform-iua.no
QA Contact: public-html-bugzilla@w3.org
CC: eliotgra@microsoft.com, mike@w3.org,
public-html-admin@w3.org,
public-html-wg-issue-tracking@w3.org
Blocks: 21174
BACKGROUND: HTML5’s section on <meta charset="foo"/> [1] has this tail about
its XHTML usage:
]]
If the attribute is present in an XML document, its value must be an ASCII
case-insensitive match for the string "UTF-8" (and the document is therefore
forced to use UTF-8 as its encoding).
[[
PROPOSAL: Repeat above tail also for <meta http-equiv="Content-Type"
content="text/html; charset=FOO"/> at the end of the fragment
#attr-meta-http-equiv-content-type, like so:
]]
The Encoding declaration state may be used in HTML documents. <ins>and in XML
documents</ins>. But <ins>if</ins> elements with an http-equiv attribute in
that state <del>must not be</del> <ins>are</ins> used in XML documents,
<ins>then the name of the character encoding of the character encoding
declaration MUST be UTF-8 (and the document is therefore forced to use UTF-8 as
its encoding)</ins>
[[
JUSTIFICATION: This encoding declaration is more robust than the meta@charset
declaration. Therefore we want this method in Polyglt Markup. But to allow it
in Polyglot Markup, it must first be permitted in the HTML5 proper.
[1]
http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#attr-meta-charset
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 24 April 2013 18:21:20 UTC