[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: How to use special characters with PHP script?



Thanxs guys!!! Once again you saved my butt ;)

Jon

-----Mensaje original-----
De: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]En nombre de Jan-Piet Mens
Enviado el: viernes, 14 de junio de 2002 12:51
Para: Jon Zubiarrain
CC: openldap-software@OpenLDAP.org
Asunto: Re: How to use special characters with PHP script?


LDAP expects your characters as UTF-8 encoded. PHP can do that with
utf8_encode.
http://www.php.net/manual/en/function.utf8-encode.php

	-JP


On Fri, 14 Jun 2002, Jon Zubiarrain wrote:

> I'm trying to use a simple PHP script to add LDAP entries and what was my
> surprise when I realized I couldn't use special characters (I tried to use
a
> Spanish accent for a name). When I use these characters I get an error
> message saying that the opration couldn't be completed.