From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8639 Path: news.gmane.org!not-for-mail From: nospam@dev.null (Alexey Pustyntsev) Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus/Mailcrypt and MIME charset Date: Fri, 02 Feb 2007 10:17:16 +1000 Message-ID: References: <20070201170519.CE9C4CA08@sycore.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1170374668 23340 80.91.229.12 (2 Feb 2007 00:04:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2007 00:04:28 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Feb 02 01:04:21 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HCluf-0000VD-BO for gegu-info-gnus-english@m.gmane.org; Fri, 02 Feb 2007 01:04:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HClue-00041s-UM for gegu-info-gnus-english@m.gmane.org; Thu, 01 Feb 2007 19:04:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HClud-00041m-7p for info-gnus-english@gnu.org; Thu, 01 Feb 2007 19:04:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HCluW-0003zX-FU for info-gnus-english@gnu.org; Thu, 01 Feb 2007 19:04:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCluW-0003zR-8Y for info-gnus-english@gnu.org; Thu, 01 Feb 2007 19:04:12 -0500 Original-Received: from [87.242.74.155] (helo=sycore.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HCluV-0001hX-La for info-gnus-english@gnu.org; Thu, 01 Feb 2007 19:04:11 -0500 Original-Received: by sycore.org (Postfix, from userid 8) id 12693CA11; Fri, 2 Feb 2007 03:03:41 +0300 (MSK) Original-Received: from sycore.org (dialup.217.22.167.51.dsc.ru [217.22.167.51]) by sycore.org (Postfix) with ESMTP id 79062C965 for ; Fri, 2 Feb 2007 03:03:38 +0300 (MSK) Original-Received: from alexey by sycore.org with local (Exim 4.62) (envelope-from ) id 1HCm7A-0002bq-6s for info-gnus-english@gnu.org; Fri, 02 Feb 2007 10:17:16 +1000 User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.0.50 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)") X-detected-kernel: Linux 2.4-2.6 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8639 Archived-At: 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