Ignore:
Timestamp:
2005-03-18T11:57:51+13:00 (19 years ago)
Author:
mdewsnip
Message:

Added "use bytes" in all XML::Parser Char functions. This is to prevent nasty encoding problems when using XML::Parser versions 2.31+. See BasPlug's revision 1.58 log message for more information on this problem.

With much help from John McPherson.

File:
1 edited

Legend:

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

    r9168 r9462  
    411411# things down significantly in some cases.
    412412sub Char {
    413   $_[0]->{'Text'} .= $_[1];
    414   return undef;
     413    use bytes;  # Necessary to prevent encoding issues with XML::Parser 2.31+
     414    $_[0]->{'Text'} .= $_[1];
     415    return undef;
    415416}
    416417
Note: See TracChangeset for help on using the changeset viewer.