Use de_DE.UTF-8 locale.

This commit is contained in:
Ulrich Drepper 2001-08-09 16:37:41 +00:00
parent a5271e2197
commit 6ca0d915c7
1 changed files with 3 additions and 3 deletions

View File

@ -18,10 +18,10 @@ main (void)
long int pos;
int result = 0;
puts ("This program runs on en_US.UTF-8 locale.");
if (setlocale (LC_ALL, "en_US.UTF-8") == NULL)
puts ("This program runs on de_DE.UTF-8 locale.");
if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL)
{
fprintf (stderr, "Err: Cannot run on the en_US.UTF-8 locale\n");
fprintf (stderr, "Err: Cannot run on the de_DE.UTF-8 locale\n");
exit (EXIT_FAILURE);
}