develooper Front page | perl.perl5.changes | Postings from February 2019

[perl.git] branch smoke-me/khw-alpine updated.v5.29.7-38-gc7983ed788

From:
Karl Williamson
Date:
February 4, 2019 19:38
Subject:
[perl.git] branch smoke-me/khw-alpine updated.v5.29.7-38-gc7983ed788
Message ID:
E1gqk4Y-00037T-1C@git.dc.perl.space
In perl.git, the branch smoke-me/khw-alpine has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/c7983ed788a07d98c66d9f313d49e415a8f2b6a8?hp=5a186a7358e65eed16f8651c6f9c05a133f362f4>

- Log -----------------------------------------------------------------
commit c7983ed788a07d98c66d9f313d49e415a8f2b6a8
Author: Karl Williamson <khw@cpan.org>
Date:   Mon Feb 4 12:36:40 2019 -0700

    t/loc_tools.pl: Try locale C.UTF-8
    
    This is now a common locale, available on musl for example, when other
    UTF-8 locales are not available.  So when looking for available locales
    on the platform, always try it.

-----------------------------------------------------------------------

Summary of changes:
 t/loc_tools.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/t/loc_tools.pl b/t/loc_tools.pl
index 7afb7bacf6..8e278056a5 100644
--- a/t/loc_tools.pl
+++ b/t/loc_tools.pl
@@ -337,6 +337,7 @@ sub find_locales ($;$) {
     my @Locale;
     _trylocale("C", $categories, \@Locale, $allow_incompatible);
     _trylocale("POSIX", $categories, \@Locale, $allow_incompatible);
+    _trylocale("C.UTF-8", $categories, \@Locale, $allow_incompatible);
     foreach (1..16) {
         _trylocale("ISO8859-$_", $categories, \@Locale, $allow_incompatible);
         _trylocale("iso8859$_", $categories, \@Locale, $allow_incompatible);

-- 
Perl5 Master Repository



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About