🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265994

Re: Getting MIME headers right

#265994
From: Frank Slootweg
Date: Thu, 13 Apr 2023 16:44
37 lines
2561 bytes
Adam H. Kerman <ahk@chinet.com> wrote:
> legalize+jeeves@mail.xmission.com (Richard) wrote:
> >"Adam H. Kerman" <ahk@chinet.com> spake:
> >>legalize+jeeves@mail.xmission.com (Richard) wrote:
> >>>"Adam H. Kerman" <ahk@chinet.com> spake:
> >>>>legalize+jeeves@mail.xmission.com (Richard) wrote:
> >>>>>Michael =?ISO-8859-1?Q?B=E4uerle?= <michael.baeuerle@gmx.net> spake:
> 
> >>>>How did you get undecoded encoded word on the attribution line?
> 
> >>>%[from] in my ATTRIBUTION setting.
> 
> >>Right, but you aren't decoding first before creating the attribution line.
> 
> >The From: header value appears in the attribution the way it appears in
> >the message.
> 
> I checked my environment variables and the environment in trnrc. I just
> don't see what's sending the encoded word on From to be decoded.
> 
> When I'm reading, if I press "v" I see all headers and the encoded text.
> If I then press "F", quoted text from the precursor article that was
> encoded has not been decoded but that doesn't apply to forming the
> attribution line.

  FWIW, tin works similarly.
  
  I.e. it decodes the encoded From text, both to display the author of
the currently viewed article and to form the attribution line when
composing a followup.

  And - as happened here - if some user agent does not decode the
encoded From text and uses that encoded From text in an attribution
line, then that encoded text is left encoded, because it's now part of
the body (not the headers) of the article and hence will not be decoded
unless MIME headers say to do so (but Richard's followup to Michael did
not contain any MIME headers).
Technical Details
Message-ID: <u19iic.m3o.1@ID-201911.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <u0ffth$1u1oi$1@news.xmission.com> <u16o20$29spu$2@news.xmission.com> <u16rfl$emd$1@dont-email.me> <u16uko$2a1b0$1@news.xmission.com> <u17aip$2if3$2@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <u19iic.m3o.1@ID-201911.user.individual.net>
Subject: Re: Getting MIME headers right
Date: Thu, 13 Apr 2023 16:44:42 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <u0ffth$1u1oi$1@news.xmission.com> <u16o20$29spu$2@news.xmission.com> <u16rfl$emd$1@dont-email.me> <u16uko$2a1b0$1@news.xmission.com> <u17aip$2if3$2@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
Newsgroups: news.software.readers
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:grfA48i4+XOGi6WcGnqK5efoG/Y=
Lines: 37
X-Trace: individual.net SMufS/rFdFvxKJoCtgvg/gXFwnYh7ZHJwhjUPi2wM/EthGHHsb