SMTPHandler and Unicode

norbert ncauderan at gmail.com
Wed Jul 7 17:30:14 EDT 2010


> Well, you could use an approach like the one suggested here:
>
> http://plumberjack.blogspot.com/2010/07/using-custom-formatter-to-dea...

That's nice, thanks. I'll use something like this. Just a thought : I
will use "errors=replace" in the call to the encode method to be sure
that the logger does not raise any exception.



More information about the Python-list mailing list