[Webkit-unassigned] [Bug 4920] Non-BMP characters in JavaScript identifiers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 13 23:08:45 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=4920





--- Comment #13 from Alexey Proskuryakov <ap at webkit.org>  2011-06-13 23:08:45 PST ---
I think that the spec is just being sloppy here, as it is with everything else Unicode related, but compatibility beats common sense.

> Considered individually (as the designation 'character' requires) the two halves of an abstract character formed by a surrogate pair are of code point category Cs

I do not think that this is how it works. Only a Unicode character can have a category, so the halves in UTF-16 encoding don't have categories at all. In other words, U+D801 has category Cs, but bytes 0xD801 don't have a category.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list