couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paulo Carvalho <pjcarva...@gmail.com>
Subject Couchdb encoding configuration
Date Thu, 26 Apr 2012 14:37:41 GMT
Hello,

I have a json file, which I think is valid, with the following content:

{"docs":[{"comm":"Taille √©oyenne pour les structures -- √Čchantillons :
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message