[PyQt] QString and unicode problems

2011-10-18 Thread Andrei Kopats
Hi I am developing PyQt app now, and I very often have crashes, connected with QString usage. There are 2 reasons for exceptions: - QString contains unicode characters - python method called for Qt string. Sometimes called somewhere deep in 3rdparty code, such as os.path.blabla(QString)) See code

Re: [PyQt] QString and unicode problems

2011-10-18 Thread Hans-Peter Jansen
Am Tuesday 18 October 2011 11:07:24 schrieb Andrei Kopats: Hi I am developing PyQt app now, and I very often have crashes, connected with QString usage. There are 2 reasons for exceptions: - QString contains unicode characters never had problems with that, as long as you provide proper