> I have added the following lines to the start of my py2exed applications:
> import sys
> if hasattr(sys,"setdefaultencoding"):
Interesting. Because site.py is *probably* not run by py2exe, I guess
``setdefaultencoding`` is not removed from the sys namespace... hmm...