Ignore:
Timestamp:
2008-09-15T12:35:05+12:00 (16 years ago)
Author:
kjdon
Message:

in add_section_content, we are regenrating doc objs from gdbm database. all metadata was in utf8 originally, so we need to use add_utf8_metadata instead of add_metadata otherwise it gets converted again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/classify.pm

    r16959 r17288  
    204204    # but do want things like hastxt and archivedir
    205205    my @items = split /@/, $doc_db_hash->{$key};
    206     map {$doc_obj->add_metadata ($cursection, $key, $_); } @items;
     206    # metadata is all from gdbm so should already be in utf8
     207    map {$doc_obj->add_utf8_metadata ($cursection, $key, $_); } @items;
    207208
    208209    }
Note: See TracChangeset for help on using the changeset viewer.