Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: mail back to UTF-8 before save to HD
Date: Sat, 06 Feb 2016 01:20:15 +0100	[thread overview]
Message-ID: <87d1saofk0.fsf@debian.uxu> (raw)
In-Reply-To: <87bn7vgf0h.fsf@iki.fi>

[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]

Teemu Likonen <tlikonen@iki.fi> 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





  reply	other threads:[~2016-02-06  0:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04  3:37 Emanuel Berg
2016-02-04  7:45 ` Peter Münster
2016-02-04 21:32   ` Emanuel Berg
2016-02-05 18:42   ` Emanuel Berg
2016-02-05 18:59     ` Teemu Likonen
2016-02-06  0:20       ` Emanuel Berg [this message]
2016-02-06  2:11         ` Adam Sjøgren
2016-02-06  2:15           ` Emanuel Berg
2016-02-06 14:23             ` Adam Sjøgren
2016-02-06 21:47               ` Emanuel Berg
2016-02-06 21:56                 ` Adam Sjøgren
2016-02-06 22:17                   ` Emanuel Berg
2016-02-06 22:34                     ` Adam Sjøgren
2016-02-07  3:21                       ` Emanuel Berg
2016-02-07  3:31                         ` Emanuel Berg
2016-02-06  6:57         ` Teemu Likonen
2016-02-06 21:36           ` Emanuel Berg

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=87d1saofk0.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --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).