How to display unicode char in Windows

hiral hiralsmaillist at gmail.com
Sat Oct 16 04:57:47 EDT 2010


On Oct 15, 5:24 pm, "Michel Claveau -
MVP"<enleverLesX_XX... at XmclavXeauX.com.invalid> wrote:
> Hi!
>
> 1) the good syntax is:
>     # -*- coding: latin-1 -*-
>     print "**********************************************************"
>     oo = "ö"
>     print "char=<%s>" % oo
>     print "**********************************************************"
>
> 2) in the console (commandLine), use this command:  CHCP 1252 {Enter}
> (before run your script)
>
> @-salutations
> --
> Michel Claveau

Thanks that worked.



More information about the Python-list mailing list