Re: Problem with german umlauts in LDAP based directory search

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011.04.06 14:24 Ralf Hildebrandt raÅÄ:
> Searching for a "common name" without umlaut works like a charm, but
> whenever I'm using a Umlaut (e.g. searching for the notorious
> "MÃller"), I'm not getting any results.
>
> At the same time, the LDAP server is logging:
> Apr  6 13:12:40 ernie slapd[3649]: conn=2775 op=1 SRCH base="" scope=2
> deref=0 filter="(&(objectClass=person)(?cn=*m\FCller*))"
>
> My squirrelmail is set to UTF8, german.
>
> Switching to ENGLISH as language suddenly yields:
>
> Apr  6 13:21:42 ernie slapd[3649]: conn=3155 op=1 SRCH base="" scope=2
> deref=0 filter="(&(objectClass=person)(cn=*m\C3\BCller*))"
>
> and alas, results are being returned!
>
> How can I keep my "German" language, yet perform the LDAP queries
> correctly?

Your setup is set to German, but not to utf-8. As configuration
documentation says $default_charset applies only to US English.

You should convert translation to iso-8859-15 or utf-8, if you want to
find euro in your ldap directory.

You might be able to find MÃller, if ldap address book class is updated to
do conversion from iso-8859-1 to utf-8. It is possible that
$default_charset global value is not defined correctly or your
SquirrelMail version is outdated. SquirrelMail should override configured
$default_charset value with charset from translation, but it looks like it
is not done in your case.

Can you really find notorious MÃller in your LDAP? CIA and Mossad have
been looking for Heinrich for decades. :)

-- 
Tomas


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux