in reply to Re: convert a Unicode file to Ansi, using filehandle..
in thread convert a Unicode file to Ansi, using filehandle..

That could be a BOM (byte order mark) at the begining of your file. In these cases I've used File::BOM with success. Something along the lines of
use File::BOM qw( :all ); # ... open_bom(my $fh, $file, q{:utf8}) or die qq{cant open ->$file<- to read: $!\n};