Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 85400 invoked from network); 14 Dec 2009 09:16:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Dec 2009 09:16:35 -0000 Received: (qmail 18101 invoked by uid 500); 14 Dec 2009 09:16:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 18018 invoked by uid 500); 14 Dec 2009 09:16:32 -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 18008 invoked by uid 99); 14 Dec 2009 09:16:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 09:16:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of b.candler@pobox.com designates 208.72.237.25 as permitted sender) Received: from [208.72.237.25] (HELO sasl.smtp.pobox.com) (208.72.237.25) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 09:16:22 +0000 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 6C4B888A57; Mon, 14 Dec 2009 04:15:57 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; s=sasl; bh=w3B3IUo451BEd /ST3w5QVV2lRpE=; b=u8RaymNGQi/I2ueHDkMxD2HFUmQbRqEY1iOjZOfFe8Rxb ZqJcTSmQAP7QYFukMKnkxmTNUsPOgqBVPrbPEFA2ADSZDVq5Vo/J7RRmPNcbpAPe CJ9Rb+t/HObfvFWPj1YHGBAqCM9O/5/E1ZKgp9uL9uxgyMAcDSlzyMRifzf1tg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to:cc :subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; q=dns; s=sasl; b=Lz4vCO9 UBfQNTh1sWZliWx92UJaJasVFT2y7cqPCA519PhVmjtT/NJX940TUKdaaQ0qfN2F LLkwgg6jA6836G/zhHZlSlJc60YIchNdn2ECIWmLNsdj6TTVgeU3rgX1am0Y9Jq2 LXpMdvNTOGsIsOqLC9twsFfkCBoBU7x16qZA= Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 7B09E88A56; Mon, 14 Dec 2009 04:15:54 -0500 (EST) Received: from mappit (unknown [78.86.5.94]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 79A9388A55; Mon, 14 Dec 2009 04:15:49 -0500 (EST) Received: from brian by mappit with local (Exim 4.69) (envelope-from ) id 1NK71v-00020B-Tf; Mon, 14 Dec 2009 09:15:47 +0000 Date: Mon, 14 Dec 2009 09:15:47 +0000 From: Brian Candler To: =?iso-8859-1?Q?S=F8ren?= Hilmer Cc: user@couchdb.apache.org Subject: Re: {"error":"bad_request","reason":"invalid UTF-8 JSON"} Message-ID: <20091214091547.GA7543@uk.tiscali.com> Mail-Followup-To: =?iso-8859-1?Q?S=F8ren?= Hilmer , user@couchdb.apache.org References: <200912132024.08460.sh@widetrail.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <200912132024.08460.sh@widetrail.dk> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Pobox-Relay-ID: 48112770-E891-11DE-B3DC-DC0DEE7EF46B-28021239!a-pb-sasl-quonix.pobox.com Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Dec 13, 2009 at 08:24:08PM +0100, S=F8ren Hilmer wrote: > Sorry, I do not remember, it was one of the first 0.11 or one of the la= st 0.10.=20 Ah, now I remember; I had the same problem when I went from couchdb which bundled mochiweb-r97 to couchdb which bundled mochiweb-r113. I was gettin= g a whole load of "invalid JSON" failures until I removed /usr/local/lib/couchdb/erlang/lib/mochiweb-r97 The problem appears to be that erlang compares stringwise, so "r97" > "r1= 13" Regards, Brian.