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

exactly. I use this ``setdefaultencoding`` not removed as a check if I still have to set my encoding ... which without setdefaultencoding defaults to ascii. (grrr)

GHUM Harald Massa
persuasion python postgresql
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart