On Wed, Sep 24, 2008 at 08:25:37PM +0100, Nicholas Cole wrote:
> but what is "The Right Way"(TM)
> to change the encoding of text?

   Why not to allow email to choose the best suited encoding? Wel, you may
change the idea of "best" by setting encoders for your charset; this is how
I do it:

Charset.add_charset("koi8-r", Charset.BASE64)

   If you want quted-printable for both headers and body, call

Charset.add_charset("koi8-r", Charset.QP, Charset.QP)

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Email-SIG mailing list
Email-SIG@python.org
Your options: 
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com

Reply via email to