Re: [spe-users] problem with accents

"[email protected]" <[email protected]> Tue, 14 Aug 2007 21:30:34 +0200
Newsgroups gmane.comp.python.spe.user
Message-ID <[email protected]>
http://pythonide.stani.be
http://pythonide.stani.be/manual/html/manual.html
http://pythonide.stani.be/blog/sm_donate
--



Thank you for your response,

It as helped me to find the problem, which was not an spe
one but took is origin in my files. =

I usually specify the encoding as utf-8 but my files had
been edited by lots of editor (emacs, notespad,
boa-constructor ...) both on Mandriva and Windows...

At the end my accents have been converted in something that
 unicode is not able to understand !

Surprisingly,  iso-8859-1 encoding doesn't block the opening
of the file even if my accents are no more readable

Thank you again
Nicolas


ps : sorry for  the ads at the end of this mail

---------- Initial Header -----------

From      : [email protected]
To          : Mailing list for spe users
<[email protected]>
Cc          : =

Date      : Tue, 14 Aug 2007 00:28:55 +0200
Subject : Re: [spe-users] problem with accents

http://pythonide.stani.be
http://pythonide.stani.be/manual/html/manual.html
http://pythonide.stani.be/blog/sm_donate
--


Did you specify the encoding according to pep-0263?
http://www.python.org/dev/peps/pep-0263/

Stani

[email protected] schreef:
> http://pythonide.stani.be
> http://pythonide.stani.be/manual/html/manual.html
> http://pythonide.stani.be/blog/sm_donate
> --
> =

> =

> =

> I'm not able to open python files containing some accents in
> the comments.
> =

> Spe notify me that there are Unicode Errors, and the Source
> tab is totaly empty.
> =

> I had the same kind of reaction with Boa Constructor. This
> problem was corrected by placing a file in the
> /usr/lib/python2.(5)/site-packages/ directory
> . This file (sitecustomize.py)  contain this peace of code :
>        import sys
>        sys.setdefaultencoding('iso-8859-1')
> =

> =

> Is there any issue to this problem with spe ?

> _______________________________________________
> Python-spe-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/python-spe-users
> =


_______________________________________________
Python-spe-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/python-spe-users


------------------------ ALICE C'EST ENCORE MIEUX AVEC CANAL+ LE BOUQUET ! =
---------------
D=E9couvrez vite l'offre exclusive ALICEBOX et CANAL+ LE BOUQUET, en cliqua=
nt ici http://alicebox.fr
Soumis =E0 conditions.