10 const char *loc = "de_DE.ISO-8859-1";
11 if (setlocale (LC_ALL, loc) == NULL)
13 printf ("cannot set %s locale\n", loc);
16 printf ("selected locale %s\n", loc);
20 wint_t wch = towupper (win);
23 printf ("towupper(%x) = %x, expected %x\n", win, wch, wex);
29 printf ("toupper(%x) = %x, expected %x\n", win, wch, wex);
38 printf ("towupper(%x) = %x, expected %x\n", win, wch, wex);
44 printf ("toupper(%x) = %x, expected %x\n", win, wch, wex);
48 loc = "tr_TR.ISO-8859-9";
49 if (setlocale (LC_ALL, loc) == NULL)
51 printf ("cannot set %s locale\n", loc);
54 printf ("selected locale %s\n", loc);
61 printf ("towupper(%x) = %x, expected %x\n", win, wch, wex);
68 printf ("toupper(%x) = %x, expected %x\n", win, wch, wex);
75 #define TEST_FUNCTION do_test ()
76 #include "../test-skeleton.c"