Searching through different charsets
authorSerge Z <triumhiz@yandex.ru>
Wed, 22 Feb 2012 17:10:41 +0000 (21:10 +0400)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:44:49 +0000 (09:44 -0800)
5b/dc011355125aa684fa2a0f1205c3d3ad48d3a2 [new file with mode: 0644]

diff --git a/5b/dc011355125aa684fa2a0f1205c3d3ad48d3a2 b/5b/dc011355125aa684fa2a0f1205c3d3ad48d3a2
new file mode 100644 (file)
index 0000000..91b758c
--- /dev/null
@@ -0,0 +1,93 @@
+Return-Path: <triumhiz@yandex.ru>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 06C41431FC2\r
+       for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 09:15:26 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.514\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.514 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=0.614]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id bL-SAcEQ53uT for <notmuch@notmuchmail.org>;\r
+       Wed, 22 Feb 2012 09:15:22 -0800 (PST)\r
+X-Greylist: delayed 427 seconds by postgrey-1.32 at olra;\r
+       Wed, 22 Feb 2012 09:15:22 PST\r
+Received: from forward20.mail.yandex.net (forward20.mail.yandex.net\r
+       [95.108.253.145])\r
+       by olra.theworths.org (Postfix) with ESMTP id 2C4D3431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 09:15:22 -0800 (PST)\r
+Received: from smtp17.mail.yandex.net (smtp17.mail.yandex.net [95.108.252.17])\r
+       by forward20.mail.yandex.net (Yandex) with ESMTP id 2923310409DF\r
+       for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 21:08:14 +0400 (MSK)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;\r
+       t=1329930494; bh=rOblEFHCPnlGyIqZ8Kyv9wYTA/9IMhgYD18qLHFAp2M=;\r
+       h=Content-Type:MIME-Version:Content-Transfer-Encoding:To:Message-ID:\r
+       From:Subject:Date;\r
+       b=upFNuPGJp4kD5R8gBRjPBHfx2uMcTCK2Jw82+b2XDqth1xL0nrU+8MWBjqo1mkak+\r
+       ZLqSaT85QW76lAXK4wCQx6CxcP0YVbJD0JAYeOiQr03FjlOEOJ76uU9Ud6FaChtfVB\r
+       I6XWeVj32Sgns4CC4A+Iy5neefz7hyG+a5iIscPo=\r
+Received: from smtp17.mail.yandex.net (localhost [127.0.0.1])\r
+       by smtp17.mail.yandex.net (Yandex) with ESMTP id 07DDF190019A\r
+       for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 21:08:13 +0400 (MSK)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;\r
+       t=1329930494; bh=rOblEFHCPnlGyIqZ8Kyv9wYTA/9IMhgYD18qLHFAp2M=;\r
+       h=Content-Type:MIME-Version:Content-Transfer-Encoding:To:Message-ID:\r
+       From:Subject:Date;\r
+       b=upFNuPGJp4kD5R8gBRjPBHfx2uMcTCK2Jw82+b2XDqth1xL0nrU+8MWBjqo1mkak+\r
+       ZLqSaT85QW76lAXK4wCQx6CxcP0YVbJD0JAYeOiQr03FjlOEOJ76uU9Ud6FaChtfVB\r
+       I6XWeVj32Sgns4CC4A+Iy5neefz7hyG+a5iIscPo=\r
+Received: from host-8-152-66-217.spbmts.ru (host-8-152-66-217.spbmts.ru\r
+       [217.66.152.8])\r
+       by smtp17.mail.yandex.net (nwsmtp/Yandex) with ESMTP id\r
+       7nSOL01Z-82SOMGte; Wed, 22 Feb 2012 21:08:13 +0400\r
+X-Yandex-Spam: 1\r
+Content-Type: text/plain; charset="utf-8"\r
+MIME-Version: 1.0\r
+Content-Transfer-Encoding: quoted-printable\r
+To: notmuch@notmuchmail.org\r
+Message-ID: <20120222171041.11455.92079@localhost>\r
+From: Serge Z <triumhiz@yandex.ru>\r
+User-Agent: alot/0.21+\r
+Subject: Searching through different charsets\r
+Date: Wed, 22 Feb 2012 21:10:41 +0400\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 22 Feb 2012 17:15:26 -0000\r
+\r
+\r
+Hello!\r
+\r
+I've got the following problem: fetched emails can be in different encoding=\r
+s.\r
+And searching a term typed in one encoding (system default) does not match =\r
+the\r
+same term in another encoding.\r
+\r
+The solution, as I see, can be in preprocessing each incoming email to\r
+"normalize" it and its encoding so that indexer will handle emails in system\r
+encoding only. Could you please suggest something?\r
+\r
+Another issue (not so much wanted but wanted too) is searching through html\r
+messages without matching html tags.\r
+\r
+This problem looks to be solvable by properly configured run-mailcap. Is th=\r
+ere\r
+such solution anywhere?\r
+\r
+Thanks.\r