hankhero / cl-json

Json encoder and decoder for Common-Lisp
Other
76 stars 39 forks source link

Fix encoding and decoding of non-BMP characters #27

Open chaitanyagupta opened 5 years ago

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

chaitanyagupta commented 5 years ago

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.