QFileDialog and german umlaute within a path?

Try to use lambda x: x. ToUtf8(), or toLocal8Bit() or set TextCodec to any codepage you want, it should help. These methods return properly encoded python strings.

Avoid using str() on QString, it is unaware of charmap you want. What is getSelectedFiles()? There is no such method in Qt 4.5 or higher in QFileDialog class.

I assumed, that it was typo or some old Qt version, and changed it to selectedFiles() in my test code. Why don't you use convenience methods of QFileDialog for file choosing: getExistingDirectory() getOpenFileName() getOpenFileNames() getSaveFileName()?

Thats how I got it to work! Cheers! – mamachanko Apr 12 '10 at 14:37.

You should use unicode() (not str()) to convert QString into Python unicode strings.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions