From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53132 Path: main.gmane.org!not-for-mail From: jas@extundo.com (Simon Josefsson) Newsgroups: gmane.emacs.gnus.general Subject: Re: something decodes my headers... Date: Fri, 13 Jun 2003 08:37:22 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055489794 2794 80.91.224.249 (13 Jun 2003 07:36:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2003 07:36:34 +0000 (UTC) Cc: "Ding" Original-X-From: ding-owner+M1676@lists.math.uh.edu Fri Jun 13 09:36:30 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Qj5v-0000ed-00 for ; Fri, 13 Jun 2003 09:35:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19Qj7x-00035j-00; Fri, 13 Jun 2003 02:37:37 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19Qj7r-00035e-00 for ding@lists.math.uh.edu; Fri, 13 Jun 2003 02:37:31 -0500 Original-Received: (qmail 50494 invoked by alias); 13 Jun 2003 06:37:31 -0000 Original-Received: (qmail 50489 invoked from network); 13 Jun 2003 06:37:31 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by sclp3.sclp.com with SMTP; 13 Jun 2003 06:37:31 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h5D6bMB4031070 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Fri, 13 Jun 2003 08:37:22 +0200 Original-To: Dave Love Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030613:d.love@dl.ac.uk:48d417a288947598 X-Hashcash: 0:030613:d.love@dl.ac.uk:48d417a288947598 X-Payment: hashcash 1.2 0:030613:ding@gnus.org:e96ceb4c59b11b2f X-Hashcash: 0:030613:ding@gnus.org:e96ceb4c59b11b2f In-Reply-To: (Dave Love's message of "Thu, 12 Jun 2003 23:38:19 +0100") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53132 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53132 Dave Love writes: > Jan Rychter writes: > >> People who get >> ISO-8859-1 E-mail don't see this, because mail-extr.el is "extended" to >> handle ISO-8859-1 in a particularly ugly way. > > That must be XEmacs-specific. mail-extr in Emacs (at least Emacs 21) > works with multilingual text. What does "works" mean? I'm not aware of any standards that define how non-ASCII email address phrases should work (RFC (2)822 even forbid them) except MIME, so any implementation claiming to support it if it doesn't use MIME is ad-hoc at best. >> I've tried to trace what it is that decodes the headers to 8bit before >> mail-extr sees them -- but I have no idea. > > I think that's the wrong thing to look at. mail-extr should just cope > with multilingual names. In that case, I wish the way it works was documented. It is not clear to me how to go from the RFC 822 address phrase to multilingual names, if you are not using MIME. E.g., is the BNF "atom" modified to include non-ASCII? The "qtext"? The "ctext"? Even "CHAR"? All of those may need to be modified if all kind of RFC 822 addresses are to be parsed correctly (consider the three distinct kind of addresses used in the To/Cc/From in this message). Of course, mail-extr doesn't understand the RFC 822 BNF at all, so it is not easy to realize that whatever mail-extr implement is according to any standard derived from the BNF.