I have come across a problem with the Substitute variables in files feature. I have a file encoded as ANSI which I would like to perform substitutions on, this works great, the variables are changed and the file looks good. however I have since had problems using this file as for some reason it has been re-encoded as UTF-8 format.
I assume that this is something to do with powershell natively using UTF-8.
Is there some way we can preserve the encoding?