Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 79070 invoked from network); 30 Aug 2005 17:01:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2005 17:01:32 -0000 Received: (qmail 41062 invoked by uid 500); 30 Aug 2005 17:01:30 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 41018 invoked by uid 500); 30 Aug 2005 17:01:30 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 41005 invoked by uid 99); 30 Aug 2005 17:01:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 10:01:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of elecharny@gmail.com designates 64.233.170.196 as permitted sender) Received: from [64.233.170.196] (HELO rproxy.gmail.com) (64.233.170.196) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 10:01:44 -0700 Received: by rproxy.gmail.com with SMTP id r35so1237316rna for ; Tue, 30 Aug 2005 10:01:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=CojYXDbMsEioMVez+SyWECEN+I7vGACOQLUDvwHZ05aXWLQewrgqvKB0NX54rbCVUhNk7mHVqsOyUfDrWJ6ufRx3uxCUDW4q1QFJMXrVu8Ir6gsBhdkAfT1g2eXEdwUBNfrNtTgYGqiyG3RqJSV13mVR6tkgrKBiK8RQZDdQQ1U= Received: by 10.38.86.10 with SMTP id j10mr6070rnb; Tue, 30 Aug 2005 10:01:24 -0700 (PDT) Received: from ?10.10.10.67? ( [80.11.159.38]) by mx.gmail.com with ESMTP id f3sm10110174rne.2005.08.30.10.01.23; Tue, 30 Aug 2005 10:01:24 -0700 (PDT) Subject: Re: LDAP protocol implementation and data containing accents From: Emmanuel Lecharny To: Apache Directory Developers List In-Reply-To: <32609e770508300911404e04d6@mail.gmail.com> References: <32609e770508300911404e04d6@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 30 Aug 2005 19:01:25 +0200 Message-Id: <1125421285.7948.28.camel@portable> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > 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écharny ;)