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

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>
http://groups.google.com/group/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
UTF-8.

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.
http://www.w3.org/International/O-HTTP-charset
http://ppewww.physics.gla.ac.uk/~flavell/charset/checklist.html

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

Exactly.

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