$ file -i file.txt file1: text/plain; charset=utf-16le $ iconv -f utf-16le -t UTF-8 file.txt > file.utf8.txt