Skip to content
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

String encoding should allow UTF-8 output #11

Closed
tgockel opened this issue Sep 4, 2014 · 0 comments
Closed

String encoding should allow UTF-8 output #11

tgockel opened this issue Sep 4, 2014 · 0 comments

Comments

@tgockel
Copy link
Owner

tgockel commented Sep 4, 2014

All std::string -> JSON string conversion goes through the jsonv::detail::string_encode function, which performs numeric encoding for characters which do not fit into the ASCII encoding. This is not entirely necessary, since a JSON document can validly contain UTF-8 sequences of characters. The library should allow replacement of this encoding function if the user knows the decoding side can handle UTF-8 encoded JSON.

@tgockel tgockel modified the milestone: v1.1 Apr 17, 2015
tgockel added a commit that referenced this issue Nov 8, 2015
@tgockel tgockel closed this as completed Nov 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant