Ignore:
Timestamp:
2010-04-27T11:18:22+12:00 (14 years ago)
Author:
kjdon
Message:

ppthtml and xslhtml don't seem to output utf8, so remove the input_encoding option to html/txt secondary plugins so that it will use textcat to work it out itself.

File:
1 edited

Legend:

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

    r20790 r21958  
    7979    my $text_options = $secondary_plugin_options->{'TextPlugin'};
    8080
    81     push(@$html_options, "-input_encoding", "utf8");
     81    # xslhtml doesn't output utf8, let Greenstone work out the encoding
     82    #push(@$html_options, "-input_encoding", "utf8");
    8283    push(@$html_options,"-extract_language") if $self->{'extract_language'};
    8384    push(@$html_options, "-file_rename_method", "none");
    8485    push(@$html_options, "-processing_tmp_files");
    8586
    86     push(@$text_options, "-input_encoding", "utf8");
     87    #push(@$text_options, "-input_encoding", "utf8");
    8788    push(@$text_options,"-extract_language") if $self->{'extract_language'};
    8889    push(@$text_options, "-file_rename_method", "none");
Note: See TracChangeset for help on using the changeset viewer.