New full Unicode for ES6 idea

Allen Wirfs-Brock allen at
Tue Feb 21 10:28:40 PST 2012

On Feb 21, 2012, at 7:37 AM, Brendan Eich wrote:

> Brendan Eich wrote:
>> in open-source browsers and JS engines that use uint16 vectors internally
> Sorry, that reads badly. All I meant is that I can't tell what closed-source engines do, not that they do not comply with ECMA-262 combined with other web standards to have the same observable effect, e.g. Allen's example:

A quick scan of suggests that there may be more variability among current browsers than we thought.  I haven't tried my original test case in Chrome of IE9 but the discussion in this bug report suggests that their behavior may currently be different from FF.

> var c = "😁" // where the single character between the quotes is the Unicode character U+1f638
> c.length == 2;
> c === "\ud83d\ude38"; //the two character UTF-16 encoding of 0x1f683
> c.charCodeAt(0) == 0xd83d;
> c.charCodeAt(1) == 0xd338;
> Still no BRS to set, we need one if we want a full-Unicode outcome (c.length == 1, etc.).
> /be
> _______________________________________________
> es-discuss mailing list
> es-discuss at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list