iconv

File Read

iconv -f 8859_1 -t 8859_1 /path/to/input-file

File Write

echo DATA | iconv -f 8859_1 -t 8859_1 -o /path/to/output-file