Ignore:
Timestamp:
2008-07-29T13:29:21+12:00 (16 years ago)
Author:
ak19
Message:

Shared subroutine tmp_area_convert_file now ensures that the tailname of the file is utf8 by calling superclass BasePlugin's filepath_to_utf8 on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/ConvertToRogPlugin.pm

    r16392 r16580  
    104104    # Remove any white space from filename -- no risk of name collision, and
    105105    # makes later conversion by utils simpler. Leave spaces in path...
    106     $tailname =~ s/\s+//g;
     106    $tailname =~ s/\s+//g;
     107    $tailname = $self->SUPER::filepath_to_utf8($tailname) unless &unicode::check_is_utf8($tailname);
    107108
    108109    my $tmp_filename = &util::filename_cat($tmp_dirname, "$tailname$suffix");
Note: See TracChangeset for help on using the changeset viewer.