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?

有帮助吗?

解决方案

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
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top