[Email-SIG] Converting to quoted printable encoding
Oleg Broytmann
phd at phd.pp.ru
Wed Sep 24 21:37:46 CEST 2008
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/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Email-SIG
mailing list