I'm not able to display accents of the database.
Example:
Database: Grégoire,
php: Grégoire,
Qt: Grégoire
How can I modify Qt output to get this "é", or event better "e", again?
My database is in UTF8-unicode-ci
This is my Qt code:
query.prepare("SELECT FIRSTNAME FROM USERS WHERE ID= :nid");
query.bindValue(":nid", id);
query.exec();
if (query.next())
{
QString str = query.value(0).toString();
}