diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2022-08-17 08:41:50 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2022-08-23 20:40:59 +0200 |
| commit | 6b146566e6686477af99126945df4fd2c059b426 (patch) | |
| tree | 9b504f33617637a7e13050f66b2b9ec883f8d689 /src/sql/doc/snippets/sqldatabase | |
| parent | da951c9dbf091b15e76fa63055a299e29a9001ad (diff) | |
[docs] QAnyStringView: remove the prediction that Qt 7 will drop L1
UTF-8 can never replace Latin-1 as the go-to US-ASCII superset,
because, as a variable-length encoding, it cannot use the important
size check in equality comparisons with UTF-16 to avoid having to
iterate the whole string data.
Mention that.
UTF-8 only makes sense in a UTF-8-only environment where the size
check works again. As long as our preferred charset is UTF-16, Latin-1
must be the preferred US-ASCII wrapper.
Pick-to: 6.4 6.3 6.2
Change-Id: Ibe52cfc0c9fce0e7aaacd4cd8d6361e8d8bdee3d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions
