Hiya,
I have a simple perl script that reads in an XML file (in utf8) using XML::DOM::Parse r and spits it out again as follows:
my $inFile = $ARGV[0];
-f $inFile or die "$0:
the input file $inFile could not be opened.\n";
my $writeOutFile = '>' . $ARGV[1];
open(OUT, $writeOutFile) or die "$0: the output file $writeOutFile could not be created.\n";
binmode...