lib/locale.t: TODO some locales on Solaris
authorKarl Williamson <khw@cpan.org>
Sat, 28 Apr 2018 16:18:05 +0000 (10:18 -0600)
committerDavid Mitchell <davem@iabyn.com>
Tue, 1 May 2018 08:09:33 +0000 (09:09 +0100)
There is a bug in Solaris with locales which have a multi-byte decimal
radix character.  Make these TODO, like we do cygwin, which has had a
similar problem.

lib/locale.t

index 638e21c..17931c8 100644 (file)
@@ -78,6 +78,11 @@ my %known_bad_locales = (
                           darwin => qr/ ^ lt_LT.ISO8859 /ix,
                           os390 => qr/ ^ italian /ix,
                           netbsd => qr/\bISO8859-2\b/i,
+
+                          # This may be the same bug as the cygwin below; it's
+                          # generating malformed UTF-8 on the radix being
+                          # mulit-byte
+                          solaris => qr/ ^ ( ar_ | pa_ ) /x,
                         );
 
 # cygwin isn't returning proper radix length in this locale, but supposedly to