Warning: This is the manual of the legacy Guile 2.2 series. You may want to read the manual of the current stable series instead.
Next: Character Case Mapping, Previous: i18n Introduction, Up: Internationalization [Contents][Index]
The following procedures provide support for text collation, i.e., locale-dependent string and character sorting.
Compare strings s1 and s2 in a locale-dependent way. If
locale is provided, it should be locale object (as returned by
make-locale
) and will be used to perform the comparison;
otherwise, the current system locale is used. For the -ci
variants, the comparison is made in a case-insensitive way.
Compare strings s1 and s2 in a case-insensitive, and
locale-dependent way. If locale is provided, it should be
a locale object (as returned by make-locale
) and will be used to
perform the comparison; otherwise, the current system locale is used.
Compare characters c1 and c2 according to either
locale (a locale object as returned by make-locale
) or
the current locale. For the -ci
variants, the comparison is
made in a case-insensitive way.
Return true if character c1 is equal to c2, in a case insensitive way according to locale or to the current locale.
Next: Character Case Mapping, Previous: i18n Introduction, Up: Internationalization [Contents][Index]