[PyKDE] Eric3 error
Detlev Offenbach
detlev at die-offenbachs.de
Sat Sep 25 17:48:30 BST 2004
Hi,
I have just uploaded a fix for this problem. However, it think the real
problem is somewhere within QScintilla, which dies, if it is in UTF-8 mode
and fed with a string, that is encoded differently and contains non-ascii
characters.
Regards,
Detlev
Am Samstag, 25. September 2004 14:45 schrieb Douglas Soares de Andrade:
> Sorry...
>
> The example i provided was right... It works well...
>
> But this one not...
>
> #!/usr/bin/env python
> # -*- coding: iso-8859-1 -*-
>
> num1 = int(raw_input("Informe o número: "))
> num2 = int(raw_input("Informe o 2º número: "))
>
> See that im using portuguese with accents, and appers that the accents is
> the problem.
>
> See ya !
>
> Em Sáb 25 Set 2004 04:08, jul escreveu:
> > Which version of eric do you use ?
> > Your example works fine for me with the last snapshot.
> > ++
> > Jul.
> >
> > Douglas Soares de Andrade wrote:
> > >Hi !
> > >
> > >The following code is making eric3 shuts a error message.
> > >
> > >#!/usr/bin/env python
> > ># -*- coding: iso-8859-1 -*-
> > >
> > >num1 = int(raw_input("Inform the first number: "))
> > >num2 = int(raw_input("Inform the second number: "))
> > >
> > >To execute it, i pressed the F2 key, wich send me to python console.
> > > When i insert a num it does the error message.
> > >
> > >See ya !
> >
> > _______________________________________________
> > PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
> > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the PyQt
mailing list