diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-02-05 15:42:41 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-02-14 19:13:37 +0100 |
commit | 1c0b69eac521fec074390c023be8b5a23e88dd50 (patch) | |
tree | 525c90029eac4617b1a01c8eef15fff5b411c289 /src/corelib/text/qstring_compat.cpp | |
parent | 81bd1bba7b67716ed0ae565061ebedc5a5455a40 (diff) |
Only read the first BOM as a BOM; the rest are ZWNBS !
QUtf32::convertToUnicode() was forgetting to set headerdone when it
dealt with the header (for contrast, Utf16::convertToUnicode() does).
Fixes: QTBUG-62011
Change-Id: Ia254782ce0967a6cf9ce0e81eb06d41521150eed
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/text/qstring_compat.cpp')
0 files changed, 0 insertions, 0 deletions