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/XMLPlug.pm

    r8716 r9462  
    149149# things down significantly in some cases.
    150150sub Char {
    151   $_[0]->{'Text'} .= $_[1];
    152   return undef;
     151    use bytes;  # Necessary to prevent encoding issues with XML::Parser 2.31+
     152    $_[0]->{'Text'} .= $_[1];
     153    return undef;
    153154}
    154155
Note: See TracChangeset for help on using the changeset viewer.