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

Re: ldap V3 and european accent



So is an UTF synthax attribut exists as IA5 exists as caseExactIA5Match !?!

If not I will have to patch perlLdap - php and Java to encode
into UTF-8 ..... (I use octetString to avoid it) !

Fabrice


From: Stig Venaas <Stig@OpenLDAP.org>
To: Fabrice Nouet <f_nouet@hotmail.com>
CC: openldap-software@OpenLDAP.org
Subject: Re: ldap V3 and european accent
Date: Mon, 17 Sep 2001 23:30:15 +0200

On Mon, Sep 17, 2001 at 05:23:19PM +0200, Fabrice Nouet wrote:
> Hello all,
>
> If someone has problem with european accent I tried something
> which seems to function quite well !
>
> When I define attribut which contain european accent I use the definition
> below:
>
> EQUALITY octetStringMatch
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128}


You should use UTF-8 encoding when storing text strings. With UTF-8 ascii
characters are unchanged while accented characters will be rewritten. If
they exist in iso-8859-1 they will be written as two bytes, either as
the accented character or as the composition of the base character and
the accent.

Stig


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp