in reply to How to read the unicode file

The problem is that "Unicode format" is not a character encoding, and is a very non-precise term.

Chances are that the file is either encoded in UCS2 or in UTF-16LE. So to open the file, do something along these lines:

open my $handle, '<:encoding(UTF-16LE)', $filename or die "Can't open file '$filename' for reading: $!";

For more information on unicode handling please read Perl and character encodings, perluniintro and the documentation for the Encode module.