Ignore:
Timestamp:
2006-11-13T15:49:38+13:00 (17 years ago)
Author:
shaoqun
Message:

fixed the encoding bug for BasPlug:dummy_text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/NULPlug.pm

    r12270 r13243  
    121121    $doc_obj->add_metadata ($doc_obj->get_top_section(), $assoc_field, $file);
    122122   
    123     #create an empty text string so we don't break downstream plugins
     123    #create an empty text string so we don't break downstream plugins
     124    &gsprintf::output_strings_in_UTF8;
    124125    my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
    125126   
     
    141142    # add an OID
    142143    $doc_obj->set_OID();
    143     $doc_obj->add_text($section, $text);
     144    $doc_obj->add_utf8_text($section, $text);
    144145   
    145146    # process the document
Note: See TracChangeset for help on using the changeset viewer.