Code points vs Unicode scalar values
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...
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss