On Tue, May 08, 2012 at 01:02:24AM -0700, Stefan O'Rear wrote:
> On Tue, May 08, 2012 at 05:19:40AM +0200, Frederik Schwarzer wrote:
> > Hi,
> >
> > I had a little problem with rindex and wrote a small demo code that
> > shows what I found.
> $ install/bin/perl6 -e 'say "perł".rindex("e");' perl
> substring not found
> in method gist at src/gen/CORE.setting:8140
> in sub say at src/gen/CORE.setting:6244
> in block <anon> at -e:1
>
> $ install/bin/perl6 -v
> This is perl6 version 2012.03-27-g5793035 built on parrot 4.2.0 revision
> RELEASE_4_2_0
>
>
> rindex appears to not like utf-8 encoded strings very much.
Good catch! Now reported as Parrot issue #767 and RT #112818.
Pm