Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for 2unicode.ps

(view source code of 2unicode.ps as plain text)

  1. # Convert any text file to Unicode
  2.  
  3. param( [string] $infile = $(throw "Please specify a filename.") )
  4.  
  5. $outfile = "$infile.unicode"
  6.  
  7. get-content -Path $infile | out-file $outfile -encoding unicode
  8.  

page last modified: 2024-04-16; loaded in 0.0073 seconds