Kurt D. Zeilenga wrote: >At 04:27 AM 8/11/2003, Dan Oscarsson wrote: >>All attributes in LDAPv3 uses UTF-8 encoding. > >I like to point out that this statement is not true. >Encoding of attribute values depends on its syntax, >sometimes dependent on transfer options. Some textual >string are not UTF-8 encoded Unicode (in real world >directories).
You are right, I was thinking only of the attributes representing text values. Not any binary values. Is there a text attribute that is not UTF-8 encoded? If so, what character encoding does it use? > >Also, the API has generally no clue as to the syntax of >values transferred... making transcoding at the API level >quite problematic. Right, so you have to tell the API what to transcode. That is what I have in my additions to perl-ldap. Dan