I would try to set the output file to UTF-8 mode, at least that's how I did it with XML::LibXML:
my $outfile = "config.xml"; open my $xml, ">:utf8", $outfile or die "Couldn't create '$outfile': $!"; # Alternatively: # binmode $xml, 'utf8'; print {$xml} $xp->find('/conf')->get_node(1)->toString; close $xml;
In reply to Re: UTF8 issue with XML::XPath
by Corion
in thread UTF8 issue with XML::XPath
by jodaka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |