Changeset 25661 for main/trunk


Ignore:
Timestamp:
2012-05-23T17:39:27+12:00 (12 years ago)
Author:
ak19
Message:

Dr Bainbridge fixed the mode in which the buildconfig and collectionconfig output files were written so that it's now in utf-8 mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/bin/script/convert_coll_from_gs2.pl

    r25646 r25661  
    121121
    122122    my $buildoutput = new IO::File(">$buildoutfile");
     123    binmode($colloutput,":utf8");
    123124    my $buildwriter = new XML::Writer(OUTPUT => $buildoutput, NEWLINES => 1);
    124125   
     
    127128   
    128129    my $colloutput = new IO::File(">$colloutfile");
     130    binmode($colloutput,":utf8");
    129131    my $collwriter = new XML::Writer(OUTPUT => $colloutput, NEWLINES => 1);
    130132   
     
    200202    }
    201203    } else {
    202     print STDERR "$maptype not defined";
     204    print STDERR "$maptype not defined\n";
    203205    }
    204206    # we use the shortname for default index
Note: See TracChangeset for help on using the changeset viewer.