On Mon, Aug 25 2025, "Nickolai Dobrynin" <[email protected]> wrote:

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

>> Does ‘C-u C-c RET P’ (the ‘mml-preview’ command with a prefix
>> argument) work for you?

> Yes, it works great! It does what I asked for and much more.

> One follow up question, though. Would it be possible to, somehow, find
> the charset for a *region* rather than for the buffer as a whole? I am
> asking this because of the following definition I found (which
> I mentioned previously):

> Mm-find-mime-charset-region (b e &optional hack-charsets)
>   "Return the MIME charsets needed to encode the region between B and
> E.  Nil means ASCII, a single-element list represents an appropriate
> MIME charset, and a longer list means no appropriate charset."

No I don’t.  Perhaps, kill-save the part you want, yank it into
a separate Message buffer, and then use the preview functionality.
But, what I know is that each MIME part of a message’s body has
a ‘Content-Type’, separately.  I guess, each part also has a separate
‘Content-Transfer-Encoding’, too.

-- 
English is not my native/mother language.  I can read and understand
English well, but I have problems expressing my thoughts in it.  Please,
bear with me.  Sincerely, Pyromania.

PGP fingerprint = 2B24 291E 0637 4D2E 0D14  9EFC D7B3 10D4 5C9D 5892

()  ASCII ribbon campaign - against HTML e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Reply via email to