Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7
-
None
-
3
-
3ff55648c (dev), 93e39f7b7 (6.8), 566426714 (6.7), ba2e7b7e9 (tqtc/lts-6.5), d897e6a5f (dev), a2d2114de (tqtc/lts-6.2), 28eefb03d (dev)
-
Foundation Sprint 108, Foundation Sprint 109, Foundation Sprint 110, Foundation Sprint 111, Foundation Sprint 112, Foundation Sprint 113
Description
QAnyStringView('\xE4') {{visit()}}s as an invalid QUtf8StringView. Expected would be a valid QLatin1StringView containing 'ä'.
This is because the const Char & ctor uses the Char type to determine the tag and since "ä" is by Qt convention UTF-8, so is char. This is correct, but inconsistent with the rest of Qt APIs which treat char as QLatin1Char.
Attachments
Issue Links
- resulted from
-
QTBUG-124365 Port QString::arg() to QAnyStringView
- Closed
For Gerrit Dashboard: QTBUG-125730 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
563806,6 | QAnyStringView: check QASV(char) isn't UTF-8 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
563808,7 | QAnyStringView: fix (char) ctor producing an invalid UTF-8 sequence | dev | qt/qtbase | Status: MERGED | +2 | +1 |
577036,2 | QAnyStringView: check QASV(char) isn't UTF-8 | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
577172,2 | QAnyStringView: check QASV(char) isn't UTF-8 | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
577864,2 | QAnyStringView: check QASV(char) isn't UTF-8 | tqtc/lts-6.5 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
577870,7 | QAnyStringView: check QASV(char) isn't UTF-8 | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | +1 |
601189,5 | QAnyStringView: fix QASV{u8' '} in C++20 mode | dev | qt/qtbase | Status: MERGED | +2 | 0 |