diff options
| author | Lars Knoll <lars.knoll@qt.io> | 2020-04-17 19:40:33 +0200 |
|---|---|---|
| committer | Lars Knoll <lars.knoll@qt.io> | 2020-05-14 07:50:35 +0200 |
| commit | 7e65f6a45d7ad4e67b8c27f983edd9c4b2281641 (patch) | |
| tree | 3dcefd23601bbcdffb1d741076b3c30c71e52bb5 /src/plugins/sqldrivers/mysql/qsql_mysql.cpp | |
| parent | 124d587bb95f35c853ab3458bdeb1519d369cdf1 (diff) | |
Remove QTextCodec dependency from QMimeData
We already assumed that 8bit data is utf8 encoded in all cases
but for HTML. Handle HTML through QStringDecoder now. This
removes support for encodings other than UTF based one and Latin1.
This is ok, as HTML should nowadays always be encoded in utf8 as
well (anything else is strongly discouraged by the HTML spec). In
addition, utf-8 and latin1 together seem to cover ~98% of all HTML
data.
Change-Id: I7e7165edd38cfac395faf72681e5715b6d014c14
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/plugins/sqldrivers/mysql/qsql_mysql.cpp')
0 files changed, 0 insertions, 0 deletions
