nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhshow display bug

2014-07-21 23:41:29
Paul Fox <pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us> writes:

i currently have this in my mh_profile:
 mhshow-charset-iso-8859-1: %s | /usr/bin/iconv -f ISO-8859-1 -t UTF-8 | less

I've been seeing iconv a few times, and so I looked it up. Very cool.

In the iconv command, you can append a //TRANSLIT to the target encoding
to try to substitute some reasonable characters for characters that are
not recognized there.

It appears that iconv(3) returns EILSEQ in this case. Do we have another
mechanism to implement //TRANSLIT? Seems useful.

-- 
Bill Wohler <wohler(_at_)newt(_dot_)com> aka 
<Bill(_dot_)Wohler(_at_)nasa(_dot_)gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>