cab0d57d1e
IgnoreHeader was a rather badly defined enum, in addition the utf8 and utf16 codecs where handling BOMs somewhat different for stateless decoding. Fix this by introducing explicit flags for writing a bom when encoding and not skipping the initial bom when decoding. Source compatibility for QTextCodec is done with a couple of static constexpr variables. Change-Id: I0b2d94f84c937cec1e0494c16ef448c00382691d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> |
||
---|---|---|
.. | ||
echo | ||
.gitattributes | ||
.gitignore | ||
CMakeLists.txt | ||
korean.txt | ||
QT4-crashtest.txt | ||
qtextcodec.pro | ||
test.pro | ||
tst_qtextcodec.cpp | ||
utf8.txt |