[PyKDE] Unicode problem

Jul j.vienne at libertysurf.fr
Tue Feb 22 16:23:14 GMT 2005


Hi,
Here is a bug I found in eric3 (v3.6.1) when using special
unicode charachers.
The following lines where typped in the Python shell.
++
Jul.
===================================================================
>>> s1
'Alicante - Ciudad Jard\xc3\xadn'
>>> print s1
Alicante - Ciudad Jardín
>>> print unicode(s1,'utf8')
Traceback (most recent call last):
  File
"/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClient.py",
line 55, in ?
    debugClient.main()
  File
"/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClientBase.py",
line 1501, in main
    self.interact()
  File
"/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClientBase.py",
line 783, in interact
    self.eventLoop()
  File
"/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClientBase.py",
line 803, in eventLoop
    self.readReady(self.readstream.fileno())
  File
"/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/AsyncIOBase.py",
line 68, in readReady
    self.handleLine(s)
  File
"/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClientBase.py",
line 759, in handleLine
    map(self.write,list)
  File
"/mnt/softs/CDAT/lib/python2.3/site-packages/eric3/Debugger/DebugClientBase.py",
line 769, in write
************************ ADSL JUSQU'A 16 MEGA + TELEPHONE GRATUIT ************************
L'ultra haut débit à 30EUR/mois seulement ! Et vous téléphonez gratuitement en France vers les postes fixes, hors numéros spéciaux.
Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/  (voir conditions sur le site)






More information about the PyQt mailing list