On 22/8/03 2:50 pm, Erik Ableson <[EMAIL PROTECTED]> wrote:

> I'm trying to search in an ou that contains accented characters in the name.
> 
> OU=Groupes S�curit�,DC...
> 
> and it returns zero objects with the filter of (objectclass=group).  Since I
> was recently arguing with character sets on this box, I've tried a few
> encode:decode operations on the OU string, but that just causes the script to
> stall indefinitely.
> 
> Setup:
> 
> Windows XP
> ActiveState perl 5.8
> Net::LDAP

If you're using LDAP then you need to have a string containing UTF-8.

If you set $ldap->debug(12) before your search (and set $ldap->debug(0)
afterwards) then you can see what bytes are being sent. Can you confirm that
UTF-8 is being sent correctly?

Cheers,

Chris

Reply via email to