e4bd73dc54
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> |
||
---|---|---|
.. | ||
doc/snippets/code | ||
generic | ||
imageformats | ||
networkinformationbackends | ||
platforminputcontexts | ||
platforms | ||
platformthemes | ||
printsupport | ||
sqldrivers | ||
styles | ||
CMakeLists.txt |