no, I'd drop cin here.
try something like
in.setLocale("eucTR");
in >> searchedAuthor;
QTextStream in(stdin);
in.setLocale("eucTR");
in >> searchedAuthor;
To copy to clipboard, switch view to plain text mode
alternatively:
cin >> author;
searchedAuthor
= QString::fromAscii(author.
c_str());
// after setting the locale// ... if (see docs) QTextCodec::setCodecForCStrings() has been set
cin >> author;
searchedAuthor = QString::fromAscii(author.c_str()); // after setting the locale
// ... if (see docs) QTextCodec::setCodecForCStrings() has been set
To copy to clipboard, switch view to plain text mode
HTH
Bookmarks