Skip to content

Commit

Permalink
see if handles unsupported locales
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Nov 29, 2023
1 parent c9e6b69 commit cc5fedc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions t/loc_tools.pl
Expand Up @@ -188,11 +188,11 @@ ($$$$)

local $SIG{__WARN__} = sub {
$badutf8 = 1 if grep { /Malformed UTF-8/ } @_;
$unsupported = 1 if grep { /Locale .* is unsupported/i } @_;
$plays_well = 0 if grep {
/The following characters .* may not have the same meaning as the Perl program expects(?#
)|The Perl program will use the expected meanings/i
} @_;
#$unsupported = 1 if grep { /Locale .* is unsupported/i } @_;
#$plays_well = 0 if grep {
# /The following characters .* may not have the same meaning as the Perl program expects(?#
# )|The Perl program will use the expected meanings/i
# } @_;
};

my $result;
Expand Down

0 comments on commit cc5fedc

Please sign in to comment.