Code points vs Unicode scalar values

Allen Wirfs-Brock allen at wirfs-brock.com
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: http://cirw.in/blog/node-unicode

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...

Allen








> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130910/755f1257/attachment-0001.html>


More information about the es-discuss mailing list