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 vinay.sajip
Recipients PeterL, vinay.sajip
Date 2010-06-10.19:29:59
SpamBayes Score 0.023807101
Marked as misclassified No
Message-id <1276198202.43.0.125475109141.issue8924@psf.upfronthosting.co.za>
In-reply-to
Content
It seems like the logging message will be Unicode (as you have specified that it should be so) but the exception message will be string. Can you confirm whether this is the case? What type is the return value of Formatter.formatException for the specific exception you're getting, in your exact environment?

If it's not Unicode, can you see what happens if you use a subclassed Formatter whose formatException decodes the returned value from the base class formatException with the appropriate encoding, and return Unicode from your overridden formatException message?
History
Date User Action Args
2010-06-10 19:30:02vinay.sajipsetrecipients: + vinay.sajip, PeterL
2010-06-10 19:30:02vinay.sajipsetmessageid: <1276198202.43.0.125475109141.issue8924@psf.upfronthosting.co.za>
2010-06-10 19:29:59vinay.sajiplinkissue8924 messages
2010-06-10 19:29:59vinay.sajipcreate