Help for this page

Select Code to Download


  1. or download this
    use utf8;
    
  2. or download this
     #this decode utf8 routine is used so filenames with extended
       # ascii characters (unicode) in filenames, will work properly
    ...
       #$_ = decode( 'utf8', $_ ) for ( @files );
       @files = map { decode( 'utf8', "$path/".$_  ) } sort @files;
    
  3. or download this
    use Encode;
    my $file = decode('utf8', $file)