Re: utf8 bug ?
- From: Quentin <squentin free fr>
- To: Christian Borup <borup borup com>
- Cc: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: utf8 bug ?
- Date: Fri, 03 Sep 2004 18:15:12 +0200
On Fri, 2004-09-03 at 15:23, Christian Borup wrote:
This is a bug in perl - which may have been fixed in the latest releases
(5.8.5 had a bunch of regexp vs utf8 fixes).
Can you test with perl 5.8.5 and report back? If the problem persists I
will pester one of the perl5-porters to fix it.
I don't have access to a perl 5.8.5, and never compiled perl, but you
can test this :
use Gtk2 '-init';
my $string='string';
my $label=Gtk2::Label->new($string);
$_='a %1 b %1';
s/%1/replace($string)/eg;
warn $_;
sub replace
{ $_=shift;
return $_;
}
__END__
I get a 'panic: sv_pos_b2u: bad byte offset at utf8.pl line 5.' with
perl-5.8.3-5mdk
--
Quentin <squentin free fr>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]