Hi all,

In my program I have this line:

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 í.

I have tried the QTextCodec class but it does not work.

¿Any other idea?

Best regards
David
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to