On 26.01.06 03:15:54, Ismail Donmez wrote:
> I am doing something like this QStatusBar.showMessage("Foo - %s" % 
> QDate.toString(QtCore.Qt.TextDate))

Does it work with:

QStatusBar.showMessage(QtCore.QString("Foo -
%1").arg(QDate.toString(QtCore.Qt.QTextDate)))

? I suspect that the %-replacement converts the QString to str and then
after replacement again into QString and in between you loose
Unicode'ness of your string. But this is only guessing, Phil should know
for sure.

Andreas

-- 
Don't go surfing in South Dakota for a while.

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to