I'm writing a program in french. When I want to display french characters in QMessageBox, it was replaced by a "?" with a black background.I've tried that:
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
QMessageBox::information( this, QString::fromUtf8("Fenêtre"), tr("Est-ce
que vous voulez terminer cette simulation?"),tr("Oui"), tr("Non"), 0, 1 )
Any ideas about how I could solve this problem? Thanks for your replies. I'm using Qt 5.1 on VS2010.