From 47cdc0b6c516ec5e3963d925d2d58af9d91d3164 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Thu, 1 Mar 2012 07:55:30 +2000 Subject: [PATCH] Re: [PATCH 1/2] Convert non-UTF-8 parts to UTF-8 before indexing them --- 1b/afdce5dc459126683d17d64590c0df2eca3a46 | 65 +++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 1b/afdce5dc459126683d17d64590c0df2eca3a46 diff --git a/1b/afdce5dc459126683d17d64590c0df2eca3a46 b/1b/afdce5dc459126683d17d64590c0df2eca3a46 new file mode 100644 index 000000000..8117bd736 --- /dev/null +++ b/1b/afdce5dc459126683d17d64590c0df2eca3a46 @@ -0,0 +1,65 @@ +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 55DAE431FAF + for ; Wed, 29 Feb 2012 03:55:37 -0800 (PST) +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 BXxXmDkMUhpG for ; + Wed, 29 Feb 2012 03:55:37 -0800 (PST) +Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238]) + (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 071C1431FAE + for ; Wed, 29 Feb 2012 03:55:37 -0800 (PST) +Received: from fctnnbsc30w-142166230117.dhcp-dynamic.fibreop.nb.bellaliant.net + ([142.166.230.117] helo=zancas.localnet) + by tesseract.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) + (Exim 4.72) (envelope-from ) + id 1S2i88-00065P-8t; Wed, 29 Feb 2012 07:55:36 -0400 +Received: from bremner by zancas.localnet with local (Exim 4.77) + (envelope-from ) + id 1S2i83-0001mX-1O; Wed, 29 Feb 2012 07:55:31 -0400 +From: David Bremner +To: Michal Sojka , notmuch@notmuchmail.org +Subject: Re: [PATCH 1/2] Convert non-UTF-8 parts to UTF-8 before indexing them +In-Reply-To: <1330068983-4483-1-git-send-email-sojkam1@fel.cvut.cz> +References: <1330043595-22054-1-git-send-email-sojkam1@fel.cvut.cz> + <1330068983-4483-1-git-send-email-sojkam1@fel.cvut.cz> +User-Agent: Notmuch/0.11.1+240~g3f88b96 (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-pc-linux-gnu) +Date: Wed, 29 Feb 2012 07:55:30 -0400 +Message-ID: <8762epc0r0.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Spam_bar: - +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: Wed, 29 Feb 2012 11:55:37 -0000 + +On Fri, 24 Feb 2012 08:36:22 +0100, Michal Sojka wrote: +> This fixes a bug that didn't allow to search for non-ASCII words such +> parts. The code here was copied from show_text_part_content(), because +> the show command already does the needed conversion when showing the +> message. + +pushed both, + +d -- 2.26.2