W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2009

Re: Changes to DOM3 Events Key Identifiers

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 30 Oct 2009 02:32:26 -0700
Cc: Doug Schepers <schepers@w3.org>, www-dom@w3.org
Message-id: <A0608AE7-A7DB-47EF-977C-7152AFD4CFE3@apple.com>
To: Alex Danilo <alex@abbra.com>

On Oct 30, 2009, at 1:05 AM, Alex Danilo wrote:

>
> The "\uxxxx" syntax is just reminiscent of a programming language
> but has little to do with strings returned from DOM APIs. I suppose
> you could argue that it's useful in some situations, but my concern
> is more about the existence of 2 things that mean the same
> thing.

"\uxxxx" is not a syntax, it is a Unicode string of the actual  
character. \u introduces the escape sequence for a unicode code point.  
So you can compare it directly to a character.

Regards,
Maciej
Received on Friday, 30 October 2009 09:33:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:04 GMT