[PyKDE] Unicode problem

Detlev Offenbach detlev at die-offenbachs.de
Wed Feb 23 09:48:10 GMT 2005


Hi,

I can confirm this bug. The attached patch should fix it for eric3 3.6.2.

Detlev

Am Dienstag, 22. Februar 2005 17:23 schrieb Jul:
> 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)
>
>
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

-- 
Detlev Offenbach
detlev at die-offenbachs.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DebugClientBase.py.diff.gz
Type: application/x-gzip
Size: 497 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20050223/382688e0/DebugClientBase.py.diff.gz


More information about the PyQt mailing list