Help for this page

Select Code to Download


  1. or download this
    open(my $data, '<:encoding(UCS-2le)', $file)
    
  2. or download this
    open(my $data, '<:raw:encoding(UCS-2le):crlf:utf8', $file)
    
  3. or download this
    read($data, my $bom='', 1);  # Discard BOM.