On Tue, Jul 28, 2020 at 3:53 PM David Villalobos Cambronero < david.villalobo...@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
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest