tests/tr/Test.pm: Prefer en_US.ISO-8859-1 to en_US.iso88591.
authorJim Meyering <meyering@redhat.com>
Fri, 11 Jan 2008 09:06:36 +0000 (10:06 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 11 Jan 2008 09:07:01 +0000 (10:07 +0100)
Suggestions from James Youngman and Pádraig Brady in
http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12218/focus=12227

ChangeLog
NEWS
tests/tr/Test.pm

index 16d1bcb..4e17478 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-11  Jim Meyering  <meyering@redhat.com>
+
+       * tests/tr/Test.pm: Prefer en_US.ISO-8859-1 to en_US.iso88591.
+       Suggestions from James Youngman and Pádraig Brady in
+       http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12218/focus=12227
+
 2008-01-10  Jim Meyering  <meyering@redhat.com>
 
        * README-hacking: Add Git to the list of required tools.
diff --git a/NEWS b/NEWS
index ca3bbc8..12415da 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -10,7 +10,7 @@ GNU coreutils NEWS                                    -*- outline -*-
 
   tr's case conversion would fail in a locale with differing numbers
   of lower case and upper case characters.  E.g., this would fail:
-  env LC_CTYPE=en_US.iso88591 tr '[:upper:]' '[:lower:]'
+  env LC_CTYPE=en_US.ISO-8859-1 tr '[:upper:]' '[:lower:]'
   [bug introduced in coreutils-6.9.90]
 
 ** Improvements
index cf70213..e92204f 100644 (file)
@@ -142,7 +142,7 @@ my @tv = (
 
 # Up to coreutils-6.9.91, this would fail with the diagnostic:
 # tr: misaligned [:upper:] and/or [:lower:] construct
-# with LC_CTYPE=en_US.iso88591.
+# with LC_CTYPE=en_US.ISO-8859-1.
 ['tolower-F',q|'[:upper:]' '[:lower:]'|, 'A', 'a', 0],
 
 # When doing a case-converting translation with something after the
@@ -151,7 +151,7 @@ my @tv = (
 ['dncase-xtra',q|'[:upper:].' '[:lower:]x'|,   'ABC.', 'abcx', 0],
 );
 
-$Test::env{'tolower-F'} = ['LC_CTYPE=en_US.iso88591'];
+$Test::env{'tolower-F'} = ['LC_CTYPE=en_US.ISO-8859-1'];
 
 sub test_vector
 {