How can I tell which charset (per, e.g., "Content-Type: text/plain; 
charset=...")
will be chosen by GNUS to byte-encode the message I am about to send, but
without *actually* sending that message out?

In my config file, the "mm-coding-system-priorities" variable lists
several charsets. From what I understand, GNUS tries them all out
sequentially until a suitable one is found:

https://www.gnu.org/software/emacs/manual/html_node/emacs-mime/Encoding-Customization.html#index-mm_002dcoding_002dsystem_002dpriorities

But how can I run the same process *without* sending the message?

mm-util.el has mm-find-mime-charset-region(...) which more or less
does what I want. I just need this function properly exposed to the
user. Rather than reinvent things, I have no doubt that someone had
previously figured this out, so please speak up.

This feature is inspired by Mutt. Mutt shows the charset in advance.

Many thanks.

Reply via email to