From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25456 Path: main.gmane.org!not-for-mail From: Toby Speight Newsgroups: gmane.emacs.gnus.general Subject: Re: GIF/jpeg attached as quoted-printable in MIME? Date: 27 Sep 1999 19:26:08 +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 1035162837 14031 80.91.224.250 (21 Oct 2002 01:13:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:13:57 +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 OAA05573 for ; Mon, 27 Sep 1999 14:27:41 -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 NAB24782; Mon, 27 Sep 1999 13:27:40 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 27 Sep 1999 13:28:07 -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 NAA22114 for ; Mon, 27 Sep 1999 13:27:56 -0500 (CDT) Original-Received: from gatekeeper.ctxuk.citrix.com (root@gatekeeper.ctxuk.citrix.com [195.153.38.114]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA05524 for ; Mon, 27 Sep 1999 14:25:55 -0400 (EDT) Original-Received: from sh.ctxuk.citrix.com (sh.ctxuk.citrix.com [10.30.224.4]) by gatekeeper.ctxuk.citrix.com (8.8.7/BSCF-1.7) with ESMTP id TAA17812; Mon, 27 Sep 1999 19:25:53 +0100 (BST) Original-Received: from hwmail01.ctxuk.citrix.com (hwmail01.ctxuk.citrix.com [10.30.224.23]) by sh.ctxuk.citrix.com (8.8.7/BSCF-1.7) with ESMTP id TAA24440; Mon, 27 Sep 1999 19:25:52 +0100 (BST) Original-Received: from lanber.cam.citrix.com (LANBER [10.70.1.235]) by hwmail01.ctxuk.citrix.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id T102T63A; Mon, 27 Sep 1999 19:25:52 +0100 Original-To: The Gnus Mailing List Original-Lines: 26 In-Reply-To: Lars Magne Ingebrigtsen's message of "27 Sep 1999 19:59:07 +0200" X-Author-Info: Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25456 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25456 Lars> Lars Magne Ingebrigtsen 0> In article , Lars wrote: Lars> Toby Speight writes: >> I have a concern about whether we do the Right Thing with newlines in >> quoted-printable. In text parts, newlines must also have carriage >> returns; the q-p body will have CRs too, so newlines need not be >> encoded. In non-text parts, newlines must not (in general) have CRs >> added - except those introduced by the QP-encoding. So "foo\nbar" in >> a non-text part should become "foo=0Abar" or "foo=0a=\nbar". Lars> "foo\nbar" in a non-text part should become "foo\nbar", shouldn't Lars> it? Canonicalization is only an issue with text parts. Exactly - but AIUI, encoded body parts are canonicalised during SMTP, just like unencoded text parts. Correct me if I'm wrong, but the "foo\nbar" above will be received as "foo\r\nbar" and the receiver _may or may not_ convert that back to "foo\nbar" (depending on the recipient's local conventions). But if "foo=0a=\nbar" is canonicalised to "foo=0a=\r\nbar", it still decodes to "foo\nbar", since "=\r\n" is ignored (the same as "=\n"). Does that make any kind of sense? Perhaps this is a topic to bring up in comp.mail.mime?