about summary refs log tree commit diff
path: root/localedata
diff options
context:
space:
mode:
Diffstat (limited to 'localedata')
-rw-r--r--localedata/tst-sscanf.c2
1 files changed, 1 insertions, 1 deletions
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;