Re: [css-syntax] ISSUE-329: @charset has no effect on stylesheet??

Hi Leif,

You wrote:

> Tab Atkins Jr., Fri, 24 Jan 2014 08:44:34 -0800:
>> Every HTML document should include a <meta charset=utf-8> in its head.
>>  It's as much a part of a valid document as the doctype, frankly -
>> lacking it effectively puts you in "quirky encoding" mode.
> This need to use meta is not reflected in the HTML (5) spec

Yes it is. Emphasis mine:

> If an HTML document does not start with a BOM, and its encoding is not
> explicitly given by Content-Type metadata, and the document is not an
> iframe srcdoc document, then the character encoding used must be an
> ASCII-compatible character encoding, and *the encoding must be
> specified using a meta element* with a charset attribute or a meta
> element with an http-equiv attribute in the Encoding declaration
> state.



Received on Saturday, 1 February 2014 00:03:56 UTC