Re: Decode II (more complex)

2010-06-21 Thread John Bokma
Thomas Lehmann writes: >> 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? >> > > I was copying partly the logic from > http://code.activestate.com/recipes/473810 > Changing to buffer.decode("utf-8", '

Re: Decode II (more complex)

2010-06-21 Thread Thomas Lehmann
> 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? > I was copying partly the logic from http://code.activestate.com/recipes/473810 Changing to buffer.decode("utf-8", 'replace') where I'm reading the file a

Re: Decode II (more complex)

2010-06-21 Thread John Bokma
Thomas Lehmann 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

Decode II (more complex)

2010-06-21 Thread Thomas Lehmann
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