Changeset 28804

Show
Ignore:
Timestamp:
30.01.2014 15:16:06 (6 years ago)
Author:
ak19
Message:

Omission of 'utf8' noticed when debugging a related Unicode character encoding problem (in MARCXMLPlugin). This change should keep the RSS file unicode happy

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm

    r28707 r28804  
    932932          my $rss_filename = &FileUtils::filenameConcatenate($output_dir,"rss-items.rdf"); 
    933933          my $rss_fh; 
    934           if (&FileUtils::openFileHandle($rss_filename, '>>', \$rss_fh)) 
     934          if (&FileUtils::openFileHandle($rss_filename, '>>', \$rss_fh, "utf8")) 
    935935          { 
    936936        print $rss_fh $rss_entry . "\n";