Help for this page
perl -pe' BEGIN { ... binmode STDOUT, ":raw:perlio:encoding(UTF-8)"; } ' < file.xml > file.utf8.xml