Perl is meant to have reasonable Unicode support. So why do I still have to write this at the top of a test?
use utf8; use Test::More 'no_plan'; { my $Test = Test::Builder->new; binmode( $Test->output, ":utf8" ); binmode( $Test->failure_output, ":utf8" ); binmode( $Test->todo_output, ":utf8" ); }
I would have thought that adding the -CS flag to the #! line would have fixed this. But that doesn’t do it. Ah well, I’ve filed a wishlist bug: RT#21091.