Message-ID: <
40A4F4CD.2000003@uk.radan.com>
p4raw-id: //depot/perl@22827
sub test {
my ($enc, $tag, $bom) = @_;
- open(UTF_PL, ">:encoding($enc)", "utf.pl")
+ open(UTF_PL, ">:raw:encoding($enc)", "utf.pl")
or die "utf.pl($enc,$tag,$bom): $!";
print UTF_PL $BOM if $bom;
print UTF_PL "$tag\n";