node-csvtojson
node-csvtojson copied to clipboard
à is converted to à in json
csv file has à in one columns string. after conversion to json it shows à
Hi, I cannot reproduce the problem. If I have a file like below:
a,b,c
Ã,b,c
and the file is encoded as utf8
the output is like:
[
{"a":"Ã","b":"b","c":"c"}
]
Could you make sure your data source is utf8 encoded?
You can use module like iconv
to convert to utf8 encoding.
~Keyang