Ignore:
Timestamp:
2010-12-14T15:24:37+13:00 (13 years ago)
Author:
ak19
Message:

Further improvements by Dr Bainbridge to pretty-printing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/util.pm

    r23483 r23484  
    502502
    503503    if ($ENV{'GSDLOS'} =~ /^windows$/i) {
     504       
    504505    # symlink not supported on windows
    505506    &File::Copy::copy ($src, $dest);
     
    10731074sub prettyprint_file
    10741075{
    1075     my ($base_dir,$file) = @_;
     1076    my ($base_dir,$file,$gli) = @_;
    10761077
    10771078    my $filename_full_path = &util::filename_cat($base_dir,$file);
     
    10881089
    10891090    $file = filename_within_directory($long_full_path,$long_base_dir);
     1091    $file = encode("utf8",$file) if ($gli);
    10901092    }
    10911093
Note: See TracChangeset for help on using the changeset viewer.