C++ (Qt)// Sets right codec for russian words QTextCodec::setCodecForTr(QTextCodec::codecForName("Windows-1251")); QTextCodec::setCodecForLocale(QTextCodec::codecForName("Windows-1251")); QTextCodec::setCodecForCStrings(QTextCodec::codecForName("Windows-1251"));
C++ (Qt)MainWin->trUtf8(urlInfo.name().toAscii());