Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Leo <sdl.web@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: Control outgoing messages' encoding
Date: Thu, 10 May 2007 10:21:54 +0100	[thread overview]
Message-ID: <m2abwduj7x.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: <b4my7jxxp18.fsf@jpl.org>

----- Katsumi Yamaoka (2007-05-10) wrote:-----

>> How can I change encoding just for one message? I have a few friends
>> having problem displaying utf-8 emails and I know that gbk/gb2312 works
>> for them.
>
>> Google shows that mm-coding-system-priorities can be used for that.
>
> In the Japanese language environment, it has a non-nil value by
> default as:
>
> (iso-8859-1 iso-2022-jp iso-2022-jp-2 shift_jis utf-8)
>
> Although I don't know what is proper for Chinese, the one like
> the following might help:
>
> (setq mm-coding-system-priorities '(iso-8859-1 gb2312 gbk utf-8))
>
> It means gb2312 will be used if text can be encoded with gb2312,
> gbk, and utf-8.
>
> Otherwise, you can modify MML tags manually.  For instance, add
> a text/plain tag by typing
>
> M-x mml-insert-part RET text/plain RET
>
> at the beginning of the message body, and add a charset parameter
> as follows:
>
> <\#part type="text/plain" disposition=inline charset=gb2312>
>
> You can also add an encoding parameter such as: encoding=8bit
>
> Regards,

Thank you for this excellent answer.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

  reply	other threads:[~2007-05-10  9:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.476.1178768519.32220.info-gnus-english@gnu.org>
2007-05-10  4:48 ` Katsumi Yamaoka
2007-05-10  9:21   ` Leo [this message]
2007-05-10  3:34 Leo

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=m2abwduj7x.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=info-gnus-english@gnu.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).