in reply to encode files to utf-16 and then move

Instead of moving the file, you open the source for reading, and the destination for writing, and print the line to the new file, just like in the conversion script. If all went well, remove the source file.

It's not hard, just don't be afraid of touching the code.

  • Comment on Re: encode files to utf-16 and then move