[Tutor] characters in python

Gigs_ gigs at hi.t-com.hr
Thu Oct 19 00:04:22 CEST 2006


Hugo Gonzalez M wrote:
>  >> 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
>
>   
Thanks man its working with UTF-8 encoding


More information about the Tutor mailing list