Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTextStream and non-latin console input/output
panosk last edited by
I work on a console application and in my main.cpp I use stdin/stdout to test some classes and functions. On OS X, everything works fine and I can feed and print non-latin characters. Today I wanted to continue work on my Linux machine, and to my surprise non-latin input and output doesn't work.
cout1 << "ΚΔΟΟΕΚΔ" << endl;
This prints nothing.
Using std::cout prints non-latin characters just fine.
Any ideas why on OS X it works fine but not on Linux?
Thanks in advance.