2011-07-29 文字コード/改行コードの確認、変換 文字コードをEUCへ $ nkf -e sjis.txt > euc.txt 文字コードをUTF-8へ $ nkf -e euc.txt > utf-8.txt 文字コードをSJISへ $ nkf -e utf-8.txt > sjis.txt 改行コードをLF(Linux)へ $ nkf -Lu windows.txt > linux.txt 改行コードをCRLF(Windows)へ $ nkf -Lw linux.txt > windows.txt