Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 48589 invoked from network); 24 May 2007 18:06:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 May 2007 18:06:26 -0000 Received: (qmail 81142 invoked by uid 500); 24 May 2007 18:06:31 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 81125 invoked by uid 500); 24 May 2007 18:06:31 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 81116 invoked by uid 99); 24 May 2007 18:06:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2007 11:06:31 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 152.2.1.139 is neither permitted nor denied by domain of adam@clownsinmycoffee.net) Received: from [152.2.1.139] (HELO smtp.unc.edu) (152.2.1.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 May 2007 11:06:25 -0700 Received: from [152.2.190.32] (batmanuel.its.unc.edu [152.2.190.32]) (authenticated bits=0) by smtp.unc.edu (8.13.4/8.13.4) with ESMTP id l4OI60L2021594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 24 May 2007 14:06:00 -0400 (EDT) Message-ID: <4655D407.7020306@clownsinmycoffee.net> Date: Thu, 24 May 2007 14:05:59 -0400 From: Adam Constabaris User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: abdera-dev@incubator.apache.org Subject: Re: Codec/UtilityTest issue? References: <46550090.6040507@clownsinmycoffee.net> <4655BB6E.10809@gmail.com> In-Reply-To: <4655BB6E.10809@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: ITS Messaging Systems (outgoing) on 152.2.1.139 X-Virus-Checked: Checked by ClamAV on apache.org James M Snell wrote: > Yeah, the challenge I have with this is that it makes the test > circular... testing the output of a function against the output of the > same function. We need to understand why the test is failing on the Mac > and figure out if it's something we need to fix. > > - James > Yeah, the only thing that's still being actually tested in my diff are that the default encoding is what it's supposed to be. I can see arguing that beyond that, the tests are superfluous in that it's commons codec's responsibility to generate correct output; that said, what you want is proper encoding handling, so the way the tests are actually structured is preferable. At any rate, if the encoding is crucial and it's not working on a popular(?) platform, that's probably worth knowing. IMO, the three most likely causes are a file encoding problem, an Apple JVM bug, a commons codec bug, or some kind of interaction between the latter. Since I'm unfamiliar with the other stuff, though, I'm not sure where I'd start, so I've been looking at the file encoding angle. Both OSes think their respective copies are encoded as UTF-8; I tried iconv to iso-8859-1, and for fun, to utf-8, with the same results. One thing I didn't try yet was replacing the é in the test string with \u00e9, which should answer that question. I'll try that when I can get some time later. If none of that pans out, I'll start exploring the JVM angle. On another topic: is the current plan to have a 0.30 release soon after the APP draft is submitted to the IESG? AC