[EMAIL PROTECTED] wrote:
Hello,
I am having a problem getting a base64 encoded attribute from an ldap
server.
When I am doing an ldapsearch from a unix commandline I get the attribute
correctly:
QWxhZGRpbjpvcGVuIHNlc2FtZQ==
decoding ( decode_base64($encoded) ) it gives me the rigt content
Carlsson Bil Âerebro AB
When getting it from Ldap using Net::Ldap I get unencryted somthing like
this
Carlsson Bil ™erebro
I have read nearly everything a could find but didn't anything how to
extract the attribute correctly as a base64 as which it is saved in the
ldap directory.
Can anybody please give me a hint?
$ENV{LANG} = "C";
--
mike