Open chaitanyagupta opened 5 years ago
This PR corrects handling of unicode characters not in the basic multilingual plane. The JSON spec requires these to be split into surrogate pairs.
Just noticed that there are two other PRs which implement the encoding bit. This one, however, is the only one that does both encoding and decoding, and also includes tests.
This PR corrects handling of unicode characters not in the basic multilingual plane. The JSON spec requires these to be split into surrogate pairs.