Re: How to display unicode char in Windows

2010-10-16 Thread Michel Claveau - MVP
Hi! > "cp65001" isn't in Python's encoding tables. CP65001 is an alias for (partial) UTF-8 @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

Re: How to display unicode char in Windows

2010-10-16 Thread hiral
On Oct 15, 11:38 pm, "Mark Tolonen" wrote: > "hiral" wrote in message > > news:90b62600-a0a4-47d5-bb6f-a3ae14cf6...@9g2000prn.googlegroups.com... > > > Hi, > > I tried... > > > > > # coding: latin-1 > > print "**" > > oo = "ö" > > print "ch

Re: How to display unicode char in Windows

2010-10-16 Thread hiral
On Oct 15, 11:06 pm, John Nagle wrote: > On 10/15/2010 4:57 AM, hiral wrote: > > > Hi, > > I tried... > > > > > # coding: latin-1 > > print "**" > > oo = "ö" > > print "char=<%s>" % oo > > print "*

Re: How to display unicode char in Windows

2010-10-16 Thread hiral
On Oct 15, 5:24 pm, "Michel Claveau - MVP" wrote: > Hi! > > 1) the good syntax is: >     # -*- coding: latin-1 -*- >     print "**" >     oo = "ö" >     print "char=<%s>" % oo >     print "**

Re: How to display unicode char in Windows

2010-10-15 Thread Mark Tolonen
"hiral" wrote in message news:90b62600-a0a4-47d5-bb6f-a3ae14cf6...@9g2000prn.googlegroups.com... Hi, I tried... # coding: latin-1 print "**" oo = "ö" print "char=<%s>" % oo print "

Re: How to display unicode char in Windows

2010-10-15 Thread John Nagle
On 10/15/2010 4:57 AM, hiral wrote: Hi, I tried... # coding: latin-1 print "**" oo = "ö" print "char=<%s>" % oo print "**" but it is not printing "ö" char; any idea? Thank you. -Hi

Re: How to display unicode char in Windows

2010-10-15 Thread Michel Claveau - MVP
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

How to display unicode char in Windows

2010-10-15 Thread hiral
Hi, I tried... # coding: latin-1 print "**" oo = "ö" print "char=<%s>" % oo print "**" but it is not printing "ö" char; any idea? Thank you. -Hiral -- http://mail.python.org/mailman