Python-spe-users Digest, Vol 10, Issue 2

[email protected] Wed, 15 Aug 2007 12:01:11 +0200
Newsgroups gmane.comp.python.spe.user
Message-ID <[email protected]>
Send Python-spe-users mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.berlios.de/mailman/listinfo/python-spe-users
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Python-spe-users digest..."


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


Today's Topics:

   1. Re: problem with accents ( [email protected] )


----------------------------------------------------------------------

Message: 1
Date: Tue, 14 Aug 2007 21:30:34 +0200
From: " [email protected] " <[email protected]>
Subject: Re: [spe-users] problem with accents
To: " python-spe-users " <[email protected]>
Message-ID: <JMS3IY$739F649EA111824CA18B4ABE21FA2DBF-cBm5OqgzVeIUrb4e85K3Fw@public.gmane.org>
Content-Type: text/plain; charset=iso-8859-1


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?couvrez vite l'offre exclusive ALICEBOX et CANAL+ LE BOUQUET, en cliquant ici http://alicebox.fr
Soumis ? conditions.




------------------------------

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


End of Python-spe-users Digest, Vol 10, Issue 2
***********************************************