Last active
August 29, 2015 14:05
-
-
Save Pindar/6634a3796f2c4fd6d99e to your computer and use it in GitHub Desktop.
Convert encoding
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
for file in *.php do | |
iconv -f cp1252 -t utf8 "$file" > "$file.new" && mv -f "$file.new" "$file" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment