open my $fOut, '>:utf8', $outname or die "Can't create $outname: $!\n";