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

Re: openldap 2.0.18 + chinese characters (Big5 or GB)

At 07:05 PM 2001-10-30, KH Lau wrote:
>Is it possible to add entry with Chinese Characters (Big5 or GB) using ldapadd ?

Unless you define a syntaxes which allows such encodings, no.
Values of directoryString syntax in LDAPv3 are restricted to
ISO 10646-1 characters encoded using UTF-8.

>The character followed by the language tag "lang-big5" is a Big5 Chinese Character. 

Language tags indicate language not character set.  lang-cn
would be more appropriate.

>So, how can I put Chinese Characters in ldap directory ? Is there any solution or workaround ?

Use UTF-8.