Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
4.5.0
-
None
Description
Using: LANG=ru_RU.UTF-8
Did:
#include <QCoreApplication> #include <QDebug> int main(int argc, char** argv) { for (int i=0; i<argc; ++i) qDebug()<<argv[i]; QCoreApplication app(argc, argv); for (int i=0; i<argc; ++i) qDebug()<<argv[i]; return app.exec(); }
make && src/test файл
(I give it cyrillic arg)
Expected to see:
src/test
файл
src/test
файл
Got instead:
src/test
файл
src/test
Ñайл
This needs to be fixed or the docs need to explicitly state that QString::
{from|to}Local8Bit mustn't be used before QApplication object creation