Tobias wrote:
> I am writing on some import utility in Perl which has to deal with all kind
> of national characters. The national characters are properly displayed on my
> ssh console screen. However, there are other characters send to my ldap
> server, and it can't convert them. So it seems that perldap has a problem
> supporting unicode. I would have to send it via utf8 to my ldap server. Does
> someone found a was for using unicode with perldap?
I can't answer the question if there is a workaround, but I can tell you why
this is... PerLDAP was written quite some time ago, before Perl had Unicode
support. I believe as of Perl 5.6 you get Unicode, but I haven't had any time
to play with it.
If someone has a patch for getting PerLDAP to work with Unicode and UTF8, I'd
be very happy to incorporate it into the source. As it seems now, I'll probably
make one more 1.x release, doing some more fixes etc. Things are just too busy
right now to get any serious work done on 2.0 unfortunately... :(
Which reminds me, if anyone is interested in actively work on PerLDAP v1.x
and/or v2.x, we need more developers. Some source is orphaned already, like the
LDIF module.
Cheers!
-- leif