Bug #13795 Updated: no special german characters returned by LDAP
| From: | sniper@php.net | Date: | Tue, 23 Oct 2001 08:05:00 +0000 |
| Subject: | Bug #13795 Updated: no special german characters returned by LDAP | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68759@lists.php.net to get a copy of this message | ||
ID: 13795
Updated by: sniper
Reported By: christian.storck@ron.de
Old Status: Open
Status: Feedback
Bug Type: LDAP related
Operating System: Windows NT 4.0 Server
PHP Version: 4.0.6
New Comment:
There is nothing wrong with PHP's ldap. You're just doing
something wrong. :)
Now, first thing is to check if the ldap server is using
ldap v3. And you have to make sure that you query in ldap v3
mode. With this line you should be able to enable v3:
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-10-23 03:41:50] christian.storck@ron.de
What I wanted to do:
I wrote a script that connects to a Microsoft Exchange Server using the LDAP support of PHP. To do
so I used the Example provided with the PHP manual (chapter XLIII). The values the Exchange Server
returns are put into tables and are displayed by a browser.
What I expected the script to do:
I expected the script to return the values as set in Exchange but the values returned do not contain
special german characters. They are being replaced. I searched for an solution everywhere but there
seems to be none. I also found some people who have the same problems with PHP´s LDAP support. This
seems to be a general problem with the german character set.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13795&edit=1