How to display unicode char in Windows
Michel Claveau - MVP
enleverLesX_XXmcX at XmclavXeauX.com.invalid
Fri Oct 15 08:24:52 EDT 2010
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
More information about the Python-list
mailing list