From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24284 Path: main.gmane.org!not-for-mail From: Toby Speight Newsgroups: gmane.emacs.gnus.general Subject: Re: PDF's as base64 vs. Q/P encoded attachments Date: 16 Jul 1999 11:22:35 +0100 Organization: Citrix Systems (Cambridge) Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161876 7879 80.91.224.250 (21 Oct 2002 00:57:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:57:56 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA21834 for ; Fri, 16 Jul 1999 06:30:57 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id FAB21901; Fri, 16 Jul 1999 05:27:10 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 16 Jul 1999 05:27:49 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id FAA11917 for ; Fri, 16 Jul 1999 05:27:38 -0500 (CDT) Original-Received: from ironside.ansa.co.uk (ironside.ansa.co.uk [192.5.254.44]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA21798 for ; Fri, 16 Jul 1999 06:26:33 -0400 (EDT) Original-Received: from lanber.cam.citrix.com (LANBER.ansa.co.uk [10.70.1.235]) by ironside.ansa.co.uk (Netscape Mail Server v2.02) with ESMTP id AAA373 for ; Fri, 16 Jul 1999 11:27:17 +0100 Original-To: ding@gnus.org Original-Lines: 33 In-Reply-To: Graham Todd's message of "Fri, 16 Jul 1999 05:13:56 GMT" X-Author-Info: Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24284 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24284 Graham> Graham Todd 0> In , Graham wrote: Graham> So Gnus now tries to encode PDF's I create as Q/P (I'm pretty sure Graham> it didn't do this before). The problem is that receiving PDF's as Graham> Q/P seems to break the MIME handling of the Windows version of Graham> Netscape Mail somehow so that Windows users that I correspond with Graham> couldn't read the attached PDF files in Acrobat. Acrobat gave an Graham> error message saying the files were broken. As an aside I can Graham> detach and read PDF's sent as Q/P content to myself using the Unix Graham> (linux & freebsd) versions of Acrobat and Netscape just fine. I wonder if PDF is sensitive to newline-mangling? AIUI, PDF is based on Postscript, which should be okay, but it's possible that some application/* types need newlines preserving as "=0A=\n". A pain! Could you check this hypothesis? Compose a mail on a Unix platform, with two attachments - one q-p encoded normally, and one with newlines explicitly kept, as above (use query-replace or something, after MIME-encoding). Then try reading both on a Windows platform. Graham> I did something like this to fix it: Graham> (push '("application/pdf" base64) Graham> mm-content-transfer-encoding-alist) Graham> so that PDF's are always encoded base64. Seems a sensible workaround, but if there's a true bug, it would be nice to nail it. BTW - Lars, did you remember to include '=' with the non-ASCII characters for the purposes of estimating q-p size?