(view source code of 2utf8.ps as plain text)
# Convert any text file to UTF-8
param( [string] $infile = $(throw "Please specify a filename.") )
$outfile = "$infile.utf8"
get-content -Path $infile | out-file $outfile -encoding utf8
page last modified: 2024-04-16; loaded in 0.0087 seconds