in reply to error parsing utf8 chars using XML DOM parser

Try telling standard out you have utf8 -

binmode(STDOUT, ":utf8");

worked on my kit I did

use XML::DOM; binmode(STDOUT, ":utf8"); my $XmlParserObj = XML::DOM::Parser->new(); my $doc = $XmlParserObj->parsefile("in.xml"); my $str = $doc->toString(); print $str;

and the output included the characters.

"No matter where you go, there you are." BB