Ignore:
Timestamp:
1999-01-05T15:07:19+13:00 (25 years ago)
Author:
rjmcnab
Message:

Added the Unicode support for European languages back in.

File:
1 edited

Legend:

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

    r85 r97  
    488488    my ($section, $field, $value) = @_;
    489489
    490 # hack till the rest of the software has changed to Unicode.
    491     $self->set_utf8_metadata_element ($section, $field, $value);
    492 #    $self->set_utf8_metadata_element ($section, $field,
    493 #                     &unicode::ascii2utf8($value));
     490    $self->set_utf8_metadata_element ($section, $field,
     491                      &unicode::ascii2utf8($value));
    494492}
    495493
     
    531529    my ($section, $field, $value) = @_;
    532530
    533     # hack until the rest of the software has changed to Unicode.
    534     $self->add_utf8_metadata ($section, $field, $value);
    535 #    $self->add_utf8_metadata ($section, $field,
    536 #                 &unicode::ascii2utf8($value));
     531    $self->add_utf8_metadata ($section, $field,
     532                  &unicode::ascii2utf8($value));
    537533}
    538534
     
    675671    # convert the text to UTF-8 encoded unicode characters
    676672    # and add the text
    677 
    678     # hack until the rest of the software has changed to unicode
    679673    $self->add_utf8_text($section, &unicode::ascii2utf8($text));
    680 #    $self->add_utf8_text($section, &unicode::ascii2utf8($text));
    681674}
    682675
Note: See TracChangeset for help on using the changeset viewer.