SMTPHandler and Unicode
Vinay Sajip
vinay_sajip at yahoo.co.uk
Tue Jul 6 02:22:05 EDT 2010
On Jul 5, 2:35 pm, Antoine Pitrou <solip... at pitrou.net> wrote:
> > a FileHandler works as expected, the log file being UTF-8 encoded.
>
> Ouch. Implicit encoding sounds like a bad behaviour.
UTF-8 is only used as a fallback in an exception handler, you can use
any supported encoding using the encoding= keyword argument to a
FileHandler.
>
> I suggest you report an issue onhttp://bugs.python.org
Yes, please do that and I will investigate.
Regards,
Vinay Sajip
More information about the Python-list
mailing list