Help for this page

Select Code to Download


  1. or download this
    open my $fh, "<:raw:encoding(utf-16):crlf:utf8", $file
       or die "$file: $!";
    
  2. or download this
    open my $fh, "<:raw:encoding(ucs-2le):crlf:utf8", $file
       or die "$file: $!";
    read($fh, my $bom='', 1);
    
  3. or download this
    use Encode qw( _utf8_on );
    
    ...
    
        print $row->[4];
    }