# utf8 -> latin1 encoding cat utf8.txt |perl -MEncode=from_to -pe 'from_to($_,"utf8","latin1");'