directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: LDAP protocol implementation and data containing accents
Date Tue, 30 Aug 2005 17:01:25 GMT
> Also, accents in a filter are incorrectly received (decoded ?) in
> SearchHandler, for example the filter (sn=*é*) is retrieved as
> (sn=*Ã(c)*).

Are you using UTF-8 to encode your string? Data are stored in UTF-8
format in Ldap.

> A wild guess would be some kind of coding / decoding problem (charset
> related ?). I believe that if I get it in my own SearchHandler
> implementation, the one provided with ApacheDS should also get it.
> That may be a problem for people dealing with data having accents
> (like my firstname).
> Are my assumptions correct ?

Hmmmm. Just try using new String("Jérôme", "UTF-8");

Emmanuel L&eacute;charny ;)

View raw message