One: Problem description
Used in the Chinese vs jsoncpp assigned to Json :: Value after toStyledString () to print, the text has become a \ u characters to start with, but also inaccurate unicode code, as normal Chinese print:
After jsoncpp print becomes abnormal unicode:
II: solve
Open source json_writer.cpp jsoncpp file, find valueToQuotedStringN function changes as shown: