[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: International characters (OpenLDAP v2.0, PHP 4)
After utf8_encode/decode, I recommend reencode with base64.
I had the same problem and solved through this way.
Isamar
-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Stig Venaas
Sent: Tuesday, June 10, 2003 7:15 PM
To: Turbo Fredriksson
Cc: openldap-software@OpenLDAP.org
Subject: Re: International characters (OpenLDAP v2.0, PHP 4)
On Tue, Jun 10, 2003 at 11:56:03AM +0200, Turbo Fredriksson wrote:
> Well, I'm using PHP 4.1.2 and it's 'utf8_{encode,decode}()' function(s).
> I've tried the 'accept-charset="UTF-8,ISO-8859-1"' (previos mail from
> Michael Ströder) added to the form tag (with and without ISO-8859-1)
> but I still get 'Invalid syntax'...
For the record, I've been using PHP with the utf8_{encode,decode}
functions and misc LDAP operations towards OpenLDAP without any
problems. I have PHP application where I'm able to both search for
and store UTF-8 representations of Japanese, Cyrillic and misc latin
based characters. So in principle it should work.
Stig