




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