-
Notifications
You must be signed in to change notification settings - Fork 2.7k
The problem of incorrect transcoding in Chinese #803
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
Comments
i encounter the same problem, anyone help!! |
it seems writeString function transform chinese character to unicode after see source code. |
use jsoncpp version 1.8.3 is ok |
See #687. We need someone to add a configuration setting to determine whether to assume the internal representation is UTF-8. |
Is there any progress on this? As far as I can tell there is no way to tell jsoncpp to not escape UTF-8 characters with \u with the post 1.8.3 versions. It would be really nice to have this feature. |
@dota17 nice, thanks! |
Uh oh!
There was an error while loading. Please reload this page.
print info:
name: 中国234
result: {"key_boolean":false,"key_double":12.345000000000001,"key_number":12345,"key_object":{"name":"\u0590\u067a234"}}
jsoncpp version:1.8.4
ide: visual studio 2017 c++
The value of the variable name is displayed in Chinese, and the Chinese contained in variable result cannot be displayed properly.
The text was updated successfully, but these errors were encountered: