Created
October 11, 2011 17:32
-
-
Save aeurielesn/1278767 to your computer and use it in GitHub Desktop.
Change files encoding from ANSI to UTF-8
This file contains hidden or 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 $(find . -name *.java -type f) | |
do | |
iconv -f cp1252 -t utf-8 -o "$file.new" "$file" && mv -f "$file.new" "$file" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment