[issue2931] optparse: various problems with unicode and gettext

2011-03-13 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer added the comment: After so much time I've checked again with the little script I sent and I see that it doesn't happen under Python 2.7 (2.7.1+), but it does under 2.6 (2.6.6) and 2.5 (2.5.5). -- ___ Python trac

[issue2931] optparse: various problems with unicode and gettext

2008-06-18 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer <[EMAIL PROTECTED]> added the comment: The attached version of ``optparse_unicode.py`` doensn't depend on a UTF-8 locale, sorry. Added file: http://bugs.python.org/file10650/optparse_unicode2.py ___ Python tracker <[E

[issue2931] optparse: various problems with unicode and gettext

2008-06-18 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer <[EMAIL PROTECTED]> added the comment: What I find most bothersome is that ``optparse`` is being inconsistent in the types of localised strings it expects. It needs Unicode strings for snippets forming part of the help message, while it expects normal strings in