You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for developing this, it seems to be a very useful tool. However, when converting a xlsx file to csv with gocsv xlsx, it would be great to have the option to specify the encoding of the output `csv file.
Also, when doing a batch conversion of multiple files, it would be nice to be able to specify the destination directory for the output files instead of creating a directory for the CSVs.
The text was updated successfully, but these errors were encountered:
it would be nice to be able to specify the destination directory for the output files instead of creating a directory for the CSVs
The xlsx command already has the -dirname option. Please provide details on what more you need; given the nature of XLS files having multiple sheets, please include an example that shows your need and how GoCSV currently doesn't meet it.
Regarding the encoding of output files... I don't think this is a good fit for GoCSV. You could try piping the output (or input) to something like iconv. Or, here's a solution I wrote up on StackOverflow for using Go and the experimental text package to convert between UTF-8 and popular code pages (encodings), https://stackoverflow.com/a/76784010/246801. I've codified all that in a simple text transcoding tool, gotxt.
Thank you for developing this, it seems to be a very useful tool. However, when converting a
xlsx
file tocsv
withgocsv xlsx
, it would be great to have the option to specify the encoding of the output `csv file.Also, when doing a batch conversion of multiple files, it would be nice to be able to specify the destination directory for the output files instead of creating a directory for the CSVs.
The text was updated successfully, but these errors were encountered: