qt5base-lts/tests/auto/corelib/codecs
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
..
qtextcodec Clean up the Flag handling in QStringConverter 2020-05-14 07:47:33 +02:00
utf8 Sweep of int-ish → char-ish types near calls to QString::fromU*() 2020-05-12 05:43:37 +00:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
codecs.pro