text vs html

Fred Smith fredex at fcshome.stoneham.ma.us
Wed Jul 10 02:53:26 UTC 2019


Hi all!

I'm seeing this strange thing which while no biggie, is a nuisance.

If I get an email with both text and html sections, according to
my /etc/mailcap it seems to be getting processed like this:

text/html; lynx -dump -vikeys -raw %s; copiousoutput; nametemplate=%s.html

So, when someone sends email from outlook that contains a smiley face,
it displays a "J" when viewing that mail. (apparently because outlook
encodes a font change to some other font where "J" is a smiley face.)

it seems to be following this recipe and decoding the html part even
though there is a perfectly readable text part, containing a :-).

does the order of statements in mailcap matter? should I change this:


text/html; lynx -dump -vikeys -raw %s; copiousoutput; nametemplate=%s.html
text/plain; copiousoutput

to this:

text/plain; copiousoutput
text/html; lynx -dump -vikeys -raw %s; copiousoutput; nametemplate=%s.html

Or is th is problem just because Outlook is broken and instead of
issuing a font change should just embed the proper Unicode character?

Thanks in advance!

Fred
-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------
                    Do you not know? Have you not heard? 
    The LORD is the everlasting God, the Creator of the ends of the earth. 
  He will not grow tired or weary, and his understanding no one can fathom.
----------------------------- Isaiah 40:28 (niv) -----------------------------


More information about the Mutt-users mailing list