fix issue 616: support the surrogate pair in split file.

This commit is contained in:
dota17
2020-06-08 17:19:32 +08:00
parent 1c6086a86a
commit c1b872d817
4 changed files with 113 additions and 35 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ struct json_tokener
* @deprecated See json_tokener_get_error() instead.
*/
enum json_tokener_error err;
unsigned int ucs_char;
unsigned int ucs_char, got_hi_surrogate;
char quote_char;
struct json_tokener_srec *stack;
int flags;