W3C home > Mailing lists > Public > www-validator-css@w3.org > December 2006

Re: Question on why my CSS file won't validate

From: Andreas Prilop <AndreasPrilop2006@trashmail.net>
Date: Fri, 01 Dec 2006 15:14:19 +0100
Message-ID: <457038BB.7050503@trashmail.net>
To: www-validator-css@w3.org

Grant, Melinda wrote:

> I expect this thread is not the place to have
> a discussion about the merits or lack thereof of utf encodings in style
> sheets;

Refer to <news:comp.infosystems.www.authoring.stylesheets>

> For instance, I doubt if most non-English speakers would agree with you
> that style sheets, especially those with generated content, should
> restrict themselves to ASCII.

Please give a real example where non-ASCII characters are needed
in *style sheets*. For an occasional character, you can still use
the "backslash escape" references. Otherwise, feel free to use

However, I have seen many web pages and style sheets with only
ASCII characters that some dumb editor saved in UTF-16 without need.
I'm sure the authors don't even know!

> I guess I fail to see how utf-8 or
> ISO8859-1 is in any way inappropriate.

Both UTF-8 and ISO-8859-1 are fine as long as you define
such encodings (charset) in the HTTP header.

> Of course, neither of those requires BOMs...

Received on Friday, 1 December 2006 14:14:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:42 UTC