note 40245 added to ref.ldap

From: Date: Thu, 26 Feb 2004 13:23:35 +0000
Subject: note 40245 added to ref.ldap
Groups: php.notes 
Request: Send a blank email to php-notes+get-65795@lists.php.net to get a copy of this message
When working with LDAP, its worth remembering that the majority of LDAP servers encode their strings as UTF-8. What this means for non ascii strings is that you will need to use the utf8_encode and utf8_decode functions when creating filters for the LDAP server. Of course, if you can its simpler to just avoid using non-ascii characters but for most sites the users like to see their strange native character sets including umlauts etc.. If you just get ? characters where you are expecting non-ascii, then you might just need to upgrade your PHP version. ---- Manual Page -- http://www.php.net/manual/en/ref.ldap.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40245 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40245&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40245&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#65795) next »