Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: nospam@dev.null (Alexey Pustyntsev)
To: info-gnus-english@gnu.org
Subject: Re: Gnus/Mailcrypt and MIME charset
Date: Fri, 02 Feb 2007 10:17:16 +1000	[thread overview]
Message-ID: <E1HCm7A-0002bq-6s@sycore.org> (raw)
In-Reply-To: <20070201170519.CE9C4CA08@sycore.org> (info-gnus-english-request@gnu.org's message of "Thu, 1 Feb 2007 20:05:19 +0300 (MSK)")

Markus Hilper writes:

> using Gnus (gnus-verison "No Gnus v0.6") and Mailcrypt, I always end up
> with a header stating "charset=us-ascii" for encrypted messages. I
> presume, the message is first encrypted and then MIME encoded. This
> causes confusion with some mailreaders of my messages' recipients when
> using non-ASCII-characters.
>
> Is it possible to have the message MIME encoded before encryption? When
> using vm, I do something in the line of
>
> (add-hook 'mc-pre-encryption-hook '(lambda ()
>           (if (not (vm-mail-mode-get-header-contents "MIME-Version:"))
>           (vm-mime-encode-composition))))
>
> What would be the canonical way for Gnus? Maybe I did not search very
> intelligently, but I did not find an answer. Maybe I was putting the
> wrong question?
>
> Thanks for hints!
> Markus

Gnus seems to always convert the charset header of my encrypted
messages to us-ascii, but my recipients that use non-ascii characters
have confirmed that the messages are Ok after decryption.

May be it's worth trying pgg + gpg ?
 
 * Info PGG *
 ,----------------------------------------------------------------------
 | File: pgg,  Node: Overview 
 |
 | PGG is an interface library between Emacs and various tools for secure
 | communication.  Even though Mailcrypt has similar feature, it does not
 | deal with detached PGP messages, normally used in PGP/MIME
 | infrastructure.
 '----------------------------------------------------------------------

-- 
Rgds
Alexey

       reply	other threads:[~2007-02-02  0:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070201170519.CE9C4CA08@sycore.org>
2007-02-02  0:17 ` Alexey Pustyntsev [this message]
2007-02-01 11:33 Markus Hilpert
2007-02-02  4:20 ` Ivan Boldyrev
     [not found] ` <mailman.3900.1170391172.2155.info-gnus-english@gnu.org>
2007-02-02 11:14   ` Markus Hilpert

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=E1HCm7A-0002bq-6s@sycore.org \
    --to=nospam@dev.null \
    --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).