[PyKDE] [PyQt4] QDate.toString(QtCore.Qt.TextDate) is not UTF-8

Ismail Donmez ismail at uludag.org.tr
Thu Jan 26 00:53:31 GMT 2006


Hi,

I am using QDate.toString(QtCore.Qt.TextDate) in my application and Turkish 
characters are malformed unless I do 
unicode(QDate.toString(QtCore.Qt.TextDate) , I checked the Qt4 apidocs and it 
says :

QString toString ( const QString & format ) const 
QString toString ( Qt::DateFormat format = Qt::TextDate ) const

so it should already be supporting UTF-8, is there a problem with PyQt4 or am 
I missing something here?

Regards,
ismail




More information about the PyQt mailing list