Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9EB4D90CB for ; Thu, 26 Apr 2012 14:38:10 +0000 (UTC) Received: (qmail 35683 invoked by uid 500); 26 Apr 2012 14:38:08 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 35649 invoked by uid 500); 26 Apr 2012 14:38:08 -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 35640 invoked by uid 99); 26 Apr 2012 14:38:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 14:38:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pjcarvalho@gmail.com designates 209.85.160.180 as permitted sender) Received: from [209.85.160.180] (HELO mail-gy0-f180.google.com) (209.85.160.180) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2012 14:38:02 +0000 Received: by ghbz12 with SMTP id z12so1175189ghb.11 for ; Thu, 26 Apr 2012 07:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=OL+JPsCm4P4j3m+aWlH1gRx+D8CTyzRut7WP9DLv7Ws=; b=Jhb3LvRBLHbgjCjrI7v0K4nO2yxb0KOIuVknO5uf7TQ6drhblsJd18AW0UCBhZhJWx W+1fduTFWJRT799c474wxfhCRnvgg+GOdtS7y50PEbFuXhxEYDVjL9fakBlwof0It2pd q1ALbjFnCzYyjGSJKpIZPjhNAHqcGrTDoJXOBB7aqbWm2J4Dgj3JsGqtj/5+PP6LOkZQ /y6h4mkwxe0/Xko3/5SBSLKuJhnncaAeBPTAg/4KCE3hEp8EyJy70BDfvapBy4ibbas9 eSUyYAhvuBkjtiVQuKMWOsC/iOT9VTK0ykbAFCuxeaLbWnHxX3yhw0F7ATeOJhsKPSwU Kfbg== MIME-Version: 1.0 Received: by 10.236.80.66 with SMTP id j42mr6836370yhe.110.1335451061617; Thu, 26 Apr 2012 07:37:41 -0700 (PDT) Received: by 10.100.13.15 with HTTP; Thu, 26 Apr 2012 07:37:41 -0700 (PDT) Date: Thu, 26 Apr 2012 16:37:41 +0200 Message-ID: Subject: Couchdb encoding configuration From: Paulo Carvalho To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=20cf3005147a24859104be95ee77 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3005147a24859104be95ee77 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, I have a json file, which I think is valid, with the following content: {"docs":[{"comm":"Taille =E9oyenne pour les structures -- =C9chantillons : 116-121"}]} To insert it on my database, I use Curl: > curl -X PUT -d @xpto2.json http://127.0.0.1:5984/mybd/doc_id I get the following error on the couchDB log: "lexical error: invalid bytes in UTF8 string." I think something is wrong with the encoding configuration of coucDB. However, I cannot find how and where it can be solved. I am working with the windows version of couchDB. Could anyone help me with this issue? Thank you Best regards --20cf3005147a24859104be95ee77--