user3414272
user3414272

Reputation: 61

Convert UCS 2 to UTF8 via BATCH

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?

Upvotes: 2

Views: 4344

Answers (1)

zb226
zb226

Reputation: 10500

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

Upvotes: 1

Related Questions