in reply to Re^3: How to check the encoding format of an XMLin thread How to check the encoding format of an XML
perl -Mopen=:std,IN,:raw:perlio:encoding(UTF-16le),OUT,:raw:perlio:enc +oding(UTF-8) -pe 1 < file.xml > file.utf8.xml [download]