Re: Diacritics in MHonArc archives?

1996-10-07 15:08:26
"Eric D. Friedman" said:

Would someone please explain how one can get diacritical markings
(accented characters) to show up in a mhonarc archive?  In my personal
account, from which I frequently correspond in French and German, I
have some environment variables set which allow characters in the
iso-8859-1 set to display properly.  (note that this is not the default
on my system).

This is what I have (shell is tcsh)
setenv LESSCHARSET latin1
setenv LESS "-f"
setenv MM_CHARSET iso-8859-1
setenv LC_CTYPE iso_8859_1

I have no iso_8859_1 definitions set at all and procmail and mhonarc
nevertheless pass them through untouched, regardless if I use a normal
rfc822 message or a mime mail with

        Mime-version: 1.0
        Content-type: text/plain; charset=iso-8859-1
        Content-transfer-encoding: 8bit

In another account, which handles all of our mhonarc archives, I've set
things up so that a copy of each incoming message gets filed in an MH
mail folder by procmail and the message is piped to mhonarc for
inclusion in the archive.

I sent a test message to this account with some 8 bit characters, and
they were mangled in both the mail message and the mhonarc page.

Would setting the same environment variables work for this purpose?
Presumably I could set them in an individual procmail recipe so that
the environment variables would only be present in those archives
that need these characters (French and German classes, in this case).


I guess Sendmail or whatever MTA you use mangles the umlauts. E.g., on
Digital Unix I had to add the line


to so 8 bit chars are passed untouched.


Eric D. Friedman

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