In message
<[EMAIL PROTECTED]>, Sam
wrote:

> So how can I set sys.stdout.encoding so it's UTF-8 when piped through
> cat (or anything else).
> 
> I tried assigning to it, but no dice.

You could try wrapping it in a file object that does explicit encoding
translation, using codecs.EncodedFile
<http://docs.python.org/lib/module-codecs.html>.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to