Full Unicode strings strawman

Boris Zbarsky bzbarsky at MIT.EDU
Mon May 16 18:41:57 PDT 2011

On 5/16/11 6:18 PM, Allen Wirfs-Brock wrote:
> It the string is written as \ud800\udc00\u0061" the 'a' will be at
> offset 1, even in the new proposal. It would only be at offset 1 if it
> was written as "\u+010000\u+000061" (using the literal notation from the
> proposal).

Ah, so in the proposal strings that happen to be sequences of UTF-16 
units won't be automatically converted to Unicode strings?

That seems like it'll make it very easy to introduce strings that are a 
mix of the two via concatenation....


More information about the es-discuss mailing list