W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: [css-syntax] Unicode discouraged characters for grammar symbols in the spec

From: Simon Sapin <simon.sapin@exyr.org>
Date: Fri, 30 Aug 2013 10:12:32 +0100
Message-ID: <52206200.1090104@exyr.org>
To: www-style@w3.org
Le 30/08/2013 09:43, yh a écrit :
> The current css-syntax spec extensively uses Unicode
>
> U+2329 LEFT-POINTING ANGLE BRACKET and
> U+232A LEFT-POINTING ANGLE BRACKET
>
> for quoting grammar symbols.
> (And also, they appear in some of other specs reffering css-syntax
> grammar symbols)
>
> These characters are problematic when copy & paste or searching text.
>
> Indeed, I can't paste them here;
> they are automatically converted into "〈", "〉" U+3008, U+3009 by OS
> (at least under the OS I'm using, MacOS 10.7), after pasting.
>
> According to Unicode.org:
> http://unicode.org/review/pr-122.html (*),
> these characters are discouraged because they cannot occur in NFC.
> I hope them to be substituted to e.g. the preferred forms for them
> mentioned in (*):
>
> "⟨", "⟩" ( U+27E8, U+27E9 MATHEMATHICAL ANGLE BLACKET )
>

Or just stick with ASCII brackets. To deal with <url> becoming ambiguous 
(the token in Syntax and the value type in V&U), we could rename the 
token to <url()> or some other name.

-- 
Simon Sapin
Received on Friday, 30 August 2013 09:12:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:33 UTC