I've used the following to convert Unicode text files to ansi... not sure about the utf-8 format though

 Code:
shell '%comspec% /c type ' + $filename + '>' + $newfilename