Skip to content

Conversation

@hairyhum
Copy link
Contributor

@hairyhum hairyhum commented Apr 8, 2014

2 byte utf8 range should be 0x800 - 0x10000
Added tests with chinese characters

@hairyhum
Copy link
Contributor Author

Added surrogate utf16 decoding

@archydragon
Copy link

It would be great to have this patch in main jsonx repo! The following fix notabely :) :

-  }else if(ucs < 0x1000) {
+  }else if(ucs < 0x10000) {

@saltos
Copy link

saltos commented May 29, 2014

"Fixed error in ucs_to_utf"
+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants