I'm trying to access users on an Active Directory server via LDAP that
are not 7-bit ascii.  For example, I created a user with a C-Cedila (0xC7
in 8859-1).
I printed the actual bytes out in netscape.ldap.ber.stream.BEROctetString.
 The Active Directory appears to be returning on a search
bytes which are in 8859-1, i.e. it includes the hex value 0xC7.
But BEROctetString carefully converts the bytes it receives as if they are
UTF-8.
So it converts the character 0xC7 into a question mark, since it isn't a
valid
utf-8 value.
Is there some flag on Active Directory to tell it to talk UTF-8?
Does the netscape code have any flag anywhere to tell Active Directory
to talk correctly?

Thanks,
Alex White,
[EMAIL PROTECTED]



Reply via email to