Subject: | make test / prove mangles unicode |
My environment contains PERL_UNICODE=SAL. Running the test with perl displays a EURO SIGN (€). Running the test with prove displays ⬠(a with circumflex, not sign). That's bad. :-(
$ cat try.t
#!perl
use strict;
use warnings;
print "1..1\n";
print "not ok 1 - A\x{20ac}B\n";
__END__
$ PERL_UNICODE=S perl try.t
1..1
not ok 1 - A€B
$ PERL_UNICODE=S prove -v try.t
try.t ..
1..1
not ok 1 - Aâ¬B
Failed 1/1 subtests
Test Summary Report
-------------------
try.t (Wstat: 0 Tests: 1 Failed: 1)
Failed test: 1
Files=1, Tests=1, 0 wallclock secs ( 0.02 usr + 0.01 sys = 0.03 CPU)
Result: FAIL