]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - intl/tst-gettext.c
Prefer https to http for gnu.org and fsf.org URLs
[thirdparty/glibc.git] / intl / tst-gettext.c
index 09b0e796ee08fb5f9bede236b1ba27aa9424d2c8..c611de4ca942bb83772712ab10c6b2f8dd2a8510 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of the gettext functions.
-   Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2000-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 2000.
 
@@ -14,9 +14,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <https://www.gnu.org/licenses/>.  */
 
 #include <libintl.h>
 #include <locale.h>
@@ -87,8 +86,8 @@ main (int argc, char *argv[])
   setenv ("LC_MESSAGES", "non-existing-locale", 1);
   setenv ("LC_CTYPE", "non-existing-locale", 1);
   setenv ("LANG", "non-existing-locale", 1);
-  check_setlocale (LC_CTYPE, "de_DE.ISO-8859-1");
-  check_setlocale (LC_MESSAGES, "de_DE.ISO-8859-1");
+  check_setlocale (LC_CTYPE, "de_DE.UTF-8");
+  check_setlocale (LC_MESSAGES, "de_DE.UTF-8");
   unsetenv ("OUTPUT_CHARSET");
   /* This is the name of the existing domain with a catalog for the
      LC_MESSAGES category.  */