The sounds like the old utf8 encoding issue. You could try changing your LANG environment variable not to mention utf8, or upgrade to a later release of perl. Either I think will fix the problem
Graham. On Mon, February 14, 2005 1:37 pm, Mike Jackson said: > Hi, > I am encountering a really strange problem and I am wondering if > somebody can help me to figure > out why, possibly to save me a lot of time debugging this. > > I have a script which retrieves a user's cert like this: > > e->get_value('userCertificate;binary') > > > When I execute it on my gentoo machine, it produces output which can be > decoded. The redirected > file is 1029 bytes. > > Perl: 5.8.4 > Net::LDAP: 0.31 > > > When I execute it on an RHAS 3 machine, it produces output which can not > be decoded. The > redirected file is 1293 bytes. > > Perl: 5.8.0 > Net::LDAP: 0.32 > > > Both queries are executed against the same LDAP server, and against the > same entry. > > Ideas? > > -- > mike > >