Code points vs Unicode scalar values

Allen Wirfs-Brock allen at
Tue Sep 10 09:30:49 PDT 2013

On Sep 10, 2013, at 12:14 AM, Mathias Bynens wrote:

> FWIW, here’s a real-world example of a case where this behavior is annoying/unexpected to developers:

This suggests to me that the problem is in JSON.stringify's Quote operation.  I can see an argument that Quote should convert all unpaired surrogates to \uXXXX escapes.  I wonder if changing Quote to do this would break anything...


> _______________________________________________
> es-discuss mailing list
> es-discuss at

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

More information about the es-discuss mailing list