Peter Otten wrote: > dumbkiwi wrote: > > > I'd be interested to see what your default encoding is, > > ascii > > > and why your output was different. > > If only I knew. > > > Anyway, from your post, I've done some more digging, and found the > > command: > > > > sys.setappdefaultencoding() > > That is an alias for sys.setdefaultencoding() created by your IDE (Eric), > and therefore may not always be available. > > Peter
Hmmm. That's disappointing. I've also discovered that you can do: import sys reload(sys) and then get access to sys.setdefaultencoding(). Will that get me into trouble? Matt -- http://mail.python.org/mailman/listinfo/python-list