# file: convert.ps1
# to run: pwsh.exe convert.ps1
$folder = .\*
Get-ChildItem $folder -recurse -Include *.cs,*.csproj,*.json,*.xafml | ForEach-Object {
$file = $_;
$content = Get-Content $file -Encoding windows-1250 # [ Ascii | Default | windows-1250 | UTF8 | ... ]
Set-Content -PassThru $file $content -Encoding UTF8 -Force
}
521200cookie-checkConvert files from ASCII/Windows-1250 to UTF-8