Skip to content

Instantly share code, notes, and snippets.

@Aeon
Created October 6, 2011 01:15
Show Gist options
  • Save Aeon/1266227 to your computer and use it in GitHub Desktop.
Save Aeon/1266227 to your computer and use it in GitHub Desktop.
convert file comments from cyrillic to unicode
mkdir conv;
find . -type f -name '*.php' -exec bash -c 'iconv -f windows-1251 -t utf-8 "{}" > ./conv/"{}"' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment