Re: g_utf8_collate case sensitivity
- From: Owen Taylor <otaylor redhat com>
- To: Dan Winship <danw ximian com>
- Cc: gtk-devel-list gnome org
- Subject: Re: g_utf8_collate case sensitivity
- Date: 05 Sep 2001 13:52:49 -0400
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]