<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>International searches (multiple results)</title> 
  <pubDate>Fri, 10 Apr 2026 04:38:54 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/2901</link> 
  <atom:link rel="self" type="application/rss+xml" title="International searches (multiple results)" href="https://bugs.horde.org/ticket/2901/rss" /> 
  <description>International searches (multiple results)</description> 
 
   
   
  <item> 
   <title>It would be great to add support for international searches </title> 
   <description>It would be great to add support for international searches in turba. That is, to search for &quot;Sanchez&quot; and return &quot;Sánchez&quot;, &quot;Sanchez&quot;, &quot;Sanchéz&quot;, etc.



In openldap (slapd) this can be achieved using the approximate operator (&quot;~=&quot;) instead of the usual &quot;=&quot;.



Attached is a one-line (very specific) hack to add this functionality with current Horde/Turba version, as a proof of concept. Is not a generic hack, you must change &quot;cn&quot; to the LDAP attribute you use as &quot;name&quot;.



Anyway, in case no one is already working on this, I may be available to do it. It will involve adding some options to sources.php, I think.



--

Pablo Hoffman</description> 
   <pubDate>Wed, 02 Nov 2005 15:01:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2901#t13342</link> 
  </item> 
   
  <item> 
   <title>This should already work if you specify the LDAP server&#039;s ch</title> 
   <description>This should already work if you specify the LDAP server&#039;s charset in the configuration and use search strings that are compatible to the used charset.</description> 
   <pubDate>Wed, 02 Nov 2005 22:59:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2901#t13354</link> 
  </item> 
   
  <item> 
   <title>&gt; This should already work if you specify the LDAP server&#039;s </title> 
   <description>&gt; This should already work if you specify the LDAP server&#039;s charset in 

&gt; the configuration and use search strings that are compatible to the 

&gt; used charset.





It&#039;s not the same. One thing is the charset you use. I&#039;m using utf-8 and have turba configured that way, and it&#039;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&#039;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 &quot;Sanchez&quot;. It&#039;s called the approximate operator and it&#039;s used like this: instead of searching for:



(cn=*sanchez*)  ---&gt; returns only Sanchez



you search for:



(cn~=sanchez)   ---&gt; returns Sanchez, Sánchez and Sanchéz



Note the ~= operator and the lack of &quot;*&quot; in the approximate search.





And that&#039;s it. The problem is that, since this is not a special match rule

(that would be the ideal solution but there&#039;s no standard for it yet) you must implement it in the client side and that&#039;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 &quot;operator&quot; you want to use for searches, and that should be done in the sources.php file, I think.



</description> 
   <pubDate>Thu, 03 Nov 2005 14:33:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2901#t13378</link> 
  </item> 
   
  <item> 
   <title>Implemented with these two commits:

http://lists.horde.org/</title> 
   <description>Implemented with these two commits:

http://lists.horde.org/archives/cvs/Week-of-Mon-20070716/069450.html

http://lists.horde.org/archives/cvs/Week-of-Mon-20070716/069453.html</description> 
   <pubDate>Thu, 19 Jul 2007 21:02:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2901#t35332</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
