--- encoders.py 2010-02-12 22:23:02.000000000 +0530 +++ encoders1.py 2010-04-07 01:46:35.000000000 +0530 @@ -75,7 +75,7 @@ # iso-2022-* is non-ASCII but still 7-bit charset = msg.get_charset() output_cset = charset and charset.output_charset - if output_cset and output_cset.lower().startswith('iso-2202-'): + if output_cset and output_cset.lower().startswith('iso-2022-'): msg['Content-Transfer-Encoding'] = '7bit' else: msg['Content-Transfer-Encoding'] = '8bit'