chiark / gitweb /
shared: json - support escaping utf16 surrogate pairs
authorTom Gundersen <teg@jklm.no>
Mon, 22 Dec 2014 13:53:40 +0000 (14:53 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 22 Dec 2014 19:27:20 +0000 (20:27 +0100)
We originally only supported escaping ucs2 encoded characters (as \uxxxx). This
only covers the BMP. Support escaping also utf16 surrogate pairs (on the form
\uxxxx\uyyyy) to cover all of unicode.


No differences found