> 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"}]}

Prior to transferring to couch, can one validate this?

- as utf-8
- as json

Given a file utf8wtf.json, how about:

iconv -f UTF-8 utf8wtf.json

or with perl installed I can use this and check json as well:

json_xs -t null -v < utf8wtf.json

Any other ideas that might be more cross platform?

A+
Dave

Reply via email to