Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Gnus changes encoding of attachment
Date: Tue, 12 Feb 2013 08:34:38 +0900	[thread overview]
Message-ID: <b4mpq06v301.fsf@jpl.org> (raw)
In-Reply-To: <87ehgnc7ic.fsf@micropit.couberia.selfip.net>

Peter Münster wrote:
> Is it normal, that Gnus changes the encoding of my attachment from
> ISO-8859 (on my hard-disk) to UTF-8 (in the message)?

By default Gnus never prefers a certain encoding.  What chooses
it is Emacs, that works according to its hard-coded rules,
the language-environment[1] or the locale[2].  But Gnus offers
you a means to change the behavior.  Try this:

(setq mm-coding-system-priorities '(iso-8859-1))

The value should be a list of coding-systems[3] you prefer.  See
the Info[4] for more detail.  Note that iso-8859-1 won't be used
if there's a character that cannot be encoded by iso-8859-1 in a
message.

[1] See the value of the variable: current-language-environment
[2] `M-! locale RET' and see the buffer "*Shell Command Output*".
[3] The symbols used for the coding-system names are normally
    the same as the ones used for the encoding names in Emacs.
[4] (info "(Emacs-MIME)Encoding Customization") <- Type C-x C-e.



  reply	other threads:[~2013-02-11 23:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-11 13:19 Peter Münster
2013-02-11 23:34 ` Katsumi Yamaoka [this message]
2013-02-14 22:24   ` Peter Münster

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=b4mpq06v301.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@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).