W3C home > Mailing lists > Public > public-qa-dev@w3.org > June 2004

Re: [CSSVal] charset issues

From: Dominique HazaŽl-Massieux <dom@w3.org>
Date: Tue, 29 Jun 2004 11:44:22 +0200
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: Yves Lafon <ylafon@w3.org>, QA Dev <public-qa-dev@w3.org>
Message-Id: <1088502262.1498.131.camel@stratustier>
Le mar 29/06/2004 ŗ 11:16, Bjoern Hoehrmann a ťcrit :
> I think we currently do not determine the encoding of style sheets...
> I think we need to ask the CSS Working Group how the CSS Validator is
> supposed to determine it.

CSS 2 and CSS 2.1 defines precisely how this should be done:

CSS1 is much less clear on the topic:

It looks reasonable though to follow the rules:
- HTTP charset if defined
- @charset if defined
- utf-8 otherwise (which is probably fine, since most css are likely to
be in us-ascii)

Dominique HazaŽl-Massieux - http://www.w3.org/People/Dom/

Received on Tuesday, 29 June 2004 05:45:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:54:46 UTC