in reply to Bug in Perl 5.6.1 ?

I'm running the following:
This is perl, v5.6.1 built for MSWin32-x86-multi-thread Binary build 628 provided by ActiveState Tool Corp. http://www.ActiveS +tate.com Built 15:41:05 Jul 4 2001 Unicode-String [2.06 ] String of Unicode characters (UCS2/UTF16) XML-RSS [0.95 ] creates and updates RSS files XML-Parser [2.27 ] A Perl module for parsing XML documents
These are the results I got (a,b) from your program compared to your 5.6.0 results (1,2):
1: GröÃter Anstieg seit März 1998 - Größter Anstieg seit März 1998 2: GröÃter Anstieg seit März 1998 - Größter Anstieg seit März 1998 a: Größter Anstieg seit März 1998 - Größter Anstieg seit März 1998 b: Größter Anstieg seit März 1998 - Größter Anstieg seit März 1998
Note the one extra character in each. Adding  use locale; made no difference. I've looked closely for cut/paste errors but don't see any. Think the module versions have anything to do with it?

--Jim

Replies are listed 'Best First'.
Re: Re: Bug in Perl 5.6.1 ?
by gregorovius (Friar) on Dec 09, 2001 at 00:17 UTC
    Ah, your results look OK. The problem may happen only under 5.6.1 for Linux. Note that the string on the left of the dash is not supposed to appear right, as your terminal expects latin1 and that is UTF8. The one difference I see is that UTF8 chars are rendered as 3 characters in your system.

    This is what I'm running:

    This is perl, v5.6.1 built for i686-linux Copyright 1987-2001, Larry Wall XML::RSS v0.97 XML::Parser v2.30