From: Chris R. <chr...@me...> - 2002-04-11 12:31:17
|
Graham Barr <gb...@po...> wrote: > ----- Forwarded message from jan...@ct... ----- > > Date: Thu, 11 Apr 2002 08:42:05 +0200 > To: gb...@po... > From: jan...@ct... > Subject: character encoding in LDAP > > Hello, > I have one question for you. Is it possible to store attribute values to > LDAP Directory in T.64 encoding (characters with diacritic)? I have tried > it but with your ldap mudules stored them to ldap server not correctly. > Where is a problem? > > Jack T. You mean T.61. The Net::LDAP modules do not do anything smart with the strings you pass in as attribute values - they get sent to the LDAP server as-is. However you may find your LDAP server does not support the T.61 character set, and instead it will use ISO 8859-1. Such an LDAP server is non-compliant with RFC 1778. I would advise using LDAPv3 instead, as there is much better support for UTF-8 in LDAPv3 servers. Cheers, Chris |