Closed linuxwolf closed 7 years ago
This is wrong. HTML needs to be normative for the encoding bits.
@annevk
This document is carrying forward the charset
encoding instructions from RFC 4329. Those look correct to me, and don't seem contradict the WHATWG document. Can you elaborate why it should be changed?
Looking at https://tools.ietf.org/html/rfc4329#section-4.2 step 2 and 1 are reversed these days and step 3 is bogus as far as HTML embedding goes (it defaults to the encoding of the document or an attribute on the script
element if there's nothing else).
I'm looking at https://html.spec.whatwg.org/multipage/scripting.html#concept-script-type, which is what [HTML] points to right now. This doesn't talk about the charset
parameter on the media type, but the charset
on the \<script />
tag. As such, it still reads as compatible with RFC 4329 § 4.2 to me, so I'm clearly missing something:
The [HTML] reference is turning into a bigger, arguably separate, issue.
@annevk thanks for the pointers. I'll create an issue to track this concern.
Fixes #5