Subject: | erroneous skip of t/14_charsets.t: missing "use utf8;" |
Hi,
During "make test" run, t/14_charsets.t is always skipped here,
regardless of the active locale.
t/14_charsets....................ok
11/11 skipped: Unicode-incompatible locale in use
I think this is because perl doesn't know that the source is encoded in
utf-8 (despite the BOM). Adding explicit "use utf8;" somewhere in the
beginning makes the test to run (and pass).
perl 5.8.8 (from Debian/unstable)
Trivial patch attached. If you prefer me fiddling with CVS, my SF
username is "dbi".
Thanks,
dam
Debian Perl Group
Subject: | t-14_charsets.t-is-utf8.patch |
Index: t/14_charsets.t
# Explicitly state source is utf8, as a-umlaut is then matched with \w
# as a test for utf-8 compatibility
===================================================================
--- a/t/14_charsets.t (revision 9390)
+++ b/t/14_charsets.t (working copy)
@@ -18,6 +18,7 @@
use PPI;
use Params::Util '_INSTANCE';
use Test::More tests => 11;
+use utf8;
sub good_ok {
my $source = shift;