>>>>> In Reiner Steib wrote: > Hi, > back in September 2004, Stefan Wiens reported the following bug in > gnus.gnus-bug but there was no response or fix yet: > ,---- >| From: =?iso-8859-1?q?Wiens=2C_Stef=AAn?= >| Subject: Reply misinterprets Commas in encoded-words >| Newsgroups: gnus.gnus-bug >| Date: Sat, 18 Sep 2004 03:34:06 +0200 >| Message-ID: <87pt4kbbsh.fsf@xenon.eswe.dyndns.org> >| >| To reproduce, please try to "reply" or "wide reply" to this message >| and have a look at the "To" and "Cc" headers in your Message buffer. > `---- > The problem is that Gnus decodes »=?iso-8859-1?q?Wiens=2C_Stef=AAn?=« > to »Wiens, Stefªn « in the article buffer and when doing > a (wide) reply, this leads to: >| To: Wiens >| Cc: Stefªn , bugs@gnus.org > Note that this problem is not artifical (as the »ª« might suggest): > Many people in Germany or other countries have non-ascii in their > names. If the mail software of the sender writes the full name in the > From/Cc header in the form »Lastname, Fírstname« the user cannot reply > correctly without manual correction. > In the German Gnus newsgroup this has been discussed several times: > (a) http://www.google.de/groups?as_umsgid=uoek8x11f.fsf@M.web.de&hl=en > (b) http://www.google.de/groups?as_umsgid=87brbdhc4d.fsf@ABG3595C.abg.fsc.net&hl=en Though I cannot read German articles, I may be able somewhat to help. > According to Stefan Wiens and Dirk Nimmich (tin developer), Gnus' > behavior violates RFC 2047 (see thread (a)). Could somebody look at > this problem, please? Stefan, maybe you could summarize this and the > other problems with Gnus RFC-2047 en/decoder again if necessary. > Bye, Reiner. Well, it seems to be difficult to improve the message-get-reply-headers function, etc. so that it may parse correctly any words including commas. But it is easy to make Gnus' rfc2047 encoder include the quotes in the encoded words when the quoted text contains non-ASCII characters and commas. An example of the encoded word is in the Cc header of this message. The patch for the Gnus CVS trunk is here: