Re: Wide character support for Test::More

2008-02-24 Thread Michael G Schwern
Aristotle Pagaltzis wrote: use 5.008; use strict; use warnings; use open ':std', ':locale'; use Test::More tests => 1; my $uni = "\x{11e}"; ok( $uni eq $uni, "Testing $uni" ); __END__ 1..1 Wide character in print at lib/Test/Builder.pm line 1252. ^^ after the above patch, gone The

Re: Wide character support for Test::More

2008-02-24 Thread Aristotle Pagaltzis
* Nicholas Clark <[EMAIL PROTECTED]> [2008-02-24 11:55]: > However, it might be safe enough to invoke the testing Perl > with -CLS (set STDIN/STDOUT/STDERR to UTF-8 if the user's > locale has UTF-8 in it) which is probably going to be more > right more often than anything else. Not sure if -CLS onl

Re: Wide character support for Test::More

2008-02-24 Thread Nicholas Clark
On Sat, Feb 23, 2008 at 08:35:15PM -0800, Michael G Schwern wrote: > I just merged together a number of tickets having to do with Test::More not > liking wide characters. > Wide character in print at lib/Test/Builder.pm line 1252. > ok 1 - Testing ?? > > > I know almost nothing about Unicode.

Re: Wide character support for Test::More

2008-02-24 Thread Aristotle Pagaltzis
* Michael G Schwern <[EMAIL PROTECTED]> [2008-02-24 05:40]: > I just merged together a number of tickets having to do with > Test::More not liking wide characters. Good. Now you can close them, since it’s not your bug. It’s the main program’s responsibility to set the encoding on its handles sensi