summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qtypeinfo.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-10-19 23:04:47 -0400
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-09 22:34:54 +0100
commitcd750c86d62152855d7f1105a5a4dd86d8ff8797 (patch)
tree42a1d9780ab59390595c453486192ac3abdfc063 /src/corelib/global/qtypeinfo.h
parent8dd47e34b9b96ac27a99cdcf10b8aec506882fc2 (diff)
Use the new UTF-8 codec in QJsonDocument
The encoder is in qjsonwriter.cpp, which requires special handling for ASCII due to the use of escape sequences. The decoder is in qjsonparser.cpp, which only scan one character at a time. As a side-effect, the JSON parser now reports the UTF-8 error in the first character with error, instead of the last. This is probably what should have been expected. Change-Id: I52e5bc30d71466b6a36098b4150c61b2e385d8e9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qtypeinfo.h')
0 files changed, 0 insertions, 0 deletions