From 8661e6dfbfe3cfa4e49594f2dfd967f1bdaad6ab Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Mon, 4 Jun 2012 13:09:28 +0300 Subject: [PATCH] Re: Problem with invalid characters when using notmuch-reply --- d6/7a4b20baabc56d7f655d27dfb86325069ee6b3 | 120 ++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 d6/7a4b20baabc56d7f655d27dfb86325069ee6b3 diff --git a/d6/7a4b20baabc56d7f655d27dfb86325069ee6b3 b/d6/7a4b20baabc56d7f655d27dfb86325069ee6b3 new file mode 100644 index 000000000..0771c0843 --- /dev/null +++ b/d6/7a4b20baabc56d7f655d27dfb86325069ee6b3 @@ -0,0 +1,120 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id A9572431FB6 + for ; Mon, 4 Jun 2012 03:09:21 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 niOi609wefny for ; + Mon, 4 Jun 2012 03:09:20 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id C89D5431FAF + for ; Mon, 4 Jun 2012 03:09:19 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 3F88510014D; Mon, 4 Jun 2012 13:09:29 +0300 (EEST) +From: Tomi Ollila +To: Albin Stjerna , notmuch@notmuchmail.org +Subject: Re: Problem with invalid characters when using notmuch-reply +In-Reply-To: <87r4tvmoeq.fsf@hecate.student.uu.se> +References: <87r4tvmoeq.fsf@hecate.student.uu.se> +User-Agent: Notmuch/0.13.2+7~g08be9ce (http://notmuchmail.org) Emacs/23.1.1 + (x86_64-redhat-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +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, 04 Jun 2012 10:09:21 -0000 + +On Mon, Jun 04 2012, Albin Stjerna wrote: + +> Hi! +> +> I have a very confusing problem. When replying to a message containing +> special characters (read: non-ascii), they show up as mysteriously +> escaped characters, such as \345 (where the letter =C3=A4 should be). When +> sending these replies, I get an error about my message containing +> non-printable characters. When these messages arrive, the special +> characters (even those I entered, that looked fine in the mail compose +> buffer) are garbled. +> +> Everything works fine when composing a new message. The problem only +> appears when replying. The problem appeared quite recently, apparently +> out of nowhere. No emacs upgrade, no notmuch upgrade (as far as I can +> recall). +> +> The problem is appears in both Emacs 23 and 24, and restart (neither of E= +macs nor of my computer) doesn't help. +> +> Also: +> albin@hecate ~ % notmuch --version +> notmuch 0.13 + +Notmuch 0.13.1 fixed this problem -- excerpt from NEWS file: + +Notmuch 0.13.1 (2012-05-29) +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= +=3D=3D + +Bug-fix release +--------------- + +Fix inserting of UTF-8 characters from *text/plain* parts in reply + + While notmuch gained ability to insert content from other than + *text/plain* + parts of email whenever *text/plain* parts are not available (notably + HTML-only emails), replying to mails that do have *text/plain* the + non-ASCII characters were incorrectly decoded. This is now fixed. + + +> +> albin@hecate ~ % locale +> LANG=3Den_US.utf8 +> LANGUAGE=3D +> LC_CTYPE=3D"en_US.utf8" +> LC_NUMERIC=3D"en_US.utf8" +> LC_TIME=3D"en_US.utf8" +> LC_COLLATE=3D"en_US.utf8" +> LC_MONETARY=3D"en_US.utf8" +> LC_MESSAGES=3D"en_US.utf8" +> LC_PAPER=3D"en_US.utf8" +> LC_NAME=3D"en_US.utf8" +> LC_ADDRESS=3D"en_US.utf8" +> LC_TELEPHONE=3D"en_US.utf8" +> LC_MEASUREMENT=3D"en_US.utf8" +> LC_IDENTIFICATION=3D"en_US.utf8" +> LC_ALL=3D +> +> notmuch reply (on the command line) seems to work just fine. +> +> Any pointers you can give me would be greatly appreciated! + +Thank you for the good information you provided in your report! + +> Thanks in advance, +> Albin + +Tomi -- 2.26.2