jsonx
jsonx copied to clipboard
Wrong number in converting number to utf8
2 byte utf8 range should be 0x800 - 0x10000 Added tests with chinese characters
Added surrogate utf16 decoding
It would be great to have this patch in main jsonx
repo! The following fix notabely :) :
- }else if(ucs < 0x1000) {
+ }else if(ucs < 0x10000) {
"Fixed error in ucs_to_utf" +1