Changeset 13269


Ignore:
Timestamp:
2006-11-15T12:09:57+13:00 (17 years ago)
Author:
shaoqun
Message:

use a variable to indicate the target string is in utf8 ecoding

Location:
trunk/gsdl/perllib/plugins
Files:
6 edited

Legend:

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

    r13243 r13269  
    399399
    400400     
    401     #create an empty text string so we don't break downstream plugins
    402     &gsprintf::output_strings_in_UTF8;
    403     my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
    404      
     401    #create an empty text string so we don't break downstream plugins
     402    my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}",1);
     403   
    405404    # include any metadata passed in from previous plugins
    406405    # note that this metadata is associated with the top level section
  • trunk/gsdl/perllib/plugins/MP3Plug.pm

    r13243 r13269  
    340340
    341341    #create an empty text string so we don't break downstream plugins
    342     &gsprintf::output_strings_in_UTF8;
    343     my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
     342    my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}",1);
    344343    if ($self->{'assoc_images'}) {
    345344    $text .= "[img1]<br>";
  • trunk/gsdl/perllib/plugins/NULPlug.pm

    r13243 r13269  
    122122   
    123123    #create an empty text string so we don't break downstream plugins
    124     &gsprintf::output_strings_in_UTF8;
    125     my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
     124    my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}",1);
    126125   
    127126    # include any metadata passed in from previous plugins
  • trunk/gsdl/perllib/plugins/OggVorbisPlug.pm

    r13243 r13269  
    156156
    157157    # Create an empty text string so we don't break downstream plugins
    158      &gsprintf::output_strings_in_UTF8;
    159     my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
     158     my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}",1);
    160159
    161160    # include any metadata passed in from previous plugins
  • trunk/gsdl/perllib/plugins/PagedImgPlug.pm

    r13243 r13269  
    744744        # otherwise add in some dummy text
    745745        #create an empty text string so we don't break downstream plugins
    746         &gsprintf::output_strings_in_UTF8;
    747         my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
     746        my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}",1);
    748747        $doc_obj->add_utf8_text($self->{'current_section'}, $text);
    749748    }
  • trunk/gsdl/perllib/plugins/UnknownPlug.pm

    r13243 r13269  
    214214
    215215    #create an empty text string so we don't break downstream plugins
    216     &gsprintf::output_strings_in_UTF8;
    217     my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}");
     216    my $text = &gsprintf::lookup_string("{BasPlug.dummy_text}",1);
    218217
    219218    # include any metadata passed in from previous plugins
Note: See TracChangeset for help on using the changeset viewer.