[Tutor] characters in python

Hugo Gonzalez M hugonz-lists at h-lab.net
Wed Oct 18 23:43:49 CEST 2006


 >> I tried with unicode strings, but nothing. It says : unsoported 
characters
 >>

They are supported. Are you using them literally in your code? Anything 
other than ASCII or Latin-1 needs to be declared explicitly at the start 
of the source code file.

Maybe you can use UTF-8 encoding.

See:
http://www.python.org/dev/peps/pep-0263/

Hugo

Luke Paireepinart wrote:
> Stanko wrote:
> Perhaps you could give us the code you were using?
>> _______________________________________________
>> Tutor maillist  -  Tutor at python.org
>> http://mail.python.org/mailman/listinfo/tutor
>>
>>   
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list