Skip to content

Conversation

cdunn2001
Copy link
Contributor

We had already fixed Value to hold UTF-8 properly, but only the newer
StreamWriter was writing UTF-8 properly.

Old FastWriter etc. were using asCString() instead of asString() in
Value::writeValue().

Hopefully this change does not break any existing code. Seems unlikely.

fix #240

We had already fixed Value to hold UTF-8 properly, but only the newer
StreamWriter was writing UTF-8 properly.

Old FasterWriter etc. were using asCString() instead of asString() in
Value::writeValue().

Hopefully this change does not break any existing code. Seems unlikely.

issue open-source-parsers#240
cdunn2001 added a commit that referenced this pull request Apr 11, 2015
support UTF-8 (specifically, embedded zeroes) in old Writers
@cdunn2001 cdunn2001 merged commit c2b988e into open-source-parsers:master Apr 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jsoncpp discards everything after zero character ('\0')
1 participant