i18n: Set LC_COLLATE locale category based on system locale.
[pspp] / src / libpspp / i18n.c
index 5ec39605f6bb0a2748bfb64596e8c4bf6da7903b..0819299d37abaae54e4f666f046e798818c53a7a 100644 (file)
@@ -546,6 +546,7 @@ void
 i18n_init (void)
 {
   setlocale (LC_CTYPE, "");
+  setlocale (LC_COLLATE, "");
   setlocale (LC_MESSAGES, "");
 #if HAVE_LC_PAPER
   setlocale (LC_PAPER, "");