I have a trouble with open files named in my local charset (ru_RU) and made a patch for it. Now I can open file with non-latin1 filenames. Check attached patch, please.
-- Lav GNU! ALT Linux Team! LaTeX! LyX!
--- FileDialog.C.orig 2003-10-01 02:53:46 +0400 +++ src/frontends/qt2/FileDialog.C 2003-10-01 02:56:58 +0400 @@ -76,7 +76,7 @@ int res = dlg.exec(); lyxerr[Debug::GUI] << "result " << res << endl; if (res == QDialog::Accepted) - result.second = string(dlg.selectedFile().data()); + result.second = fromqstr(dlg.selectedFile()); dlg.hide(); return result; } @@ -104,7 +104,7 @@ int res = dlg.exec(); lyxerr[Debug::GUI] << "result " << res << endl; if (res == QDialog::Accepted) - result.second = string(dlg.selectedFile().data()); + result.second = fromqstr(dlg.selectedFile()); dlg.hide(); return result; } @@ -130,7 +130,7 @@ int res = dlg.exec(); lyxerr[Debug::GUI] << "result " << res << endl; if (res == QDialog::Accepted) - result.second = string(dlg.selectedFile().data()); + result.second = fromqstr(dlg.selectedFile()); dlg.hide(); return result; }