i18n: Always use locale-dependent string collation.
authorLudovic Courtès <ludo@gnu.org>
Fri, 18 Sep 2009 10:32:09 +0000 (12:32 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 18 Sep 2009 10:55:49 +0000 (12:55 +0200)
commitcdf52ff02071055387eaa37e92a3a603abcf0f61
treee7d4d167cfc75862353fd6f3dde22159aedf6d80
parentdf047aa2b11ccffaa93a523de517fe0c14cecd4c
i18n: Always use locale-dependent string collation.

* libguile/i18n.c (compare_u32_strings, compare_u32_strings_ci): Always
  use locale-dependent string collation.

* test-suite/tests/i18n.test: Recoded in UTF-8.
  (%french-utf8-locale-name): New.
  (under-locale-or-unresolved): New.  Don't catch errors on GNU systems.
  (under-french-locale-or-unresolved): Use it.
  (under-french-utf8-locale-or-unresolved): New.
  ("text collation (French)")["string-locale-ci=? (2 args, wide
  strings)", "string-locale-ci=? (3 args, wide strings)",
  "string-locale-ci<>? (wide strings)", "string-locale-ci<>? (wide and
  narrow strings)", "char-locale-ci<>? (wide)"]: New tests.
libguile/i18n.c
test-suite/tests/i18n.test