[Date Prev][Date Next]
Re: International characters (OpenLDAP v2.0, PHP 4)
>>>>> "Turbo" == Turbo Fredriksson <email@example.com> writes:
Turbo> As said, doing a base64 encode (and then a DEcode when
Turbo> searching) works most of the time. The 'dc=åäö' branch
Turbo> example in previous mail will be found if/when doing a
Turbo> base64 encode/decode both from the command line tool
Turbo> (ldapsearch) and from the PHP script. But this 'Örjan
Turbo> Östlund' will NOT be found from PHP, only from the shell...
Turbo> This MUST be a PHP error (since it works with the OpenLDAP
Turbo> 'ldapsearch' command) so I'll dig deeper.
If I do a search on the 'gecos' field instead of the 'cn', then
it works from PHP as well.
Any idea why? I was looking at the schemas and they 'look different'
(ie, the SYNTAX etc differs)...