[Python-Dev] Generalised String Coercion
reinhold-birkenfeld-nospam at wolke7.net
Sun Aug 7 09:46:31 CEST 2005
Guido van Rossum wrote:
> The main problem for a smooth Unicode transition remains I/O, in my
> opinion; I'd like to see a PEP describing a way to attach an encoding
> to text files, and a way to decide on a default encoding for stdin,
> stdout, stderr.
FWIW, I've already drafted a patch for the former. It lets you write to
file.encoding and honors this when writing Unicode strings to it.
Mail address is perfectly valid!
More information about the Python-Dev