my $doc = $parser->parsefile("$srcdir/$_"); my $output = $parser->toString; open(my $out, ">:utf8", "$dstdir/$_") or die "..."; print $out $output; close($out);
In reply to Re: XML::DOM encodes in latin1 instead of UTF-8
by pc88mxer
in thread XML::DOM encodes in latin1 instead of UTF-8
by papo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |