From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82888 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus changes encoding of attachment Date: Tue, 12 Feb 2013 08:34:38 +0900 Organization: Emacsen advocacy group Message-ID: References: <87ehgnc7ic.fsf@micropit.couberia.selfip.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1360625758 13888 80.91.229.3 (11 Feb 2013 23:35:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 23:35:58 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31154@lists.math.uh.edu Tue Feb 12 00:36:19 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U52v3-0006nC-BT for ding-account@gmane.org; Tue, 12 Feb 2013 00:36:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1U52tl-0005zR-FW; Mon, 11 Feb 2013 17:34:57 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1U52ti-0005z9-KK for ding@lists.math.uh.edu; Mon, 11 Feb 2013 17:34:54 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1U52th-0004oB-9Z for ding@lists.math.uh.edu; Mon, 11 Feb 2013 17:34:54 -0600 Original-Received: from mail-hampton.hostforweb.net ([216.246.13.138] helo=hampton.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1U52tf-0002W5-7a for ding@gnus.org; Tue, 12 Feb 2013 00:34:51 +0100 Original-Received: from localhost ([127.0.0.1]:49209) by hampton.hostforweb.net with smtp (Exim 4.80) (envelope-from ) id 1U52tX-004GMr-0E for ding@gnus.org; Mon, 11 Feb 2013 17:34:43 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130006 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.6) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:bOJyMhgSesNey+VNuwG6ii2M01Y= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82888 Archived-At: Peter M=FCnster 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.