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 http://code.google.com/p/v8/issues/detail?id=761 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
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
> 

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to