On Sat Jan 14 15:03:03 2012, doherty@cs.dal.ca wrote:
Show quoted text> Sometimes, a test will die. Test::More::UTF8 could use the open pragma
> to ensure there are no "Wide character in die" warnings. Simply load
> open qw(:std :encoding(UTF-8)) in the target package. You might also
> consider using utf8::all.
>
> Thanks,
> -Mike
I think there is a big set of options, that could be enabled.
You may look at my uni::perl, which is another way to turn all utf8.
(for ex utf8::all doesn't turn on feature unicode_strings)
I think I'll add the following:
use Test::More::UTF8 # leave current behaviour.
use Test::More::UTF8 -strict; # use encoding() + warnings FATAL
use Test::More::UTF8 -all; # -strict + all utf decoding (open, argv,
etc)
What do you think?