W3C home > Mailing lists > Public > www-style@w3.org > February 2004

Re: [CSS21] response to issue 115 (and 44)

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 21 Feb 2004 14:14:02 -0500
Message-Id: <200402211914.i1LJE21I005027@department-of-alchemy.mit.edu>
To: ernestcline@mindspring.com
Cc: "WWW Style" <www-style@w3.org>

> > 3) If neither the header nor looking for U+FEFF or @charset
> > yield an encoding, but this style sheet was loaded because
> > a document linked to it (or linked to a style sheet that in turn
> > linked to it, recursively), then use the encoding of the
> > document (or style sheet) that linked to this one.
> > 
> > 4) If all else fails, assume UTF-8.
> 
> How could step (3) fail to determine a character encoding?

Because not all stylesheets are loaded from a document?  Consider UA and user
stylesheets, if nothing else...

Boris
-- 
God does not play dice with the universe: he plays an
ineffable game of his own devising, which might be
compared, from the perspective of any of the other
players, to being involved in an obscure and complex
version of poker in a pitch-dark room, with blank
cards, for infinite stakes, with a dealer who won't
tell you the rules, and who smiles all the time.

  -- Good Omens: The Nice and Accurate Prophecies of
     Agnes Nutter, Witch, by Neil Gaiman and Terry Pratchett
Received on Saturday, 21 February 2004 14:14:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:26 GMT