Re: g_utf8_collate case sensitivity



Dan Winship <danw ximian com> writes:

> g_utf8_collate sorts ASCIIbetically case-sensitively (eg, 'Z' < 'a').
> That's a bug, right? (The docs say "Compares two strings for ordering
> using the linguistically correct rules for the current locale". I think
> the rules for my locale say that "bar" sorts before "Foo".)

The rules for the C locale generally have strcmp() ordering, I think.

g_utf8_collate() is just implemented in terms of strcoll() currently.

Regards,
                                        Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]