httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: Apache - MS LDAPSDK with multi-byte DN
Date Thu, 17 Jul 2008 16:00:12 GMT
Stusynski, Dan wrote:
> The corrupt DN is coming back with a hex value of 3F (question mark)
> when the sequence should be hex values e68891 (or 346\210\221) in
> decimal). 

That's correct.  Windows utf-8 code page 65001 or so is only a psuedo page
in all older and (afaik) newer flavors of windows).  So it's returning this
character in the local code page, can't represent it, and falls back on '?'.

Using the FnW equivilant, treating the args as utf-8 and passing the args as
unicode to ldap_search_ext_sW and resolving the return value back to utf-8
would resolve your issues.

View raw message