Decode II (more complex)

John Bokma john at castleamber.com
Mon Jun 21 10:53:26 EDT 2010


Thomas Lehmann <t.lehmann at rtsgroup.net> writes:

> Hi all,
>
> I have written a small python xmlrpc server which checks logfiles of a
> build
> sending notifications to the responsible teams. On a machine I'm
> forced to
> a problem with one logfile with special characters inside generated by
> a
> gnu compiler.
>
> Using cheetah for generating the HTML mail I get a:
> ('ascii' codec can't decode byte 0xe2 in position 25868: ordinal not
> in range(128))

Your email(s) get send as 7 bit (ASCII). Email them as utf-8 and I guess
your problem is solved.

How do you email the notifications?

-- 
John Bokma                                                               j3b

Hacking & Hiking in Mexico -  http://johnbokma.com/
http://castleamber.com/ - Perl & Python Development



More information about the Python-list mailing list