Numbered SGML entities in header addresses

felixs besteck455 at gmail.com
Tue Apr 9 12:21:21 UTC 2019


On Mon, Apr 08, 2019 at 08:40:09PM -0700, Ian Zimmerman wrote:
> On 2019-04-07 23:13, felixs wrote:
> 
> > > From: "Foo Bariì" <foo-baric at gmail.com>
> > > 
> > > where the entity refers to the character U0107 in Unicode code point
> > > space.  I would like to automatically see the correct glyph at least
> > > when it is in one of the visible headers.  Is there a display filtering
> > > feature in mutt that would allow me to do that (I don't mind if it
> > > requires a bit of configuration)?
> > 
> > And if you add
> > 
> > set charset="utf-8"
> > 
> > to your muttrc conf file?
> 
> That doesn't look at all plausible to me.  For one thing, UTF-8 is the
> systemwide default, meaning it ends up in my LANG and LC_ variables.  I
> am as sure as I can be about anything that mutt picks up those if the
> "charset" mutt variable is not set.
> 
> For another thing, why should it help?  Those ASCII characters are
> perfectly valid in the name part of a From header, and normally I expect
> mutt to show them to me as they are. 
Sorry, at first glance I missed the significance of that. It's true, the characters are
perfectly valid and as such ASCII characters are nothing than a subset of utf-8.
No, it would then not help to set this in your conf file. But is mutt
really capable of correcting such encoding errors of the sending side, or
would that be desirable at all?

Sorry for any confusion that that might have created.

felixs


More information about the Mutt-users mailing list