-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, January 21 at 06:41 PM, quoth Nathan Huesken: > To view html mails, I have this line in my .mailcap: > > text/html; elinks -dump -dump-charset ISO-8859-15 -default-mime-type > text/html %s; needsterminal; copiousoutput; > > But it does not display Umlaute properly. Since I am german speeking, this is > kind of anoying. I tried using UTF-8 for encoding, but it did not help. > What should I do?
One of the basic problems with that is that it's rather difficult to inform elinks about what the character set of the INPUT is. And since it doesn't know about the INPUT character set, it cannot correctly ensure that the OUTPUT is correct (the -dump-charset is telling it what character set you want the OUTPUT to be in). I would suggest using w3m instead of elinks because it has much better character set handling. If you install w3m, here's the mailcap line you want: text/html; w3m -I %{charset} -dump -T text/html %s; copiousoutput On the other hand, w3m sometimes has trouble forcing bad HTML to render in 80 columns when in dump-mode. Personally, this isn't a big enough problem to make me stop using it, but your experience may be different. ~Kyle - -- The liberty of a democracy is not safe if the people tolerate the growth of a private power to a point where it becomes stronger than the democratic state itself. -- Franklin D. Roosevelt -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iEYEARECAAYFAkl3Yu4ACgkQBkIOoMqOI17wGACfVryPp5gxnyh1kwfol28lzjTD vwsAoNiGOjek2+SB37QmKgChp6ZXs5K4 =Yn6+ -----END PGP SIGNATURE-----