From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25398 Path: main.gmane.org!not-for-mail From: "Johan Kullstam" Newsgroups: gmane.emacs.gnus.general Subject: Re: GIF/jpeg attached as quoted-printable in MIME? Date: 26 Sep 1999 17:46:17 -0400 Organization: none 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 1035162790 13761 80.91.224.250 (21 Oct 2002 01:13:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:13:10 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA25153 for ; Sun, 26 Sep 1999 17:48:25 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB18790; Sun, 26 Sep 1999 16:48:22 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 26 Sep 1999 16:48:27 -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 QAA07570 for ; Sun, 26 Sep 1999 16:48:18 -0500 (CDT) Original-Received: from kullstam.ne.mediaone.net (qmailr@kullstam.ne.mediaone.net [24.218.92.14]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id RAA25147 for ; Sun, 26 Sep 1999 17:46:17 -0400 (EDT) Original-Received: (qmail 1688 invoked by uid 501); 26 Sep 1999 21:46:17 -0000 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "25 Sep 1999 10:40:37 +0200" Original-Lines: 40 User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25398 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25398 Lars Magne Ingebrigtsen writes: > Bjorn Halvor Solberg writes: > > > The problem was really that software on the recipient side didn't know > > what to do with the QP-encoded image, Gnus itself handled that just fine > > as a recipient. > > I'm thinking that perhaps it's a mistake to decide whether to QP or > base64 things based on efficiency. this is not the problem. the choosing idea is perfectly fine. the implementation has let us down in the details. the problem is/was a buggy chooser function and a buggy quoted-printable encoder. > Does all software know how to > decode a QP-d picture? I would kinda be surprised if that were the > case... there's something wrong with the quoted-printable encoding for binary files. (this is how i discovered the buggy quoted-printable-or-base64 function.) text with the odd weird char seem to work ok. i think it is something to do with very long text lines. i think software knows how to decode QP. gnus/emacs just needs to fix its encoding. i have decoded quoted-printable (which gnus-0.96 emacs 20.4 sent) in both emacs and netscape and get the same wrong answer (i.e., corrupt file). i suspect the encoder. the corruption was a spurious bang char (!) followed by a newline. the qp-or-base64 choser function has been bogus in 0.9[56]. in 0.96 it would choose quoted-printable for all long attachments. since the chooser should now be fixed. these kinds of image sent with quoted-printable problems should go away. however, this doesn't mean we ought not fix quoted-printable in the first place. -- J o h a n K u l l s t a m [kullstam@ne.mediaone.net] Don't Fear the Penguin!