Re: Bug? import cp1252

2007-05-14 Thread M�ta-MCI
Hi! >>> I suspect that's there's some invisible character in the file No ; because I reproduce the problem, on another CPU, with typing from scratch. >>> I can't reproduce this -- Python 2.5.1, Windows XP Pro SP2 I'm sorry. Perhaps my "french" windows is a co-factor? Perhaps my locale has Or

Re: Bug? import cp1252

2007-05-12 Thread John Machin
On May 13, 3:33 am, "Méta-MCI" <[EMAIL PROTECTED]> wrote: > Hi! > > I've a problem with these 2 scripts: > > file aaa.py (write in ANSI/cp1252): What is "ANSI/cp1252"??? > > # -*- coding: cp1252 -*- > > compo={} > > compo['pxrtf']= { > 'fichier': "pxrtf.py", > 'description': "Génération de fich

Bug? import cp1252

2007-05-12 Thread M�ta-MCI
Hi! I've a problem with these 2 scripts: file aaa.py (write in ANSI/cp1252): # -*- coding: cp1252 -*- compo={} compo['pxrtf']= { 'fichier': "pxrtf.py", 'description': "Génération de fichiers RTF" } file bbb.py (write in ANSI/cp1252): # -*- coding: cp1252 -*- import aaa With run