Used charset in ldap tree

Dieter Kluenter dieter at dkluenter.de
Tue Jul 19 23:08:15 CEST 2005


"Dieter Kluenter" <dieter at dkluenter.de> writes:

> Hello,
>
> Frank Matthieß <frankm at lug-owl.de> writes:
>
>> Hello,
>>
>> which ist the used charset inside the ldap tree?
>> Is their a fixed standard? UTF-8? ISO-8859-1? ISO-8859-15?
>
> It has to bee UTF-8. (RFC2253)

To extend this, it depends on the attribute's syntax definition. Most
attributes have syntax directory string or IA5 string (which in
principle is ascii), both are in fact UTF-8, on the other side, the
syntax of userPassword is octet string, and you will find a few more
exceptions.   
When it comes to presenting search results to clients, any string, not
being IA5 string, is presented as base64 encoded string and it is up
to the clients to decode this string to proper character sets.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6




More information about the users mailing list