[Interest] (no subject)

Rainer Wiesenfarth rainer_wiesenfarth at trimble.com
Tue Jul 28 16:06:39 CEST 2020


On Tue, Jul 28, 2020 at 3:53 PM David Villalobos Cambronero <
david.villalobos.c at gmail.com> wrote:

> 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
> í.
>
Just a guess: Does your Windows source code editor use UTF-8 encoding? If
not, this might be a cause.


> [...]
>
-- 
Software Engineer | Trimble Imaging Division
Rotebühlstraße 81 | 70178 Stuttgart | Germany
Office +49 711 22881 0 | Fax +49 711 22881 11
http://www.trimble.com/imaging/ | http://www.inpho.de/

Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim
Eingetragen beim Amtsgericht Darmstadt unter HRB 83893,
Geschäftsführer: Rob Reeder, Jürgen Kesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200728/86c9718a/attachment.html>


More information about the Interest mailing list