develooper Front page | perl.perl5.porters | Postings from January 2001

Re: Not OK: perl v5.7.0 +DEVEL8429 substr() with UNICODE symbols

Thread Previous
From:
Jarkko Hietaniemi
Date:
January 18, 2001 07:55
Subject:
Re: Not OK: perl v5.7.0 +DEVEL8429 substr() with UNICODE symbols
Message ID:
20010118095532.M7070@chaos.wustl.edu
On Thu, Jan 18, 2001 at 04:48:47PM +0100, Roca, Ignasi wrote:
> Following test fails:
> 
> $x = "\x{263a}\x{263b}\x{263b}";
> print Dump($x);
> substr($x, 0, 1) = "\x{2652}";
> print Dump($x);
> ok 150, length($x) == 3 &&
>         $x eq "\x{2652}\x{263b}\x{263c}" &&
>         substr($x, 0, 1) eq "\x{2652}" &&
>         substr($x, 1, 1) eq "\x{263b}" &&
>         substr($x, 2, 1) eq "\x{263c}";

Please try 8453, in 8439 Inaba Hiroto fixed lval substr some more.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About