Changeset 23348


Ignore:
Timestamp:
11/26/10 11:32:42 (11 years ago)
Author:
davidb
Message:

Added extra parameter to call to deduce_filename_encoding()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/ReadTextFile.pm

    r23335 r23348  
    141141    $doc_obj->add_utf8_metadata($top_section, "FileSize", (-s $filename_full_path));
    142142
    143     my $filename_encoding = $self->deduce_filename_encoding($file,$metadata);
     143    my $plugin_filename_encoding = $self->{'filename_encoding'};
     144    my $filename_encoding = $self->deduce_filename_encoding($file,$metadata,$plugin_filename_encoding);
    144145    $self->set_Source_metadata($doc_obj, $filename_no_path, $filename_encoding);
    145146
Note: See TracChangeset for help on using the changeset viewer.