qt5base-lts/src/plugins
Christian Ehrlicher e4bd73dc54 QSql/MariaDB/MySQL: use utf-8 as encoding for username and password
The mariadb driver sets the encoding for the connection to utf-8 but
only after the username and password was already set. Therefore
non-ascii characters were not correctly encoded when the local character
set was not the default one from the database.
Move mysql_set_character_set() above the username/password setting and
encode all as utf-8 instead local8Bit.

Fixes: QTBUG-55444
Change-Id: Iff7ee24159d54b578cd854e620aa814d72da3801
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
2021-03-19 09:11:38 +00:00
..
doc/snippets/code Doc: Move literal code block to a separate file 2018-10-15 10:55:18 +00:00
generic cmake: Don't give plugins PUBLIC usage requirements 2021-02-24 10:37:49 +11:00
imageformats cmake: Don't give plugins PUBLIC usage requirements 2021-02-24 10:37:49 +11:00
networkinformationbackends Disable NetworkManager plugin for -no-dbus 2021-02-24 11:59:02 +00:00
platforminputcontexts Remove unnecessary class member 2021-03-12 00:12:01 +01:00
platforms Include minus sign in ImhFormattedNumbersOnly's available keys 2021-03-16 11:50:24 +01:00
platformthemes FileChooser portal: send window id in hex 2021-03-08 20:05:19 +01:00
printsupport cmake: Don't give plugins PUBLIC usage requirements 2021-02-24 10:37:49 +11:00
sqldrivers QSql/MariaDB/MySQL: use utf-8 as encoding for username and password 2021-03-19 09:11:38 +00:00
styles macOS: Don't draw scrollbar handle when there is no range 2021-03-18 08:35:54 +00:00
CMakeLists.txt NetworkListManager based backend for QNetworkInformation 2021-02-02 11:10:06 +01:00