- 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>
Received on Tuesday, 29 June 2004 05:45:23 UTC
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: http://www.w3.org/TR/CSS2/syndata.html#q23 http://www.w3.org/TR/2004/CR-CSS21-20040225/syndata.html#q23 CSS1 is much less clear on the topic: http://www.w3.org/TR/REC-CSS1#appendix-c 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) Dom -- Dominique Hazaël-Massieux - http://www.w3.org/People/Dom/ W3C/ERCIM mailto:dom@w3.org
Received on Tuesday, 29 June 2004 05:45:23 UTC