[PyKDE] unicode support

Viorel Preoteasa viorelpreoteasa at hotmail.com
Tue May 14 12:18:00 BST 2002


I have added the following lines to the pyqt sample 
application.py in the __init__ function, were self.e is an
instance of QMultiLineEdit.

  x = QString(u'test')
  self.e.insertLine(x)

On the screen I get the characters "t" and "e" only and if
I use left/right keyboard arrows I can go 4 characters to the
left/right.

Does anybody know what is going on? The PyQt documentation says
that PyQt supports Unicode.

I am using KDE 2.?, PyQt 3.?, Qt 3.?, Python2.2

Viorel 




More information about the PyQt mailing list