Closed
Bug 618763
Opened 15 years ago
Closed 15 years ago
HTML5 Charset Tag not Followed
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
DUPLICATE
of bug 584285
People
(Reporter: trappmanrhett, Unassigned)
References
()
Details
(Keywords: html5)
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:2.0b8pre) Gecko/20101119 Firefox/4.0b8pre
Build Identifier:
The new Character set tag, does not modify the way Firefox renders a webpage, nor does it show up as a meta tag on "Page Info".
HTML5 DTD:
<!DOCTYPE HTML>
HTML5 Charset Tag:
<meta charset="UTF-8">
Reproducible: Always
Comment 2•15 years ago
|
||
(In reply to comment #0)
> The new Character set tag, does not modify the way Firefox renders a webpage,
Do you have a test case that shows this clearly?
> nor does it show up as a meta tag on "Page Info".
That's bug 584285.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
(In reply to comment #2)
Just for example...
I put <meta charset="UTF-32"> on my blog at:
http://chaparralweb.com/rhett/project/news.php
Refreshed the page and, the page info shows:
Encoding: ISO-8859-1, Should Be: "UTF-32" or whatever the meta tag specifies.
> (In reply to comment #0)
> > The new Character set tag, does not modify the way Firefox renders a webpage,
>
> Do you have a test case that shows this clearly?
>
> > nor does it show up as a meta tag on "Page Info".
>
> That's bug 584285.
>
> *** This bug has been marked as a duplicate of bug 584285 ***
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Comment 4•15 years ago
|
||
UTF-32 is not a supported encoding name. The HTML5 parser deliberately blacklists UTF-32 so that UTF-32 is treated as unsupported. See http://www.whatwg.org/specs/web-apps/current-work/#character-encodings-0
Furthermore, it's invalid to use <meta charset> to declare an encoding that's not a rough ASCII superset. For example, <meta charset="UTF-16"> is invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•