6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/26/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2901] International searches (multiple results)
*
Your Email Address
*
Spam protection
Enter the letters below:
__ \ /. ..__..__ / ` >< \ /| |[__) \__./ \ \/ |__\| \
Comment
>> This should already work if you specify the LDAP server's charset in > >> the configuration and use search strings that are compatible to the > >> used charset. > > > > > > It's not the same. One thing is the charset you use. I'm using utf-8 > and have turba configured that way, and it's working fine. But look > at the following scenario: > > > > I have an spanish directory with all the following entries: > > > > cn: Sánchez > > > > cn: Sanchez > > > > cn: Sanchéz > > > > > > When I look for (cn=Sanchez) I want all of them to be returned since > that is the way addressbook usually work (ie: ignore accents). But > it's not working that way. Cause when you seach (cn=Sanchez) it only > returns the Sanchez entry (not Sánchez nor Sanchéz). > > > > The openldap server (slapd) has an special operator that can match > all those three entries when you look for "Sanchez". It's called the > approximate operator and it's used like this: instead of searching > for: > > > > (cn=*sanchez*) ---> returns only Sanchez > > > > you search for: > > > > (cn~=sanchez) ---> returns Sanchez, Sánchez and Sanchéz > > > > Note the ~= operator and the lack of "*" in the approximate search. > > > > > > And that's it. The problem is that, since this is not a special match rule > > (that would be the ideal solution but there's no standard for it yet) > you must implement it in the client side and that's what I said it > would be great to have in turba. > > > > Look at my quick-dirty patch to see how I fixed the problem. > > > > Adding this functionality to turba will involve allowing to configure > in some way the "operator" you want to use for searches, and that > should be done in the sources.php file, I think. > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers