diff options
| author | Mårten Nordheim <marten.nordheim@qt.io> | 2023-11-28 17:01:17 +0100 |
|---|---|---|
| committer | Mårten Nordheim <marten.nordheim@qt.io> | 2024-02-14 18:24:39 +0100 |
| commit | 3c8d71796499a2ca641758dc1e9af4a778c8ef41 (patch) | |
| tree | 24bf4c9f6574f66d27c92559157d466d6e78f57c /src/sql/kernel/qsqldatabase.cpp | |
| parent | 2956b8433219738dceeb99464535f7fc773659a2 (diff) | |
QLocal8Bit::convert{To,From}Unicode[win]: use more of state
Like other backends we should increment the invalid character count
when we output a replacement character.
And we should also output the NULL character if requested!
The downside here is that convertFromUnicode doesn't even have the
ability to do so. So instead I added a comment explaining why it is not
handled there.
Task-number: QTBUG-118318
Pick-to: 6.7 6.6 6.5
Change-Id: I57ba631aa59454e77007ab353277b7e8c2b5526a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/sql/kernel/qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions
