Windows PowerShell で UTF8 のファイルの中身をソート
cmd の sort は UTF8 対応とかないので、 PowerShell でのやり方をメモ。
powershell -command "Get-Content -Encoding UTF8 in.txt | sort | Set-Content -Encoding UTF8 out.txt"
以上。
cmd の sort は UTF8 対応とかないので、 PowerShell でのやり方をメモ。
powershell -command "Get-Content -Encoding UTF8 in.txt | sort | Set-Content -Encoding UTF8 out.txt"
以上。