This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sampablokuper
Recipients ash, gward, sampablokuper
Date 2008-06-17.15:59:30
SpamBayes Score 0.08751571
Marked as misclassified No
Message-id <1213718374.74.0.397948523996.issue2931@psf.upfronthosting.co.za>
In-reply-to
Content
Using non-ASCII characters in an optparse help string also causes 
UnicodeDecodeErrors. Here's the relevant part of the traceback:

File "/home/spk30/opt/ActivePython-2.5/lib/python2.5/optparse.py", line 
1655, in print_help
    file.write(self.format_help().encode(encoding, "replace"))

NB. Adding an encoding declaration at the beginning of the python 
script which used a non-ASCII character in an optparse help string 
didn't solve the problem.
History
Date User Action Args
2008-06-17 15:59:35sampablokupersetspambayes_score: 0.0875157 -> 0.08751571
recipients: + sampablokuper, gward, ash
2008-06-17 15:59:34sampablokupersetspambayes_score: 0.0875157 -> 0.0875157
messageid: <1213718374.74.0.397948523996.issue2931@psf.upfronthosting.co.za>
2008-06-17 15:59:33sampablokuperlinkissue2931 messages
2008-06-17 15:59:31sampablokupercreate