LittleGreyCat has asked for the wisdom of the Perl Monks concerning the following question:
just a quick question before I scarper for my supper - more information tomorrow if required:
I am using tried and tested code (well, it was using Mozilla::LDAP and has recently been rolled over to Net::LDAP) to add an entry to an LDAP directory
In this case it is an Exchange 5.5 GAL, but the same code is used for a 'real' X.500 directory. I suspect that most of this is irrelevant.
The '$ldap_entry->update' method works fine and my new entry appears in the GAL; there is just one problem. A special character (decimal 167) which is a kind of double 's' in the UTF-8 character set appears to be being stripped out during the LDAP update.
I can see the data in the new LDAP entry before I call the update method, but the data is not making it into the directory, although there is no error code returned.
I was wondering if this was a known feature of Net::LDAP and if I had to do some kind of conversion of the data before I updated the LDAP directory
Any suggestions welcomed; my tea will be even more welcome ;-)
Cheers
LGC
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::LDAP and special characters
by LittleGreyCat (Scribe) on Aug 21, 2008 at 10:38 UTC |