about summary refs log tree commit diff
path: root/stdlib/tst-strtod4.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/tst-strtod4.c')
-rw-r--r--stdlib/tst-strtod4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/tst-strtod4.c b/stdlib/tst-strtod4.c
index 2d9d54c944..aae9835d82 100644
--- a/stdlib/tst-strtod4.c
+++ b/stdlib/tst-strtod4.c
@@ -3,7 +3,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#define NBSP "\xc2\xa0"
+#define NNBSP "\xe2\x80\xaf"
 
 static const struct
 {
@@ -12,8 +12,8 @@ static const struct
   double expected;
 } tests[] =
   {
-    { "000"NBSP"000"NBSP"000", "", 0.0 },
-    { "1"NBSP"000"NBSP"000,5x", "x", 1000000.5 }
+    { "000"NNBSP"000"NNBSP"000", "", 0.0 },
+    { "1"NNBSP"000"NNBSP"000,5x", "x", 1000000.5 }
   };
 #define NTESTS (sizeof (tests) / sizeof (tests[0]))