Priority: P3: Somewhat important
Affects Version/s: 6.0, 6.1, 6.2
Fix Version/s: None
Component/s: Core: QString and Unicode
Sprint:Qt6_Foundation_Sprint 40, Foundation_Sprint 41 (Team 1)
QUtf8StringView::indexOf (witho const char * and QUtf8String arguments) most certainly make sense, and would allow some cleanup in Qt code itself, which currently operates on const char* (without using the semantically less fitting QByteArrayView).
Functionality like isRightToLeft could be added for consistency, but might be superfluous as we don't actually use QUtf8StringView to display text.
Adding allocating methods like arg is arguably of dubious value.
|For Gerrit Dashboard: QTBUG-92021|
|367110,3||QUtf8StringView: Add isValidUtf8() method||dev||qt/qtbase||Status: NEW||-1||0|
|369428,5||tst_qstringapisymmetry: Don't pretend that QByteArray contains UTF-8||dev||qt/qtbase||Status: MERGED||+2||0|