[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Loading in Base64 encoded data

Jens Vagelpohl wrote:
> > sn:: Sm9z6Q==
> anything that is not ASCII should be UTF-8 encoded before you send it to any
> 2.x-version OpenLDAP server. the problem you have is not the
> base64-encoding, it's non-ascii characters.

The problem is that Sm9z6Q== seems to be base64-encoded string of
"José" in ISO-8859-1 character set. UTF-8 is required like mentioned
by Jens. dn and cn are wrong wrong either.

dn:: Y249Sm9hcXVpbiBKb3PDqSwgb3U9dW4sIG89dW5kb3Qub3Jn
sn:: Sm9zw6k=

Ciao, Michael.