From: "Владимир Волович" <vvv@vvv.vsu.ru>
Subject: Re: bug: incorrect encoding of user-full-name
Date: 13 Sep 1998 13:28:33 +0400 [thread overview]
Message-ID: <m3lnnoz7i6.fsf@vvv.vsu.ru> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "13 Sep 1998 07:30:05 +0200"
"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?...?= <vvv@vvv.vsu.ru>
>>
>> (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 <vvv@vvv.vsu.ru>", 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==?=" <vvv@vvv.vsu.ru>
instead of perfectly legal (and better) form without quotes:
From: =?iso-8859-5?b?stvQ1Njc2OAgst7b3tLY5w==?= <vvv@vvv.vsu.ru>
without quotes.
For example, the following forms of headers are legal:
From: =?ISO-2022-JP?B?GyRCPGkyLBsoQiAbJEJDTkknGyhC?= <morioka@jaist.ac.jp>
From: =?ISO-2022-JP?B?GyRCPGkyLBsoQiAbJEJDTkknGyhC?= (MORIOKA Tomohiko) <morioka@jaist.ac.jp>
There is no need to quote the encoded-word imho, because it does not
contain any `dangerous' characters.
Best regards, -- Vladimir.
next prev parent reply other threads:[~1998-09-13 9:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-12 12:58 vvv
1998-09-13 5:30 ` Lars Magne Ingebrigtsen
1998-09-13 9:28 ` Владимир Волович [this message]
2002-10-20 23:16 ` Lars Magne Ingebrigtsen
1998-09-14 18:21 ` Владимир Волович
1998-09-14 20:39 ` François Pinard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3lnnoz7i6.fsf@vvv.vsu.ru \
--to=vvv@vvv.vsu.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).