From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17987 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.user Subject: Re: mail back to UTF-8 before save to HD Date: Sat, 06 Feb 2016 01:20:15 +0100 Message-ID: <87d1saofk0.fsf@debian.uxu> References: <87a8nh16yp.fsf@debian.uxu> <87lh706hqg.fsf@free.fr> <871t8rov6k.fsf@debian.uxu> <87bn7vgf0h.fsf@iki.fi> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8630821436186274694==" X-Trace: ger.gmane.org 1454718062 11223 80.91.229.3 (6 Feb 2016 00:21:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Feb 2016 00:21:02 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Feb 06 01:20:49 2016 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRqcJ-0003Qb-Ly for gegu-info-gnus-english@m.gmane.org; Sat, 06 Feb 2016 01:20:47 +0100 Original-Received: from localhost ([::1]:51040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRqcJ-0003Yl-2i for gegu-info-gnus-english@m.gmane.org; Fri, 05 Feb 2016 19:20:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRqcF-0003YX-Lj for info-gnus-english@gnu.org; Fri, 05 Feb 2016 19:20:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRqcB-0000pl-KQ for info-gnus-english@gnu.org; Fri, 05 Feb 2016 19:20:43 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:37506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRqcB-0000pH-BC for info-gnus-english@gnu.org; Fri, 05 Feb 2016 19:20:39 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRqc8-00038s-Fr for info-gnus-english@gnu.org; Sat, 06 Feb 2016 01:20:36 +0100 Original-Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 01:20:36 +0100 Original-Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 01:20:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: info-gnus-english@gnu.org Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:QkGEJPn/STbKyqa+h5kiB+ObD+8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17987 Archived-At: --===============8630821436186274694== Content-Type: text/plain Content-Transfer-Encoding: 8bit Teemu Likonen writes: > But if you always want UTF-8 charset and 8bit > content transfer encoding Are there any drawbacks to that? > (setq mm-body-charset-encoding-alist '((utf-8 . 8bit)) > mm-coding-system-priorities '(utf-8)) > > (add-to-list 'mm-content-transfer-encoding-defaults > '("text/.*" 8bit)) I already did try all combinations with `mm-content-transfer-encoding-defaulst' to no avail. Setting `mm-coding-system-priorities' doesn't seem to influence either, at least not with (setq mm-body-charset-encoding-alist '((utf-8 . 8bit))) - however that (almost) did it. file -i says: message/rfc822; charset=utf-8 and the headers are now: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Only the Subject is now =?utf-8?B?w6XDpMO2IMOFw4TDlg==? for "åäö ÅÄÖ" - and there is no "mm-SUBJECT-charset-encoding-alist"... And, with `gnus-summary-show-article' and one C-u, it looks like this: ¥¤¶ …„– -- underground experts united http://user.it.uu.se/~embe8573 --===============8630821436186274694== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline