latin1 encoding as default?
Gerhard Häring
gh at ghaering.de
Sat May 24 14:02:20 EDT 2003
Helmut Jarausch wrote:
> Klaus Meyer wrote:
>
>>> is there a means to configure Python such that I
>>> can enter string constants in latin1-encoding?
>>
>>
>>
>> Do you mean this? http://www.python.org/peps/pep-0263.html
>>
>
> 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?
IDLE has problems of its own. I don't know if there's any IDLE that
understand encoding cookies, yet. But if there is, it's likely the
IDLEfork project, which is to be integrated with 2.3 anyway, IIRC.
Sorry I can't say anything definite - I don't use IDLE myself.
-- Gerhard
More information about the Python-list
mailing list