Monday, February 20, 2017

Change files' encoding recursively on Windows

Get-ChildItem *.txt -Recurse | ForEach-Object {
$content = $_ | Get-Content

Set-Content -PassThru $_.Fullname $content -Encoding UTF8 -Force}  

from: http://stackoverflow.com/questions/1681568/change-files-encoding-recursively-on-windows

1 comment:

  1. We work exclusively to ensure that our business customers have the licensure they need to operate these features at the lowest price possible windows 10 dvd.

    ReplyDelete