Re: [notmuch] [PATCH] json_quote_str should handle non-ASCII characters
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 4 Mar 2010 13:57:27 +0000 (14:57 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:20 +0000 (09:36 -0800)
83/f88f4c9d7075be3be60e918ee9a5362d47a8e2 [new file with mode: 0644]

diff --git a/83/f88f4c9d7075be3be60e918ee9a5362d47a8e2 b/83/f88f4c9d7075be3be60e918ee9a5362d47a8e2
new file mode 100644 (file)
index 0000000..873705e
--- /dev/null
@@ -0,0 +1,60 @@
+Return-Path: <Sebastian@SSpaeth.de>\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 1D6E2431FBC\r
+       for <notmuch@notmuchmail.org>; Thu,  4 Mar 2010 05:57:43 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.769\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.769 tagged_above=-999 required=5\r
+       tests=[AWL=-0.584, BAYES_40=-0.185] autolearn=ham\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 ZnJaPoLkEa0m for <notmuch@notmuchmail.org>;\r
+       Thu,  4 Mar 2010 05:57:42 -0800 (PST)\r
+Received: from homiemail-a17.g.dreamhost.com (caiajhbdcahe.dreamhost.com\r
+       [208.97.132.74])\r
+       by olra.theworths.org (Postfix) with ESMTP id 80294431FAE\r
+       for <notmuch@notmuchmail.org>; Thu,  4 Mar 2010 05:57:42 -0800 (PST)\r
+Received: from sspaeth.de (mtec-hg-docking-1-dhcp-204.ethz.ch\r
+       [129.132.133.204])\r
+       by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id C192F7A8063; \r
+       Thu,  4 Mar 2010 05:57:29 -0800 (PST)\r
+Received: by sspaeth.de (sSMTP sendmail emulation);\r
+       Thu, 04 Mar 2010 14:57:27 +0100\r
+From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>\r
+To: Gregor Hoffleit <gregor@hoffleit.de>, notmuch <notmuch@notmuchmail.org>\r
+In-Reply-To: <1267697893-sup-4538@sam.mediasupervision.de>\r
+References: <1267697893-sup-4538@sam.mediasupervision.de>\r
+Date: Thu, 04 Mar 2010 14:57:27 +0100\r
+Message-ID: <87aauoxk8o.fsf@SSpaeth.de>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Subject: Re: [notmuch] [PATCH] json_quote_str should handle non-ASCII\r
+ characters\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: Thu, 04 Mar 2010 13:57:43 -0000\r
+\r
+On 2010-03-04, Sebastian Spaeth wrote:\r
+> The current code in json_quote_str() only accepts strict printable ASCII\r
+> code points (i.e. 32-127), all other code points are dropped from the\r
+> JSON output.\r
+\r
+That would explain why my web interface does not display any umlaut\r
+symbols.\r
+\r
+Nice finding,\r
+Sebastian\r