script to save file as unicode

Question:

Do you know any way that I could programmatically or via scrirpt transform a set of text files saved in ansi character encoding, to unicode encoding?

I would like to do the same as I do when I open the file with notepad and choose to save it as an unicode file.

Answer:

You can use iconv. On Windows you can use it under Cygwin.

Source:

script to save file as unicode by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply