From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30402 Path: main.gmane.org!not-for-mail From: "Bjørn Mork" Newsgroups: gmane.emacs.gnus.general Subject: Re: More on forwarding quoted-printable encoded messages Date: 26 Apr 2000 14:39:27 +0200 Organization: DoD Sender: owner-ding@hpc.uh.edu Message-ID: References: <87d7qc557e.fsf@psyche.evansnet> <2n8zy1l1ug.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035166945 8272 80.91.224.250 (21 Oct 2002 02:22:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:22:25 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 10EF5D051E for ; Wed, 26 Apr 2000 08:34:44 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id HAB21312; Wed, 26 Apr 2000 07:34:43 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Apr 2000 07:34:13 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id HAA21401 for ; Wed, 26 Apr 2000 07:34:02 -0500 (CDT) Original-Received: from quimby.gnus.org (quimby.gnus.org [193.69.4.139]) by mailhost.sclp.com (Postfix) with ESMTP id 6D0CDD051E for ; Wed, 26 Apr 2000 08:34:21 -0400 (EDT) Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id OAA21473 for ding@gnus.org; Wed, 26 Apr 2000 14:36:14 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 35 Original-NNTP-Posting-Host: pc195.npt.no Original-X-Trace: quimby.gnus.org 956752573 27017 62.92.34.195 (26 Apr 2000 12:36:13 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 26 Apr 2000 12:36:13 GMT User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30402 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30402 Steinar Bang writes: > >>>>> Shenghuo ZHU : > > > I don't think that the problem is simply the c-t-e of > > message/rfc822. In the current version, the message/rfc822 part is > > only charset-decoded (gnus-article-decode-hook). When the message is > > sent, the part is re-encoded. I don't think this is a right > > solution. The message/rfc822 part should be unchanged or totally > > decoded/re-encoded (mml <-> mime). The former solution is not > > acceptable to many users, because those users may want to change the > > content. In the latter solution, the c-t-e is not necessary at all. > > According to RFC-2046 section 5.2.1 (covering message/rfc822), last > paragraph, the only legal c-t-encodings for message/rfc822, are 7bit, > 8bit, and binary. > > The way I see it, this means that the only safe c-t-e to chose when > creating a message/rfc822 part, would be 7bit, which according to > RFC-2046 would require the message itself to be encoded before > inclusion, and with any non-ASCII headers encododed according to > RFC-2047 I believe the forwarded message should be unchanged even if the it violates RFC2046/7 e.g. by using 8bit headers. The message/rfc822 CTE would then be 8bit if the original message, including headers, contains any 8bit chars, otherwise 7bit. RFC2046 does not require the forwarded message to comply with RFCs 2046-49. It even explicitly states that the body of a message/rfc822 part does not need to be RFC822-conformant! How do you encode the forwarded message if it contains 8bit characters but no CT/CTE headers? Isn't it better not to make any charset and encoding choice for the final recipient, and therefore forward the message untouched? Bjørn