Skip to content

Instantly share code, notes, and snippets.

@SpringMT
Created March 2, 2011 12:38
Show Gist options
  • Save SpringMT/850859 to your computer and use it in GitHub Desktop.
Save SpringMT/850859 to your computer and use it in GitHub Desktop.
EUCからUTF-8への文字コードの再帰的変換
find . -type f -name “*.php” -exec nkf -w –overwrite {} \;
“*.php”を”*.html”とすれば、HTMLファイルが変換されます。
http://d7r.com/200910/euc%E3%81%8B%E3%82%89utf-8%E3%81%B8%E3%81%AE%E6%96%87%E5%AD%97%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E5%86%8D%E5%B8%B0%E7%9A%84%E5%A4%89%E6%8F%9B/
http://jp.layer8.sh/reference/entry/show/id/744
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment