I am losing the capability of printing unicode characters right after instancing a QApplication object.
From the following code and having included all the needed libraries:
int main(int argc, char** argv)
{
qDebug() << "aeiou áéíóú";
QApplication app(argc, argv);
qDebug() << "aeiou áéíóú";
return 0;
}
I am getting this output:
aeiou áéíóú
aeiou áéÃóú
How do I fix this odd behaviour? I need to be able to print unicode strings (coming in UTF-8).