- From: Ernest Cline <ernestcline@mindspring.com>
- Date: Wed, 18 Feb 2004 18:23:12 -0500
- To: "Chris Lilley" <chris@w3.org>
- Cc: "W3C CSS List" <www-style@w3.org>
> [Original Message] > From: Chris Lilley <chris@w3.org> > > On Wednesday, February 18, 2004, 11:41:31 PM, Boris wrote: > > BZ> I suppose we could just specify such sheets as invalid and refuse to process > BZ> them > > BZ> Or specify that they are UTF-8 (a la XML). > > BZ> Both would break most pages out there. > > Because most stylesheets out there are in what? Most are in US-ASCII, > I would guess, since the entire syntax of CSS uses US-ASCII. The only > opportunities to have anything else are replaced content in:before and > :after, which is not too common in practice since it doesn't work in > MSIE/Win. > > So, if most stylesheets are US-ASCII then a default of UTF-8 would > work pretty well. Better hope that the author hasn't used any classes or IDs that don't use non-ASCII characters as well. For non-English documents, I'd say that's an unreasonable assumption, since its likely the author will be using names that are meaningful to him in his native language. Most US stylesheets /= Most stylesheets. Think globally. Act locally!
Received on Wednesday, 18 February 2004 18:23:09 UTC