diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-12-13 11:25:24 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2019-01-23 20:56:35 +0000 |
commit | 589a01ff6b1eacf81e74a5fc4801572135214f43 (patch) | |
tree | 76056df074d76299b698f1b17c2ea2a0f8a44457 /tests | |
parent | 461ef575bcf778ba24b0be6b775098d4b80ae5e1 (diff) |
QMimeData: Prefer UTF-8 when multiple charsets are available
This was especially a problem on Wayland where both "text/plain" (us-ascii) and
"text/plain;charset=utf-8" are typically available. I.e. we would prefer ascii
over utf-8, losing special characters.
Fixes: QTBUG-54786
Change-Id: I985f66e16fcd5125e800c86c4d3949d210e939ba
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions