Convert encodings with iconv
iconv -f UTF-16BE -t UTF-8 input.txt > output.txt iconv -f CP1252 -t UTF-8 input.txt > output.txt