nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] forcing a particular character set

2014-11-07 16:49:22
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

_______________________________________________
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>