UTF-16 to UTF-8 conversion (for scripting in Windows)

Grzenio picture Grzenio · Nov 5, 2008 · Viewed 31.6k times · Source

what is the best way to convert a UTF-16 files to UTF-8? I need to use this in a cmd script.

Answer

Kaarel picture Kaarel · Nov 5, 2008

There is a GNU tool recode which you can also use on Windows. E.g.

recode utf16..utf8 text.txt