Bug#644270: strcoll(): collation sequences of locales unspecified
reassign 644270 manpages-dev 3.32-0.2
retitle 644270 strcoll(3): please make locale(5) easier to find
severity 644270 wishlist
Hi,
Filipus Klutiero wrote:
> strcoll(3) explains that:
>
>> The strcoll() function compares the two strings s1 and s2. It returns an
>> integer less than, equal to, or greater than zero if s1 is found,
>> respectively, to be less than, to match, or be greater than s2. The
>> comparison is based on strings interpreted as appropriate for the
>> program's current locale for category LC_COLLATE. (See setlocale(3).)
>
> Unfortunately, it seems the way collation happens depending on the
> LC_COLLATE locale is unspecified. I couldn't find any description, even
> upstream.
The strcoll(3) manpage is from manpages-dev, not eglibc. Anyway, the
behavior is as described in POSIX[1]. Clarifying text welcome.
Hope that helps,
Jonathan
[1] http://www.unix.org/2008edition/
Reply to: