find . -name "*.php" -exec iconv -f ISO-8859-1 -t UTF-8 {} -o ../newdir_utf8/{} \; Batch convert files to utf-8 批量修改文件编码,从ISO-8859-1修改为utf-8