[Python-Dev] PEP 263 considered faulty (for some Japanese)

Martin v. Loewis martin@v.loewis.de
12 Mar 2002 21:32:57 +0100


Guido van Rossum <guido@python.org> writes:
> - file I/O;
>> - OS filenames;
>> - implicit mixing of 8-bit and Unicode strings;
>> - invocation of unicode(s) or u.decode() without an encoding.

I would not suggest to support a default encoding for file
content. Instead, I think there should be a "terminal encoding", which
is only used for interaction with the user's terminal.
Regards,
Martin

AltStyle によって変換されたページ (->オリジナル) /