Created
January 8, 2014 18:55
-
-
Save t3chnoboy/8322246 to your computer and use it in GitHub Desktop.
Convert all files in folder to utf-8 using iconv
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
# http://stackoverflow.com/questions/4544669/batch-convert-latin-1-files-to-utf-8-using-iconv | |
find . -type f -exec bash -c 'iconv -f iso-8859-1 -t utf-8 "{}" > /path/to/destination/"{}"' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
convert all iso-8859-1 files to utf-8, not all files.