[LA.pm] Wide character warnings from Test::Builder

Geoffrey Young geoff at modperlcookbook.org
Mon May 24 19:21:19 CDT 2004


> ok(1, $korean);
> =====================

> Wide character in print at /usr/lib/perl5/5.8.0/Test/Builder.pm line 894.
> ok 1 - 디자

if you change that to

ok(1, $korean, 'my korean test');

you'll only get that warning on failures IIRC.  at least that's what I've
been doing lately.

> Has anyone else experienced this problem and know how to avoid it?

no warnings qw(utf8);

is supposed to suppress these kind of things, but I haven't gotten it to
work from afar using a similar setup.

HTH

--Geoff



More information about the Losangeles-pm mailing list