Created
October 23, 2013 07:39
-
-
Save isann/7114133 to your computer and use it in GitHub Desktop.
linux nkf コマンド オプションメモ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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