From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17040 Path: main.gmane.org!not-for-mail From: "=?iso-8859-5?b?stvQ1Njc2OAgst7b3tLY5w==?=" Newsgroups: gmane.emacs.gnus.general Subject: Re: bug: incorrect encoding of user-full-name Date: 13 Sep 1998 13:28:33 +0400 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="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035155811 31269 80.91.224.250 (20 Oct 2002 23:16:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:16:51 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id FAA19672 for ; Sun, 13 Sep 1998 05:37:10 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id EAF20580; Sun, 13 Sep 1998 04:05:01 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 13 Sep 1998 04:33:51 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id EAA11849 for ; Sun, 13 Sep 1998 04:33:42 -0500 (CDT) Original-Received: from cc.vsu.ru (root@ns.vsu.relarn.ru [194.226.24.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id FAA19604 for ; Sun, 13 Sep 1998 05:32:57 -0400 (EDT) Original-Received: (from uucp@localhost) by cc.vsu.ru (8.9.1/8.9.1) with UUCP id NAA06228 for ding@gnus.org; Sun, 13 Sep 1998 13:28:58 +0400 Original-Received: (from vvv@localhost) by vvv.vsu.ru (8.8.7/8.8.7) id NAA03560; Sun, 13 Sep 1998 13:28:33 +0400 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "13 Sep 1998 07:30:05 +0200" Original-Lines: 54 User-Agent: Gnus/5.07003 (Pterodactyl Gnus v0.30) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17040 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17040 "LMI" == Lars Magne Ingebrigtsen writes: LMI> vvv@vvv.vsu.ru.( ŒèŒßŒâŒìŒíŒìŒÎ LMI> ŒçŒèŒçŒàŒìŒ³) writes: >> When i send my mails, the From: header looks like: >> >> From: vvv@vvv.vsu.ru =?iso-8859-5?b?KLLb0NTY3NjgILLe297S2Ocp?= LMI> Yup. Fix in Pterodactyl Gnus v0.30. Thanks, it works. >> From: vvv@vvv.vsu.ru (=?iso-8859-5?b?...?=) >> >> or, preferably, >> >> From: =?iso-8859-5?b?...?= >> >> (i wonder, why if i do not set user-full-name explicitly, and it >> contains my finger data, which uses latin letters, gnus uses the >> second form: "Vladimir Volovich ", while when i >> set my user-full-name value, gnus changed the format of From: >> header?) LMI> It's because the From header is created before the header is LMI> encoded, and the first form is used when the display name looks LMI> like it's not going to fit in the second format. Which is does LMI> only after encoding. LMI> So to force the second form, set `message-from-style' to LMI> `angles'. Well, i think that the From header (and other headers) should be created after encoding. For example, when i do (setq message-from-style 'angles), my From header looks like: From: "=?iso-8859-5?b?stvQ1Njc2OAgst7b3tLY5w==?=" instead of perfectly legal (and better) form without quotes: From: =?iso-8859-5?b?stvQ1Njc2OAgst7b3tLY5w==?= without quotes. For example, the following forms of headers are legal: From: =?ISO-2022-JP?B?GyRCPGkyLBsoQiAbJEJDTkknGyhC?= From: =?ISO-2022-JP?B?GyRCPGkyLBsoQiAbJEJDTkknGyhC?= (MORIOKA Tomohiko) There is no need to quote the encoded-word imho, because it does not contain any `dangerous' characters. Best regards, -- Vladimir.