Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 36006 invoked from network); 26 Nov 2010 16:50:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Nov 2010 16:50:56 -0000 Received: (qmail 10300 invoked by uid 500); 26 Nov 2010 16:50:54 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 10212 invoked by uid 500); 26 Nov 2010 16:50:54 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 10204 invoked by uid 99); 26 Nov 2010 16:50:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 16:50:53 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [145.58.30.185] (HELO out1b.mail.omroep.nl) (145.58.30.185) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 16:50:47 +0000 Received: from localhost (ou1bclean [10.10.30.159]) by out1b.mail.omroep.nl (Postfix MTA - NPO ICT) with ESMTP id E912B3000B65 for ; Fri, 26 Nov 2010 17:50:24 +0100 (CET) X-Virus-Scanned: NPO ICT Received: from tweehoog.vpro.nl (tweehoog.vpro.nl [145.58.169.4]) by out1b.mail.omroep.nl (Postfix MTA - NPO ICT) with ESMTP id C47A73000B63 for ; Fri, 26 Nov 2010 17:50:24 +0100 (CET) Received: from exmail.vpro.nl ([145.58.171.81] helo=VS-EX-01.intra.vpro.nl) by tweehoog.vpro.nl with esmtp (Exim 3.36 #1) id 1PM1VA-0003aG-00 for user@couchdb.apache.org; Fri, 26 Nov 2010 17:50:24 +0100 Received: from VS-EX-01.intra.vpro.nl ([145.58.171.81]) by VS-EX-01.intra.vpro.nl ([145.58.171.81]) with mapi; Fri, 26 Nov 2010 17:50:24 +0100 From: Nils Breunese To: "user@couchdb.apache.org" Date: Fri, 26 Nov 2010 17:50:23 +0100 Subject: Re: curl POST to couchdb's _temp_view on OSX => invalid UTF-8 Thread-Topic: curl POST to couchdb's _temp_view on OSX => invalid UTF-8 Thread-Index: AcuNigVb2qlwgkpNTE2+/EOHtLNZgw== Message-ID: <3FE5EEEE-D817-442E-9092-3CE56F93FC8D@vpro.nl> References: In-Reply-To: Accept-Language: nl-NL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: nl-NL Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mark J. Reed wrote: > When hand-constructing or -editing JSON, it's a good idea to run it > through a parser to make sure it's valid. Modern python installs come > with a module for that. Just save the JSON in a file and run > > python -mjson.tool > It will either spit out an error message or else pretty-print the > JSON, in which case you know it's valid. You can also use http://jsonlint.com/ for the same purpose. Nils. ------------------------------------------------------------------------ VPRO phone: +31(0)356712911 e-mail: info@vpro.nl web: www.vpro.nl ------------------------------------------------------------------------