Last active
July 22, 2023 13:51
-
-
Save jonasnordlund/d66cf299965e575114bbcc1d743b80f9 to your computer and use it in GitHub Desktop.
Convert character encoding of files in folder to Windows-1252 / "ANSI"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gci $sourceFolder | % { gc $_.FullName | Set-Content (Join-Path $destFolder $_.Name) -Encoding Windows-1252 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment