Skip to main content.
home | support | download

Back to List Archive

Re: Problems with sorting German Umlaut

From: Bill Moseley <moseley(at)>
Date: Wed Feb 02 2005 - 14:55:44 GMT
On Wed, Feb 02, 2005 at 06:46:08AM -0800, Uwe Dierolf wrote:
> We are using the default "case:ignore" for properties.
> We checked the implementation of strncasecmp (see below).
> This function does not take into consideration the value
> of LC_COLLATE (under SuSE Linux 9.x).

Oh, my mistake.  I used google too much.  I googled for 

    strncasecmp locale and got to:

which it is local dependent.  But my man page says nothing of that.

> Would it be possible for you or other swish-e developers to 
> change the swish-e source so that it will use strcoll?
> We need correctly sorted results. 

Can you send me a patch?  If there was a strncoll() then it would be a
drop-in replacemnet...

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:
Received on Wed Feb 2 06:55:44 2005