1 2 3 4
#!/bin/bash file=$1
5
for encoding in ISO8859-2 CP1250 CP852
6 7 8
do iconv -f UTF-8 -t $encoding < $file > $file.$encoding done