Ignore:
Timestamp:
2010-08-31T14:21:37+12:00 (14 years ago)
Author:
davidb
Message:

Need to call 'set_output_handle()' in additional places, to insure the more explict marking of the output stream to be ':utf8' is enforced

File:
1 edited

Legend:

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

    r22352 r22820  
    213213    }
    214214
     215    $self->{'buildproc'}->set_output_handle ($handle);
    215216    $self->{'buildproc'}->reset();
     217
    216218    # compress the text
    217219    print $outhandle "\n    compressing the text\n"  if ($self->{'verbosity'} >= 1);
     
    457459    print $outhandle "\n    inverting the text\n"  if ($self->{'verbosity'} >= 1);
    458460    print STDERR "<Phase name='InvertingText'/>\n" if $self->{'gli'};
     461
     462    $self->{'buildproc'}->set_output_handle ($handle);
    459463    $self->{'buildproc'}->reset();
     464
    460465    &plugin::read ($self->{'pluginfo'}, $self->{'source_dir'},
    461466           "", {}, {}, $self->{'buildproc'}, $self->{'maxdocs'},0, $self->{'gli'});
Note: See TracChangeset for help on using the changeset viewer.