Ways to detect that XXXX in JSON \uXXXX does not correspond to a Unicode character?
verdy_p at wanadoo.fr
Thu May 7 22:12:19 CDT 2015
2015-05-08 5:08 GMT+02:00 Philippe Verdy <verdy_p at wanadoo.fr>:
> Try by yourself, you can perfectly send JSON text containing '\uFFFF'
> (non-character) or '\uF800' (unpaired surrogate) and I've not seen any JSON
> implementation complaining about one or the other, when receiving the JSON
> replaced code units and no exception as well.
typo : replace F800 by D800 of course
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Unicode