Christopher Barker wrote: > Robin Dunn wrote: >> Just replace sys.stdout with an object with a write() method that does >> what you want. > > I don't think that will do it, as "print" will have already converted > the object to a string, and it does that with str(), which calls > object.__str__, which used the default encoding....
That's what I thought, too, but a Q&D experiment seemed to work... Kent _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig