Linux batch encoding convert one liner

 
find -name '*.php' -exec iconv -f cp1251 -t utf8 '{}' -o '{}'.utf8 \;
 

Idea taken from here.

Post a Comment

Your email is never published nor shared. Required fields are marked *