LoginSignup
3
3

More than 5 years have passed since last update.

nkfのメモ

Last updated at Posted at 2014-11-13

オプション

--url-input URLの%エンコードを元に戻してくれる。
--overwrite 上書き
-w UTF8に変換
--guess 文字コードの推測

-s Shift_JIS
-Lw CRLF(Windows風の改行)

コマンド例

とりあえずUTF8に変更したければ以下のコマンドで。

nkf --overwrite -w hoge.txt

Windows風にしたければ以下のコマンド

nkf --overwrite -s -Lw

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3