W3C home > Mailing lists > Public > www-international@w3.org > January to March 2014

Re: [css-syntax] i18n-ISSUE-306: reference to space character

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 16 Jan 2014 10:18:55 +0000
Message-ID: <CADnb78gjoxmHKm4m+mhRR++kL2AX07_hUaa7MK9Jx8sG5t+koQ@mail.gmail.com>
To: John Cowan <cowan@mercury.ccil.org>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Richard Ishida <ishida@w3.org>, Simon Sapin <simon.sapin@exyr.org>, www-style <www-style@w3.org>, WWW International <www-international@w3.org>
On Wed, Jan 15, 2014 at 10:24 PM, John Cowan <cowan@mercury.ccil.org> wrote:
> Feh.  Do we really suck so much that this result is unavoidable?  I'd like
> to see the syntax definition of the @charset rule narrowed to match the
> @charset marker.  Is that impossible?

The CSS parser operates on code points. A correct @charset marker can
only be done at the byte level. E.g. if you have a BOM preceding the
marker, the CSS parser will not see the BOM and might think the
@charset marker to be correct, but it would not be.

Received on Thursday, 16 January 2014 10:19:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:04 UTC