From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24448 Path: main.gmane.org!not-for-mail From: Graham Todd Newsgroups: gmane.emacs.gnus.general Subject: Re: PDF's as base64 vs. Q/P encoded attachments Date: Wed, 21 Jul 1999 22:18:45 GMT Organization: SunSITE Denmark (sunsite.auc.dk) 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 1035162012 8765 80.91.224.250 (21 Oct 2002 01:00:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:00:12 +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 SAA24011 for ; Wed, 21 Jul 1999 18:23:34 -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 RAB04866; Wed, 21 Jul 1999 17:19:38 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 21 Jul 1999 17:20:10 -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 RAA21219 for ; Wed, 21 Jul 1999 17:20:00 -0500 (CDT) Original-Received: from sunsite.auc.dk ([130.225.51.30]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id SAA23957 for ; Wed, 21 Jul 1999 18:18:48 -0400 (EDT) Original-Received: (qmail 10442 invoked by uid 509); 21 Jul 1999 22:18:46 -0000 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: emacs.ding User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald) Original-Lines: 37 Original-NNTP-Posting-Host: 206.172.12.231 Original-X-Complaints-To: news@sunsite.auc.dk Original-X-Trace: sunsite.auc.dk 932595525 206.172.12.231 (Thu, 22 Jul 1999 00:18:45 MET DST) Original-NNTP-Posting-Date: Thu, 22 Jul 1999 00:18:45 MET DST Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24448 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24448 >>>>> "Toby" == Toby Speight writes: Graham> Graham Todd 0> In , Graham wrote: Graham> ... Gnus now tries to encode PDF's I create as Q/P ... 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