The tests that use t/re/re_tests may use a locale. It doesn't much
matter which locale, except we want one that isn't going to generate
warnings.
print("1..0 # Skip Unicode tables not built yet\n"), exit
unless eval 'require "unicore/Heavy.pl"';
}
+
+ # Some of the tests need a locale; which one doesn't much matter, except
+ # that it be valid. Make sure of that
+ eval { require POSIX;
+ POSIX->import(qw(LC_ALL setlocale));
+ POSIX::setlocale(&LC_ALL, "C");
+ };
}
sub _comment {