[mimetic-users] QP::Encoder sets m_binary after first binary unmapped character
Brought to you by:
tat0o
|
From: Paul S. <ps...@sk...> - 2010-12-14 18:33:13
|
I am using QP::Encoder to generate a quoted-printable e-mail body using data extracted from an SQL data base. It is important that the quoted-printable be as human-readable as possible, because the e-mail messages will all be stored in a single file and distributed to people who may read the mail messages via an MUA, or as a plain text file. Not my call. Unfortunately, QP::Encoder sets m_binary flag on the first unmapped character to permanently switch to generating QP strings. There does not appear to be any way to programmatically reset m_binary. I have removed that "feature" to obtain the desired results. When would it ever be a good idea to permanently switch to generating QP strings? At the very least, shouldn't this be an optional behavior? Paul -- Paul Scott ps...@sk... |