mailcap
Actually, ~/.mailcap
1 text/html; /usr/bin/lynx -assume_charset=%{charset} -display-charset=iso-8859-1 -force_html %s; needsterminal
2
3
4 text/plain; /usr/local/bin/iconv -f ISO8859-7 -t UTF-8 | less ; \
5 test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-8859-7; \
6 copiousoutput
7
8 text/plain; /usr/local/bin/iconv -f windows-1253 -t UTF-8 | less ; \
9 test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = windows-1253; \
10 copiousoutput
11
12 text/plain; /usr/local/bin/iconv -f windows-1252 -t UTF-8 | less ; \
13 test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = windows-1252; \
14 copiousoutput
15
16 text/plain; /usr/local/bin/iconv -f ISO8859-15 -t UTF-8 | less ; \
17 test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-8859-15; \
18 copiousoutput
19
20 text/plain; /usr/local/bin/iconv -f ISO8859-1 -t UTF-8 | less ; \
21 test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-8859-1; \
22 copiousoutput
23
24
25 text/plain; fold -s %s; copiousoutput
Pasted by bebu on
diciembre 16, 2011 at 11:11 |
Lang: text |
(25 lines of code)