Encoding problems
Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuelle.
unseulmcmcmcmc at msupprimerlepoint.claveauPOINTcom
Thu Sep 2 15:45:27 EDT 2004
Hi !
On W-XP / W2K, you can solve the problem with :
- change the font of the console to "Lucida handwriter"
- change your script to :
# -*- coding: cp1252 -*-
import os
ecran=os.popen('MODE CON: CP SELECT=1252').readlines()
s1 = 'néz'
s2 = raw_input('Please type in "néz":')
print repr(s1)
print repr(s2)
Note than you can force the console to MODE CP = 1252, and del two lines or
the script. Perso, I do it via an icon.
*sorry for my bad english*
@-salutations
--
Michel Claveau
mél : http://cerbermail.com/?6J1TthIa8B
More information about the Python-list
mailing list