From: Graham Todd <gtodd@yorku.ca>
Subject: Re: PDF's as base64 vs. Q/P encoded attachments
Date: Wed, 21 Jul 1999 22:18:45 GMT [thread overview]
Message-ID: <x6wvvt7ih3.fsf@ninga.ellerbeck.org> (raw)
In-Reply-To: <uhfn499n8.fsf@lanber.cam.citrix.com>
>>>>> "Toby" == Toby Speight <Toby.Speight@streapadair.freeserve.co.uk> writes:
Graham> Graham Todd <URL:mailto:gtodd@yorku.ca>
0> In <URL:news:x67lo12n1p.fsf@ninga.ellerbeck.org>, Graham wrote:
Graham> ... Gnus now tries to encode PDF's I create as Q/P ...
<snip>
Toby> I wonder if PDF is sensitive to newline-mangling? AIUI, PDF
Toby> is based on Postscript, which should be okay, but it's
Toby> possible that some application/* types need newlines
Toby> preserving as "=0A=\n". A pain!
Toby> Could you check this hypothesis? Compose a mail on a Unix
Toby> platform, with two attachments - one q-p encoded normally,
Toby> and one with newlines explicitly kept, as above (use
Toby> query-replace or something, after MIME-encoding). Then try
Toby> reading both on a Windows platform.
I MIME encoded and then did the search replace and sent both as QP -
neither worked in Windows clients. Of course I might have screw
Graham> I did something like this to fix it: (push
Graham> '("application/pdf" base64)
Graham> mm-content-transfer-encoding-alist) so that PDF's are
Graham> always encoded base64.
Actually I think the correct line should be:
(push '("application/pdf" base64) mm-content-transfer-encoding-defaults)
It works for me (TM).
--
Graham Todd
next prev parent reply other threads:[~1999-07-21 22:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-16 5:13 Graham Todd
1999-07-16 10:22 ` Toby Speight
1999-07-21 22:18 ` Graham Todd [this message]
1999-08-27 19:03 ` Lars Magne Ingebrigtsen
1999-07-16 16:39 ` Robert Bihlmeyer
1999-07-21 22:19 ` Graham Todd
1999-08-27 19:07 ` Lars Magne Ingebrigtsen
1999-09-22 9:41 ` [PATCH] [BUG] Binary attachments use wrong encoding (was Re: PDF's as base64 vs. Q/P encoded attachments) Kim-Minh Kaplan
1999-09-22 14:16 ` Kim-Minh Kaplan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x6wvvt7ih3.fsf@ninga.ellerbeck.org \
--to=gtodd@yorku.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).