Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7
-
None
-
3
-
Foundation Sprint 108, Foundation Sprint 109, Foundation Sprint 110, Foundation Sprint 111
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
-
- In Review
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-125730 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
563806,5 | QAnyStringView: check QASV(char) isn't UTF-8 | dev | qt/qtbase | Status: NEW | 0 | 0 |
563808,5 | QAnyStringView: fix (char) ctor producing an invalid UTF-8 sequence | dev | qt/qtbase | Status: NEW | 0 | 0 |