On Wed, 2008-03-12 at 14:55 -0400, [EMAIL PROTECTED] wrote:
> Well I have spend some time with this today and here is what I found out.
>
> no errors with present code on 6 installations but you patch causes a
> semi- error (incomplete tests) on 4 systems. So me thinks there just
> might be some sort of oracle/Debi/DB bub or misconfiguration in you
> system.
Could very well be, I am getting a crash course on utf8. :-)
When I get more time, I will figure out why they fail on our DB's
and report back my findings.
Thanks.
>
> Most likely a harmless environment variable that is set or a patch or lack
> thereof on Oracle that might cause it.
>
> I will keep this patch for now in reserve if other people start
> complaining about this test
>
> cheers
> John Scoles
> > On Wed, 2008-03-05 at 17:39 -0600, Scott T. Hildreth wrote:
> >> On Thu, 2008-02-14 at 10:03 -0600, Scott T. Hildreth wrote:
> >> > not ok 9 - match char
> >> > # Failed test 'match char'
> >> > # at t/80ora_charset.t line 83.
> >> > # got: '?'
> >> > # expected: ' '
> >> > /\
> >> > ||
> >> > a char I can't print, looks like a degree symbol :-)
> >> >
> >> > not ok 10 - match char
> >> > # Failed test 'match char'
> >> > # at t/80ora_charset.t line 84.
> >> > # got: '?'
> >> >
> >>
> >> This patch fixes test 9 & 10,
> >>
> >> --- 80ora_charset.t.orig 2008-03-05 17:34:58.000000000 -0600
> >> +++ 80ora_charset.t 2008-03-05 17:34:47.000000000 -0600
> >> @@ -74,14 +74,14 @@
> >> if ($is_utf8) {
> >> ok(Encode::is_utf8($ch));
> >> ok(Encode::is_utf8($nch));
> >> +
> >> + is($ch, "\xb0", "match char");
> >> + is($nch, "\xb0", "match char");
> >> }
> >> else {
> >> ok(!Encode::is_utf8($ch));
> >> ok(!Encode::is_utf8($nch));
> >> }
> >> -
> >> - is($ch, "\xb0", "match char");
> >> - is($nch, "\xb0", "match char");
> >> }
> >>
> >>
> >>
> >> > ok 11
> >> > ok 12
> >> > not ok 13 - match char
> >> > # Failed test 'match char'
> >> > # at t/80ora_charset.t line 83.
> >> > # got: '?'
> >> >
> >> > not ok 14 - match char
> >> > # Failed test 'match char'
> >> > # at t/80ora_charset.t line 84.
> >> > # got: '?'
> >>
> >>
> >> These test assume that the database can use utf8, as far as I know the
> >> database has to be created with a certain character set, i.e. utf8 for
> >> it to handle utf8 data.
> >
> > Okay not true, I just asked a dba.
> >
> >>
> >> >
> >> > ...I install the module anyways, since only 4 tests fail and
> >> 80ora_charset is a
> >> > new test in 1.20. I would like to know why this fails.
> >> >
> >> >
> >> > Thanks,
> >> > STH
> >
>
>