Question

I would like to convert a CSV File from UCS2 to UTF8 via Batch. I've tried

iconv --from-code UCS-2 - UTF-8 -c export_RV-RP.csv > export_RV-RP2.csv

But it didn't work, the file is empty.

Can anyone tell me the issue?

Was it helpful?

Solution

You got the syntax wrong and there's a single dash in your command. Try this:

iconv -f UCS-2 -t UTF-8 -c export_RV-RP.csv > export_RV-RP2.csv
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top