> we got a strange problem here, and it took quite a while to pin it
> down to the code snippet below.
This shorter test case:
use Test::More tests => 2;
utf8::upgrade($_ = "\xA9");
> We are using ActiveState PERL 5.8.4 build 810.
> We've checked on Linux with PERL 5.8.5 : result is the same
> Run the little script below and check the output. Here we always get
> + and then a -. Is this a bug in PERLs RE machine or are we doing
> something wrong??
This is a bug in perl that has been fixed¹ in the upcoming perl-5.8.8.
That means it will not be fixed for ActivePerl until build 816 is out.