11 setlocale (LC_ALL
, "");
12 printf ("after setlocale (LC_ALL, \"\"): %s\n", setlocale(LC_NUMERIC
, NULL
));
14 strcpy (q
, "de_DE.UTF-8");
15 setlocale (LC_NUMERIC
, q
);
16 printf ("after setlocale (LC_NUMERIC, \"%s\"): %s\n",
17 q
, setlocale(LC_NUMERIC
, NULL
));
19 strcpy (q
, "de_DE.ISO-8859-1");
20 s
= setlocale (LC_NUMERIC
, NULL
);
21 printf ("after overwriting string: %s\n", s
);
23 return strcmp (s
, "de_DE.UTF-8") != 0;
26 #define TEST_FUNCTION do_test ()
27 #include "../test-skeleton.c"