Help for this page

Select Code to Download


  1. or download this
    # With LF<->CRLF conversion
    open(my $fh, '<:raw:perlio:encoding(UTF-16le):crlf', $fn)
    
  2. or download this
    # Without LF<->CRLF conversion
    open(my $fh, '<:raw:perlio:encoding(UTF-16le)', $fn)