Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 33348 invoked from network); 3 Jun 2008 16:25:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jun 2008 16:25:47 -0000 Received: (qmail 27707 invoked by uid 500); 3 Jun 2008 16:25:49 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 27497 invoked by uid 500); 3 Jun 2008 16:25:49 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 27482 invoked by uid 99); 3 Jun 2008 16:25:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 09:25:48 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ryszard.szopa@gmail.com designates 72.14.220.156 as permitted sender) Received: from [72.14.220.156] (HELO fg-out-1718.google.com) (72.14.220.156) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2008 16:24:57 +0000 Received: by fg-out-1718.google.com with SMTP id l26so1066946fgb.26 for ; Tue, 03 Jun 2008 09:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=CZYVPvuQoRlmvNypnbEgQ9J17H7sofNjsA1kWtODf8Q=; b=JO+n5z8qg6mK15NnLjT96xTw0yCFsjVEGqKWcAadt/jJH2ocApvsCO/xdGtlT0HxnJiwbWL0iRJO/rwTVCcljTM+loX9piL/3FSh7eGIDEdinRRYUICWOxuBIJGiqVNmdgxgqxLgGDsIJAefBL7W0CgXDv++/ba4JGar+nyzxi0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RO7r5qpcgQqsLsnE0TJrVNcQRCg3gSgb2DYIo+wY7On3fYWmnQ516hLujCDGtWCMpzOlDFTbzIblMBecCG5oPpvGe1ELZim76+M0RtBn2v1GqPZO9alveDQQtzGGKK5X/G1k93wFns7A32p7O6d4gECHpJn0L/ZAcF0fbNYlMiE= Received: by 10.82.112.6 with SMTP id k6mr114979buc.77.1212510313174; Tue, 03 Jun 2008 09:25:13 -0700 (PDT) Received: by 10.82.116.6 with HTTP; Tue, 3 Jun 2008 09:25:08 -0700 (PDT) Message-ID: <19e19e410806030925s1675843anc13206b3e289fc0@mail.gmail.com> Date: Tue, 3 Jun 2008 18:25:08 +0200 From: "Ryszard Szopa" To: couchdb-user@incubator.apache.org Subject: Re: problem with unicode In-Reply-To: <19e19e410806021426n47dcd68bk26fbb61a9e953f81@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19e19e410806021426n47dcd68bk26fbb61a9e953f81@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jun 2, 2008 at 11:26 PM, Ryszard Szopa wrote: > Whenever I try to do requests to CouchDB with Unicode characters in > the content I get a 500 and an Erlang error. My Erlang is very weak, > so even after reading the source of the function I believe the error > comes from (tokenize in couchdb/cjson.erl) the error still doesn't > make enough sense to fix it somehow. OK, it was the fault of my http-client library which was having issues with sending utf-8. Sorry for the noise. -- http://szopa.tasak.gda.pl/