Batch Re-encode from ISO-8859-1 to UTF-8

  2021-12-27


I needed to batch re-encode a load of files from ISO-8859-1 to UTF8 from one folder into another. This is how I did it

for i in *.markdown; do iconv -f ISO-8859-1 -t UTF-8//TRANSLIT $i -o ../$i;done