On 16/6/03 11:50 am, Ziya Suzen <[EMAIL PROTECTED]> wrote: > I had the same problem before and have seen a few posts about > this since. May be it's worth putting it in the FAQ.
Good idea. I've moved the text to under the "what is an attribute" heading, but we can move it if it doesn't make sense. Index: FAQ.pod =================================================================== RCS file: /cvsroot/perl-ldap/ldap/lib/Net/LDAP/FAQ.pod,v retrieving revision 1.30 diff -b -c -b -c -r1.30 FAQ.pod *** FAQ.pod 22 May 2003 12:32:13 -0000 1.30 --- FAQ.pod 16 Jun 2003 14:44:51 -0000 *************** *** 222,227 **** --- 222,240 ---- 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 Cheers, Chris
