vue-json-csv
vue-json-csv copied to clipboard
encoding option seems to be not working
Hi, thx for the great library. :) I'd like to export csv file on Shift_JIS format and implemented as below.
<download-csv
:data = "data"
encoding = "shift_jis"
>
I also tried the values such as "shiftjis", "shift-jis" and "sjis" but none of them worked. It just gives me a csv with utf-8. There may be something wrong with my way of implementation. If it's the case, would you tell me the way to indicate the encoding format? I looked through the docs but can't figure it out... Thx,
After re-reading the doc of Papaparse (the lib I'm using to generate the CSV file), it actually doesn't support encoding for exporting ...
I should either remove the "feature" or find another way to set the encoding.