[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] forcing a particular character set
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] forcing a particular character set |
Date: |
Fri, 07 Nov 2014 17:48:55 -0500 |
>Is there some way I can set nmh 1.6 to always send UTF-8 headers if
>the message is valid UTF-8, including pure ASCII?
Weeeelll .... maybe.
If you're willing to live with mhbuild directives, you can do this as
documented in the mhbuild man page:
#<text/plain; charset=utf-8
at the beginning of your draft (and make sure you run "mime").
The _other_ option is to make sure your draft headers contain a
MIME-Version header; if mhbuild sees that header, it will assume that
the draft is already a properly-formed MIME message and when you send
the message it won't do any further MIME processing; that would prevent
your supplied Content-Type header from being overwritten.
--Ken