Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Case matching with ISO-8859-9

From: Bill Moseley <moseley(at)>
Date: Wed May 13 2009 - 02:38:24 GMT
On Tue, May 12, 2009 at 07:05:01PM +0300, Fatih Aytaç wrote:
> I am indexing iso-8859-9 encoded html files. Swish-e can make searches with
> iso-8859-9 special chars. But cannot match the lowercase letters with the
> uppercase ones.
> The search of "ALL","all","All" words gives me the same results. But search
> of "ALİ","ali" words gives different result. The lowercase of "İ" is "i" in
> Turkish. How can I able to make correct lowercase/uppercase match of Turkish
> characters so that swish-e gives the same results for the words "ALİ" and
> "ali".

Swish uses tolower(), IIRC, which should respect locale settings.
Have you tried setting your locale?  I suspect you would want to do
that when indexing.

Bill Moseley.
Sent from my iMutt
Users mailing list
Received on Tue May 12 22:38:19 2009