Skip to content

Instantly share code, notes, and snippets.

@wagnerpinheiro
Last active August 29, 2015 13:57
Show Gist options
  • Save wagnerpinheiro/9812549 to your computer and use it in GitHub Desktop.
Save wagnerpinheiro/9812549 to your computer and use it in GitHub Desktop.
recode all php files from iso-8859-1 to utf-8
#!/bin/bash
find . -type f -name "*.php" -exec recode iso-8859-1..utf-8 '{}' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment