Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 11721 invoked from network); 24 May 2007 22:43:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 May 2007 22:43:34 -0000 Received: (qmail 48064 invoked by uid 500); 24 May 2007 22:43:39 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 48051 invoked by uid 500); 24 May 2007 22:43:39 -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 48042 invoked by uid 99); 24 May 2007 22:43:39 -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 15:43:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of adam@clownsinmycoffee.net designates 69.89.21.28 as permitted sender) Received: from [69.89.21.28] (HELO outbound-mail-68.bluehost.com) (69.89.21.28) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 May 2007 15:43:32 -0700 Received: (qmail 1387 invoked by uid 0); 24 May 2007 22:43:11 -0000 Received: from unknown (HELO box142.bluehost.com) (69.89.22.142) by mailproxy4.bluehost.com with SMTP; 24 May 2007 22:43:11 -0000 Received: from h-68-166-19-193.atlngahp.dynamic.covad.net ([68.166.19.193] helo=maccers.local) by box142.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HrM1W-0000LD-Jz for abdera-dev@incubator.apache.org; Thu, 24 May 2007 16:43:10 -0600 Message-ID: <465614FB.9060302@clownsinmycoffee.net> Date: Thu, 24 May 2007 18:43:07 -0400 From: Adam Constabaris User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: abdera-dev@incubator.apache.org Subject: Re: Codec/UtilityTest issue? References: <46550090.6040507@clownsinmycoffee.net> <4655BB6E.10809@gmail.com> <4655D407.7020306@clownsinmycoffee.net> In-Reply-To: <4655D407.7020306@clownsinmycoffee.net> Content-Type: multipart/mixed; boundary="------------080602040509070303090007" X-Identified-User: {702:box142.bluehost.com:clownsin:clownsinmycoffee.net} {sentby:smtp auth 68.166.19.193 authed with adam@clownsinmycoffee.net} X-Virus-Checked: Checked by ClamAV on apache.org --------------080602040509070303090007 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Exchanging a literal é for \u0059 allows the tests to pass. Patch attached. cheers, AC .Adam Constabaris wrote: > 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 >> > > 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. > --------------080602040509070303090007 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="UtilityTest.patch" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="UtilityTest.patch" SW5kZXg6IHNlcnZlci9zcmMvdGVzdC9qYXZhL29yZy9hcGFjaGUvYWJkZXJhL3Rlc3Qvc2Vy dmVyL1V0aWxpdHlUZXN0LmphdmEKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc2VydmVyL3NyYy90ZXN0 L2phdmEvb3JnL2FwYWNoZS9hYmRlcmEvdGVzdC9zZXJ2ZXIvVXRpbGl0eVRlc3QuamF2YQko cmV2aXNpb24gNTQxMTM5KQorKysgc2VydmVyL3NyYy90ZXN0L2phdmEvb3JnL2FwYWNoZS9h YmRlcmEvdGVzdC9zZXJ2ZXIvVXRpbGl0eVRlc3QuamF2YQkod29ya2luZyBjb3B5KQpAQCAt NDAsNyArNDAsNyBAQAogcHVibGljIGNsYXNzIFV0aWxpdHlUZXN0IGV4dGVuZHMgVGVzdENh c2UgewogCiAgIHB1YmxpYyBzdGF0aWMgdm9pZCB0ZXN0RW5jb2RpbmcoKSB0aHJvd3MgRXhj ZXB0aW9uIHsKLSAgICBTdHJpbmcgdCA9ICJ0w6lzdCI7CisgICAgU3RyaW5nIHQgPSAidFx1 MDBlOXN0IjsKICAgICBTdHJpbmcgdGIxID0gRW5jb2RpbmdVdGlsLmVuY29kZSh0KTsKICAg ICBTdHJpbmcgdGIyID0gRW5jb2RpbmdVdGlsLmVuY29kZSh0LCAiVVRGLTgiKTsKICAgICBT dHJpbmcgdGIzID0gRW5jb2RpbmdVdGlsLmVuY29kZSh0LCAiVVRGLTgiLCBFbmNvZGluZ1V0 aWwuQ29kZWMuQik7Cg== --------------080602040509070303090007--