in reply to Re^2: Wide character at C:\perl-lib-ctp/Fmsc.pm line 27, <INFILE> line 1.
in thread Wide character at C:\perl-lib-ctp/Fmsc.pm line 27, <INFILE> line 1.

Thanks, I've incorporated that. When I write the utf-8 as a file, do I also need to wrap it with that check?
###################################################################### +################## sub write_file_utf8 { my $outfilename= shift; # appears in browser tabs my $outstr = shift; # file as a string ################################################################## +############## open OUTFILE, ">:utf8" , $outfilename or die "cannot open >:utf8 $outfilename: $!"; #binmode STDOUT, ":utf8"; print OUTFILE $outstr, "\n"; close(OUTFILE); } #sub
  • Comment on Re^3: Wide character at C:\perl-lib-ctp/Fmsc.pm line 27, <INFILE> line 1.
  • Download Code