[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: chinese support in openldap



Hi Dieter,

 What do you mean "set the appropriate Syntax"? Do you say I can change the
attribute definition so that the ldapserver can accept GB code? By the way,
if OpenLdap expects UTF-8, isn't that my client app has to convert between
GB and UTF-8 code? Is there anything to do as listed in RFC2596?

Sorry for so many questions. :)

- Joe

----- Original Message ----- 
From: "Dieter Kluenter" <dieter@dkluenter.de>
To: <openldap-software@OpenLDAP.org>
Sent: Friday, July 18, 2003 2:23 PM
Subject: Re: chinese support in openldap


> "Joe Wong" <joewong@tkodog.no-ip.com> writes:
>
> > Hi,
> >
> >
> >
> > I want to add an entry with Chinese ( GB ) in the firstname, sn and cn
> > attributes. However, openldap refuse to add it saying "invalid per
syntax". I
> > think it is because I have defined firstname as IA5String? If so, how
can I
> > resolve this? when I used the old version of ldapserv ( ldap v2 based ),
the
> > attributes are automatically base64 encoded by the server. Is this
feature
> > available in OpenLdap 2.x?
>
> OpenLDAP uses UTF-8 characters only. IA5String is a 1 byte subset of
> UTF-8. As GB is a set of multibyte characters you should set the
> appropriate Syntax.
>
> -Dieter
>
> -- 
> Dieter Kluenter  | Systemberatung
> Tel:040.64861967 | Fax: 040.64891521
> mailto: dkluenter(at)dkluenter.de
> http://www.avci.de
>
>