W3C home > Mailing lists > Public > www-style@w3.org > April 2009

Re: [CSS21] 4.1.3 Characters and case: Number Sign (#) in identifiers

From: James Hopkins <james@idreamincode.co.uk>
Date: Mon, 20 Apr 2009 13:57:00 +0100
Message-Id: <55188AF6-9658-4317-A8A9-3209074079F0@idreamincode.co.uk>
To: Thomas Phinney <tphinney@cal.berkeley.edu>
Cc: "www-style@w3.org" <www-style@w3.org>
On 20 Apr 2009, at 03:30, Thomas Phinney wrote:

> On Sun, Apr 19, 2009 at 6:29 PM, James Hopkins <james@idreamincode.co.uk 
> > wrote:
>> I am new to understanding character encoding and would like to  
>> clarify an
>> aspect of the CSS 2.1 spec relating specifically to character  
>> entities in
>> CSS identifiers.
>>
>> The spec mentions, amongst other things, "Unicode/ISO 10646  
>> characters
>> U+00A1 and higher are allowed...", presumably without the need to be
>> explicitly escaped. First of all, it's unclear to me exactly what  
>> "higher"
>> refers to exactly; I suspect that it's referring to the Latin  
>> Supplement
>> block (U+00A1 to U+00FF).
>
> I would have assumed that it means exactly what it says, and that ANY
> Unicode "characters U+00A1 and higher are allowed...." That includes
> pretty much every language on the planet (Arabic, Hebrew, Chinese, you
> name it), and also includes characters beyond the basic double-byte
> portion of Unicode, such as Byzantine musical symbols.
>
> Is there something else in the wording that causes you to assume an
> arbitrary ceiling of U+00FF?

I just wanted to clarify whether the Number Sign (U+0023) is indeed  
"higher" than the U+00A1 character as the spec suggests, since U+0023  
doesn't need to be explicitly escaped.

Is this correct?

>
> Cheers,
>
> T
Received on Monday, 20 April 2009 12:58:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:46:58 GMT