newbie : unicode

polux polux2001 at wanadoo.fr
Wed Jul 31 12:58:14 EDT 2002


I did whMartin v. Loewis wrote:
> polux <polux2001 at wanadoo.fr> writes:
> 
> 
>>I'm using IDLE for windows and when i'm using a char like é or à (i'm
>>french :)), i get the error message : UnicodeError: ASCII encoding
>>error: ordinal not in range(128)
>>
>>but if i've understood, Python works with unicode, so there should be
>>no problem !
> 
> 
> The problem is that Python does not know what encoding to use for
> those characters; by default, it assumes ASCII, but ASCII does not
> support those characters. A work-around is described in
> 
> http://www.python.org/doc/FAQ.html#4.102
> 
> Regards,
> Martin
> 

at's written but it didn't work

what is or where is sitecustomize.py ? it doesn't exist on my computer
i've created it but it doesn't change anything

i've made the corrections in site.py too but no result.....please help




More information about the Python-list mailing list