Skip to content

Instantly share code, notes, and snippets.

@isann
Created October 23, 2013 07:39
Show Gist options
  • Save isann/7114133 to your computer and use it in GitHub Desktop.
Save isann/7114133 to your computer and use it in GitHub Desktop.
linux nkf コマンド オプションメモ
nkf -SLuw --overwrite ./**/*
S → Shift-JIS を仮定する、半角カナ文字とかの変換がうまくいくが、問題が起こる場合もあるので注意
Lu → 改行コードを LF にする
w → 文字コードを UTF-8 にする
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment