On Tuesday, 28 July 2020 06:51:46 PDT David Villalobos Cambronero wrote: > QString queryToExecute("SELECT 'Día'"); > mysql_real_query(dbConnection, queryToExecute.toUtf8().data(), > queryToExecute.toUtf8().length()); > > And it works just fine on Linux and Linux, but in Windows the í char is not > sent the correct way, I mean, the Database Server does not receive and í.
In addition to Rainer's question, please confirm that mysql_real_query expects UTF-8-encoded input. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest