This file has functions that look for and return the valid locales on
the current system. A new incompatibility was discovered and a warning
generated for in
8b7358b96caf71db3213a7d72fc401e42ee0b2d.
This file should have been updated at that time to look for that message
to mean it the locale is not compatible. This commit updates it.
local $SIG{__WARN__} = sub {
$badutf8 = 1 if grep { /Malformed UTF-8/ } @_;
- $plays_well = 0 if grep { /Locale .* may not work well/i } @_;
+ $plays_well = 0 if grep {
+ /Locale .* may not work well(?#
+ )|The Perl program will use the standard meanings/i
+ } @_;
};
# Incompatible locales aren't warned about unless using locales.