* Thorsten Kampe (Sun, 1 Apr 2007 19:45:59 +0100) > Yes, I could do that but I'd rather know first if my code is wrong or > the optparse code.
It might be the bug mentioned in http://mail.python.org/pipermail/python-dev/2006-May/065458.html The patch although doesn't work. From my unicode-charset-codepage- codeset-challenged point of view the encoding of sys.stdout doesn't matter. The charset is defined in the .po/.mo file (but of course optparse can't know if the message has been translated by gettext ("_"). Thorsten -- http://mail.python.org/mailman/listinfo/python-list