From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id BB63F431FD0 for ; Sun, 18 Dec 2011 16:03:57 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.29 X-Spam-Level: X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04IpKttQCMkw for ; Sun, 18 Dec 2011 16:03:57 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 041D3431FB6 for ; Sun, 18 Dec 2011 16:03:56 -0800 (PST) Received: from zancas.localnet (fctnnbsc36w-156034079193.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.79.193]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pBJ03iW5009885 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sun, 18 Dec 2011 20:03:45 -0400 Received: from bremner by zancas.localnet with local (Exim 4.77) (envelope-from ) id 1RcQhk-0000l4-16; Sun, 18 Dec 2011 20:03:44 -0400 From: David Bremner To: Olivier Berger , 652359@bugs.debian.org Subject: Re: Bug#652359: notmuch-emacs: Won't display correctly quoted-printable iso-8859-1 mails In-Reply-To: <20111216160104.24920.82593.reportbug@inf-8657.int-evry.fr>, <87liqaas12.fsf@zancas.localnet> References: <20111216160104.24920.82593.reportbug@inf-8657.int-evry.fr> User-Agent: Notmuch/0.10.2+103~gd823dc2 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Sun, 18 Dec 2011 20:03:43 -0400 Message-ID: <87zkepa0m8.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 00:03:57 -0000 --=-=-= On Fri, 16 Dec 2011 17:01:04 +0100, Olivier Berger wrote: > In my understanding, the quoted-printable iso-8859-1 is correct for > french accents, and is converted somehow to UTF-8, though it is > displayed in an emacs buffer that looks like iso-8859-1 (The > minibuffer separator line starts with '-1:%*-' ... Do you the same behaviour with "emacs -q"? I did the following: $ export LANG=fr_FR.utf8 $ export LC_CTYPE=fr_FR.utf8 $ emacs -q # gtk emacs M-x notmuch and your message id:"877h1wv7mg.fsf@inf-8657.int-evry.fr" displays fine (with U in the modeline). Poking around at random, I did M-x set-language-environment French and then I could duplicate your problem; the mode line shows 8859-1 coding system and the message is not displayed correctly. On the other hand, in this case the patch I sent does fix the actual message display for me, just as it did in the other case where I set the locale directly to fr_FR (without utf8). d --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=mail-accentue Content-Transfer-Encoding: base64 RnJvbTogT2xpdmllciBCZXJnZXIgPG9saXZpZXIuYmVyZ2VyQGl0LXN1ZHBhcmlzLmV1PgpUbzog b2xpdmllci5iZXJnZXJAaXQtc3VkcGFyaXMuZXUKU3ViamVjdDogRXNzYWkgPT9pc28tODg1OS0x P1E/YWNjZW50dT1FOT89ClVzZXItQWdlbnQ6IE5vdG11Y2gvMC4xMC4xIChodHRwOi8vbm90bXVj aG1haWwub3JnKSBFbWFjcy8yMy4zLjEgKGk0ODYtcGMtbGludXgtZ251KQpYLURyYWZ0LUZyb206 ICgibm5pbWFwK2xvY2FsZG92ZWNvdDpJTkJPWCIgNDQyMjgpCkRhdGU6IEZyaSwgMTYgRGVjIDIw MTEgMTY6NDk6NTkgKzAxMDAKTWVzc2FnZS1JRDogPDg3N2gxd3Y3bWcuZnNmQGluZi04NjU3Lmlu dC1ldnJ5LmZyPgpNSU1FLVZlcnNpb246IDEuMApDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNo YXJzZXQ9aXNvLTg4NTktMQpDb250ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBxdW90ZWQtcHJpbnRh YmxlCgpEdSB0ZXh0ZSBhY2NlbnR1PUU5IHBvdXIgPUU3YSAuLi4KCj1FMCBsYSBib25uZSBoZXVy ZSAhCi0tPTIwCk9saXZpZXIgQkVSR0VSPTIwCmh0dHA6Ly93d3ctcHVibGljLml0LXN1ZHBhcmlz LmV1L35iZXJnZXJfby8gLSBPcGVuUEdQLUlkOiAyMDQ4Ui81ODE5RDdFOApJbmdlbmlldXIgUmVj aGVyY2hlIC0gRGVwdCBJTkYKSW5zdGl0dXQgVEVMRUNPTSwgU3VkUGFyaXMgKGh0dHA6Ly93d3cu aXQtc3VkcGFyaXMuZXUvKSwgRXZyeSAoRnJhbmNlKQoK --=-=-=--