Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 12418 invoked from network); 30 Dec 2006 12:19:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Dec 2006 12:19:52 -0000 Received: (qmail 48832 invoked by uid 500); 30 Dec 2006 12:19:59 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 48801 invoked by uid 500); 30 Dec 2006 12:19:58 -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 48790 invoked by uid 99); 30 Dec 2006 12:19:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Dec 2006 04:19:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [88.198.17.232] (HELO easy2.in-chemnitz.de) (88.198.17.232) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Dec 2006 04:19:46 -0800 Received: from localhost (localhost [127.0.0.1]) by easy2.in-chemnitz.de (Postfix) with ESMTP id 28D7EB1FDC for ; Sat, 30 Dec 2006 13:19:24 +0100 (CET) Received: from easy2.in-chemnitz.de ([127.0.0.1]) by localhost (easy.in-chemnitz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N-BFhZwtjxgs for ; Sat, 30 Dec 2006 13:19:24 +0100 (CET) Received: by easy2.in-chemnitz.de (Postfix, from userid 1013) id 17C4BB1FD3; Sat, 30 Dec 2006 13:19:24 +0100 (CET) Date: Sat, 30 Dec 2006 13:19:24 +0100 From: Tino Schwarze To: dev@directory.apache.org Subject: Re: UTF-8 woes Message-ID: <20061230121924.GG28317@easy2.in-chemnitz.de> References: <20061229162752.GA28317@easy2.in-chemnitz.de> <45956E63.30201@gmail.com> <20061229204230.GF28317@easy2.in-chemnitz.de> <45959894.2000806@gmail.com> <4595AF00.1070608@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4595AF00.1070608@gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Checked: Checked by ClamAV on apache.org Hi Emmanuel, On Sat, Dec 30, 2006 at 01:12:48AM +0100, Emmanuel Lecharny wrote: > >Ok, I get it now. First, apologize to have so badly name this method > >... toString() is such a pathetic name when it does not give you back > >what you are expecting... Just try this : > > > >System.out.println ( _dnTest.getUpName() ); > > > >you will have your expected result. The toString() method is supposed > >(well, whip me, it's terribly bad), to return a String for debug > >usage. The worst thing is that this method is _never_ used anywhere in > >the server, except in unit tests ;( > > I can' believe as was _so wrong_ !!! This method is just used aroung 900 > times in the server. Modifying it would break it completly, and would > take days to fix it back... Thank your for your evaluation. BTW: Are you sure that LdapDN.toString() is called (I've got no dev setup here at home, can't check) - e.g. Eclipse shows all calls to Object.toString() if you're displaying the Callers of LdapDN.toString(). > In the meantime, ust use getUpName(). I'll try that and see what I get (next year). > Again, sorry. As a defense, I will argue that LdapDN is _not_ intended > to be used from the outside of the server (yes, I know, this is a > pathetic excuse :-/ ) I'm not outside the server, I'm inside. ;-) Bye, Tino. -- www.quantenfeuerwerk.de www.spiritualdesign-chemnitz.de www.lebensraum11.de