csv2json icon indicating copy to clipboard operation
csv2json copied to clipboard

UTF-8 support

Open Salokyn opened this issue 6 years ago • 2 comments

Hello,

I try to use csv2json to convert an UTF-8 csv to JSON. But special characters seems not supported.

An example:

postalcode;city
13220;Châteauneuf-les-Martigues

gives

[
    {
        "postalcode": "13220",
        "city": "Ch\u00e2teauneuf-les-Martigues"
    }
]

instead of

[
    {
        "postalcode": "13220",
        "city": "Châteauneuf-les-Martigues"
    }
]

Salokyn avatar Sep 30 '19 08:09 Salokyn

@Salokyn have you solved it? Would you consider submitting a pull request?

oplatek avatar Mar 24 '20 14:03 oplatek

Well, I used a npm package csvtojson instead. Sorry.

Salokyn avatar Mar 26 '20 14:03 Salokyn