-
-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found a bug! #154
Comments
Did you just change code in tests.c without changing files used for those tests? |
I just changed test.c
|
You need to change |
Thank You Is Work now! JSON_Value *root_value = json_value_init_object(); |
Is your source file encoded using utf8? |
is Worked from cJson+VS2019
|
No,encoded used gb2312 |
cpp file encoded gb2312 |
Please change it to utf-8, it should help. |
Thank You! I'll give it a try |
if I receved chinese word from network,I need change to UTF-8? |
gb2312 is a subset of unicode so it should work. Does your example work after changing |
I'm closing this issue since it seems to be a problem in your setup. |
STREQ(json_object_get_string(root_object, "utf string"), "lorem ipsum中华人2民共和国")- FAIL
STREQ(json_object_get_string(root_object, "utf-8 string"), "中国あいうえお")- FAIL
The text was updated successfully, but these errors were encountered: