You are not logged in.
I work on a console Qt application and I'm using stdin/stdout on my main.cpp to test some classes and functions. On OS X, I can feed non-latin input and get non-latin output without issues. However, on Arch I have issues. Here is a very simple example:
std::cout << "Enter a string: " << std::endl;
QTextStream stream1(stdin);
QString s1 = stream1.readLine();
When the user enters a non-latin string, this string (s1) is not received by my functions. This snippet works fine on OS X though.
Any clues what's going on?
TIA
Last edited by panosk (2012-11-09 13:42:50)
Offline