[Interest] (no subject)

Thiago Macieira thiago.macieira at intel.com
Tue Jul 28 16:37:51 CEST 2020


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





More information about the Interest mailing list