From: Chris R. <chr...@us...> - 2003-06-16 14:45:54
|
Update of /cvsroot/perl-ldap/ldap/lib/Net/LDAP In directory sc8-pr-cvs1:/tmp/cvs-serv31474 Modified Files: FAQ.pod Log Message: Added a bit about accented characters Index: FAQ.pod =================================================================== RCS file: /cvsroot/perl-ldap/ldap/lib/Net/LDAP/FAQ.pod,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- FAQ.pod 22 May 2003 12:32:13 -0000 1.30 +++ FAQ.pod 16 Jun 2003 14:45:50 -0000 1.31 @@ -222,6 +222,19 @@ is not permitted by the directory, because jpegPhotos may only contain JPEG-formatted images. +Most syntaxes used in LDAP however describe text strings rather than +binary objects (like JPEGs or certificates.) + +In LDAPv3 most of these syntaxes support Unicode encoded using +UTF-8. Because the Net::LDAP modules do not change the strings that +you pass in as attribute values (they get sent to the LDAP server +as-is) to use accented characters you simply need to encode your +strings in UTF-8. There are modules on CPAN that will help you here. + +Note that LDAPv2 servers used something called T.61 instead of Unicode +and UTF-8. Most servers do not implement T.61 correctly, and it is +recommended that you use LDAPv3 instead. + Attributes may also be searched. The algorithms used to perform different kinds of searches are described by the attribute's 'matching rules'. Some matching rules are case-sensitive and some are |