latin1 encoding as default?
Helmut Jarausch
jarausch at skynet.be
Sun May 25 13:44:49 EDT 2003
Martin v. Löwis wrote:
> Helmut Jarausch <jarausch at skynet.be> writes:
>
>
>>Many thanks, that's exactly what I was looking for,
>>it works fine in a Python 2.3 scirpt
>>but how can I tell idle .
>>If I enter
>># _*_ coding: latin1 _*_
>>
>>as the first line in 'idle'
>>it doesn't have an effect.
>>
>>Did I miss something?
>
>
> What IDLE version are you using? The IDLE in 2.3 supports that, as
> does idlefork. I recommend you spell this as
>
> # -*- coding: iso-8859-1 -*-
>
I have difficulties. Here my output
Python 2.3b1+ (#1, May 24 2003, 15:02:32)
[GCC 3.2.3] on linux2
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> # -*- coding: iso-8859-1 -*-
>>> print "Ätsch"
Unsupported characters in input
>>>
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
More information about the Python-list
mailing list