qt5base-lts/tests/auto/corelib/text
Thiago Macieira 9bad4be214 QStringConverter: use the QUtf8 codec when Windows is using UTF-8
The QLocal8Bit implementation assumes that there's at most one
continuation byte -- that is, that all codecs are either Single or
Double Byte Character Sets (SBCS or DBCS). It appears to be the case for
all Windows default codepages, except for CP_UTF8, which is an opt-in
anyway.

Instead of fixing our codec, let's just use the optimized UTF-8
implementation.

[ChangeLog][Windows] Fixed support for using Qt applications with UTF-8
as the system codepage or by enabling that in the application's
manifest.

Discussed-on: https://lists.qt-project.org/pipermail/interest/2022-May/038241.html
Pick-to: 6.2 6.3
Change-Id: I77c8221eb2824c369feffffd16f0912550a98049
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2022-05-23 14:53:18 -07:00
..
qanystringview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytearray Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytearrayapisymmetry Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytearraylist Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytearraymatcher Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytearrayview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbytedatabuffer Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qchar Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcollator Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlatin1stringview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qlocale Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qregularexpression Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstring Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstring_no_cast_from_bytearray Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringapisymmetry Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringbuilder Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringconverter QStringConverter: use the QUtf8 codec when Windows is using UTF-8 2022-05-23 14:53:18 -07:00
qstringiterator Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringlist Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringmatcher Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringtokenizer Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qstringview Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qtextboundaryfinder Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qunicodetools Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
shared Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Android: Enable building of the QLocale test case 2022-05-23 19:12:06 +00:00