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 <[email protected]>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 >
