Help for this page

Select Code to Download


  1. or download this
    use open ':std', ':locale';
    
  2. or download this
    my $enc = ...[ get encoding from locale ]...;
    binmode STDIN,  ":encoding($enc)";
    binmode STDOUT, ":encoding($enc)";
    binmode STDERR, ":encoding($enc)";