Batch convert PHP latin-1 files to utf-8 using iconv on Mac OS X
find . -name "*.php" -exec bash -c 'iconv -f iso-8859-1 -t utf-8 "{}" > ../newdir-utf8/"{}"' \;
Written by Julien Huon
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tags
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#