diff --git a/localedata/tst-sscanf.c b/localedata/tst-sscanf.c index 89a77a14f8..32c13285a9 100644 --- a/localedata/tst-sscanf.c +++ b/localedata/tst-sscanf.c @@ -36,7 +36,7 @@ check_sscanf (const char *s, const char *format, const float n) static int do_test (void) { - if (setlocale (LC_ALL, "fa_IR") == NULL) + if (setlocale (LC_ALL, "fa_IR.UTF-8") == NULL) { puts ("cannot set fa_IR locale"); return 1;