On Wed, Apr 18, 2012 at 12:28:45PM +0100, Chris Burdess wrote:
> Harald Weis wrote:
> > I've switched my (FreeBSD) system from ISO8859-15 to UTF-8.
> > 
> > (jove is less « intelligent » than emacs,     )
> > (but joe is an excellent replacement for jove.)
> > 
> > My question concerns html messages encoded in iso8859-1.
> > 
> > The subject line displays accented characters alright.
> > But in the body they are all simply replaced by spaces.
> > 
> > ---
> > Message:
> > 
> > Content-Type: text/html;                                                    
> >                                                                
> >        charset="ISO-8859-1"
> > 
> > q:Exit  s:Save  |:Pipe  p:Print  ?:Help                                     
> >                                                                
> >   I     1 <no description>  [text/html, quoted, iso-8859-1, 30K]
> > ---
> > 
> > mailcap:
> > 
> > text/html; /usr/local/bin/w3m -v -F -T text/html %s
> > ---
> 
> This is really a w3m question rather than a mutt question; anyway it seems
> w3m is not correctly detecting the terminal encoding.

There is no problem with w3m elsewhere.
 
> You could try in your mailcap:
> text/html; /usr/local/bin/w3m -dump -O UTF-8 -F -T text/html %s; copiousoutput
 
Trial done. No change whatsoever with respect to the accented characters.
It seems as if mutt hands over ASCII text to w3m, with spaces instead of the
accented characters.

What else can I do ?

--
Harald

Reply via email to