[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Filter character encoding independent

--On Sunday, July 08, 2012 7:22 PM +0200 Philip Brusten <philip.brusten@icts.kuleuven.be> wrote:


On 27/06/2012 16:17, Philip Brusten wrote:

Our OpenLDAP information is stored in UTF-8 character encoding, like any
other default installation I guess.
Some of the records have special characters in their name, like Ã, Ã,
Ã, Ã, etc.

We want to make a webapplication that can do lookups on these names,
without forcing the user to enter the correct characters.
E.g. if they search for "Francois", it should match all givenNames
"FranÃois" in LDAP.
However if people do search for "FranÃois" if should also match all
givenNames "FranÃois".

I've looked for certain matching rules that could do this, but I haven't
found what I'm looking for so far.

Can anybody help me out?

Approx indexing perhaps, which uses soundex?

Alternatively, you could try adding multiple values pairs, like

givenName: Francois
givenName;fr: FranÃois




Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
Zimbra ::  the leader in open source messaging and collaboration