-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
I know the library supports UTF-8, but failed to dump the value #1036
Labels
platform: visual studio
related to MSVC
Comments
|
If it is multibyte, then it is not UTF-8. |
How I can convert to the format json::dump would accept it please? |
This is currently not possible. The library only supports UTF-8 at the moment. Maybe this helps: https://docs.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8 |
Okay, thank you for the answers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
What is the issue you have?
Failed to dump object with UTF8 value;
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
jsonObject["name"] = "Telefónica";
jsonObject.dump()
What is the expected behavior?
stringified json
And what is the actual behavior instead?
thrown an exeption. Is it possible to avoid exceptions?
Which compiler and operating system are you using? Is it a supported compiler?
VS 2017 Community edition
Did you use a released version of the library or the version from the
develop
branch?From dev branch
If you experience a compilation error: can you compile and run the unit tests?
Feature Request
Describe the feature in as much detail as possible.
Include sample usage where appropriate.
The text was updated successfully, but these errors were encountered: