Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Message - which charset?
Date: 14 Mar 1999 17:19:41 +0100	[thread overview]
Message-ID: <m3zp5gxcv6.fsf@quimbies.gnus.org> (raw)
In-Reply-To: Dmitry Yaitskov's message of "14 Mar 1999 02:49:20 -0500"

Dmitry Yaitskov <dimas@home.com> writes:

> 1) the charset of a message, if it is a reply or a followup, would be
> the same as the charset of the original message (somehow I supposed
> that this would be the default behavior but I don't think it is on my
> system).

If you are using a Mule-enabled Emacs, then that should be the case.

> 2) do something in the message buffer depending on the charset of the
> message. I wanted to use the message-setup-hook for this but don't
> know how to make sure that I have the charset available in the message
> headers when the message setup hook is called. Even if I reply to a
> message with a specified charset, I don't see it in the reply's
> headers although I have message-generate-headers-first set to t.

Well, there may be several charsets in an article, so there's no easy
way to do that.

(mm-find-mime-charset-region (point-min) (point-max))

will return a list of charsets in the current buffer.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


  reply	other threads:[~1999-03-14 16:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-14  7:49 Dmitry Yaitskov
1999-03-14 16:19 ` Lars Magne Ingebrigtsen [this message]
1999-03-14 17:49   ` Dmitry Yaitskov
1999-03-16  7:23     ` Hrvoje Niksic
1999-03-16  7:55       ` Dmitry Yaitskov
1999-03-16  8:09         ` Hrvoje Niksic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zp5gxcv6.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).