qt5base-lts/tests/auto/corelib/codecs/qtextcodec
Lars Knoll cab0d57d1e Clean up the Flag handling in QStringConverter
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>
2020-05-14 07:47:33 +02:00
..
echo Clean up memory 2020-04-17 11:24:35 +02:00
.gitattributes Moving relevant tests to corelib/codecs 2011-08-26 08:49:59 +02:00
.gitignore Moving relevant tests to corelib/codecs 2011-08-26 08:49:59 +02:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
korean.txt Moving relevant tests to corelib/codecs 2011-08-26 08:49:59 +02:00
QT4-crashtest.txt Moving relevant tests to corelib/codecs 2011-08-26 08:49:59 +02:00
qtextcodec.pro tst_qtextcodec: Use qt_test_helper functionality 2018-07-25 10:27:42 +00:00
test.pro tst_qtextcodec: Use qt_test_helper functionality 2018-07-25 10:27:42 +00:00
tst_qtextcodec.cpp Clean up the Flag handling in QStringConverter 2020-05-14 07:47:33 +02:00
utf8.txt Moving relevant tests to corelib/codecs 2011-08-26 08:49:59 +02:00