aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wcsmbs-tst1.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcsmbs-tst1.c')
-rw-r--r--wcsmbs/wcsmbs-tst1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/wcsmbs-tst1.c b/wcsmbs/wcsmbs-tst1.c
index 9cdef45..0d0e18f 100644
--- a/wcsmbs/wcsmbs-tst1.c
+++ b/wcsmbs/wcsmbs-tst1.c
@@ -18,7 +18,7 @@ main (void)
char str[] = "Hello";
int result = 0;
- pchar = setlocale (LC_ALL, "");
+ pchar = setlocale (LC_ALL, "de_DE.UTF-8");
printf ("locale : %s\n",pchar);
printf ("MB_CUR_MAX %Zd\n", MB_CUR_MAX);