ID: 13795 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: LDAP related Operating System: Windows NT 4.0 Server PHP Version: 4.0.6 New Comment:
Thanks for your quick answer... I included the line you sent me. Now there are special chars displayed but these are no german special chars. Is there another possibility? Previous Comments: ------------------------------------------------------------------------ [2001-10-23 04:18:21] [EMAIL PROTECTED] UTF8? :) utf8_decode() might be needed now. --Jani ------------------------------------------------------------------------ [2001-10-23 04:15:16] [EMAIL PROTECTED] Thanks for your quick answer... I included the line you sent me. Now there are special chars displayed but these are no german special chars. Is there another possibility? ------------------------------------------------------------------------ [2001-10-23 04:05:00] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [2001-10-23 03:41:50] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]