incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CGS <cgsmcml...@gmail.com>
Subject Re: Couchdb encoding configuration
Date Thu, 26 Apr 2012 14:57:03 GMT
Hi,

I think chars like "é" and "É" need to be encoded before being added in the
string.

CGS






On Thu, Apr 26, 2012 at 4:37 PM, Paulo Carvalho <pjcarvalho@gmail.com>wrote:

> 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