Help for this page

Select Code to Download


  1. or download this
      open(INFD,  '<:utf8',  $inFile)  or die "Cannot open  $inFile: $!";
    
  2. or download this
      ERROR:  invalid byte sequence for encoding "UTF8": 0xe0b8
      HINT:  This error can also happen if the byte sequence does not matc
    +h the encoding expected by the server, which is controlled by "client
    +_encoding".
    
  3. or download this
      open(INFD,  '<:utf8',  $inFile)  or die "Cannot open $inFile: $!";
      open(INFD,  '<:shiftjis',  $inFile)  or die "Cannot open $inFile: $!
    +";