Re: [css-syntax] ISSUE-329: @charset has no effect on stylesheet??

On Wed, Jan 15, 2014 at 2:47 PM, Richard Ishida <ishida@w3.org> wrote:
> I don't think it's true that "The @charset rule has no effect on a
> stylesheet.", otherwise why would you use it at all, and how would you
> detect the fallback encoding?

You don't use an @charset rule. You use a byte sequence that looks
like "@charset" when interpreted in an ASCII-compatible encoding. A
BOM for CSS so to say, but unlike a BOM, it ends up being part of the
data model as well, as a useless @charset rule, because we suck.


-- 
http://annevankesteren.nl/

Received on Wednesday, 15 January 2014 14:54:18 UTC