[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] mailutils bug? quoted-printable encoder..

From: Richard Dawe
Subject: Re: [bug-mailutils] mailutils bug? quoted-printable encoder..
Date: Sun, 05 Sep 2004 10:12:21 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803


Shashank Kavishwar wrote:
I have a PDF attachment that came through an email in quoted-printable encoding. I decode the attachment using the mailutils API and can view it properly. But, if after decoding the attachment file, I encode it again in quoted-printable and then forward it to myself, the PDF file becomes corrupted. Is there a problem with the quoted-printable encoder?

I am using mailutils-0.4.

PDFs are binary files. QP is not good enough for encoding PDFs. Consider what happens to the line-endings. If you send from a Unix system to a Windows system, the line endings will get converted from LF to CRLF, which corrupts the PDF.

There's a bug in older versions of Exchange which means that it encodes PDFs using QP. I think there's a work-around in MS's Knowledge Base.

Send PDFs as Base64.

Bye, Rich =]

Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]

"You can't evaluate a man by logic alone."
  -- McCoy, "I, Mudd", Star Trek

reply via email to

[Prev in Thread] Current Thread [Next in Thread]