in reply to Decoding UTF-16 to ASCII
use XML::Simple; use Data::Dumper; my $xml_hashref = XMLin($file); print Dumper $xml_hashref; #Just to see how it is structured [download]
$xml_hashref->{tag1}->{nested_tag}{value} =~ s/\s//gs [download]