#include <locale.h>
#include <wchar.h>
#include <stdio.h>
+#include <stdlib.h>
/* MB_CUR_MAX multibyte ones (6 UTF+0080, in this case) */
static const char string[] = "\
int
main (void)
{
- if (setlocale (LC_ALL, "de_DE.utf8") == NULL)
+ if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL)
{
puts ("cannot set locale");
exit (1);