From derby-dev-return-8615-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Thu Sep 22 14:21:39 2005 Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 5829 invoked from network); 22 Sep 2005 14:21:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Sep 2005 14:21:38 -0000 Received: (qmail 29713 invoked by uid 500); 22 Sep 2005 14:21:03 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 27586 invoked by uid 500); 22 Sep 2005 14:20:49 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 27044 invoked by uid 99); 22 Sep 2005 14:20:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2005 07:20:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.42.13] (HELO nwkea-mail-1.sun.com) (192.18.42.13) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2005 06:54:17 -0700 Received: from phys-epost-1 ([129.159.136.14]) by nwkea-mail-1.sun.com (8.12.10/8.12.9) with ESMTP id j8MDrl2B026063 for ; Thu, 22 Sep 2005 06:53:47 -0700 (PDT) Received: from conversion-daemon.epost-mail1.sweden.sun.com by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0IN8008010QO11@epost-mail1.sweden.sun.com> (original mail from Bernt.Johnsen@Sun.COM) for derby-dev@db.apache.org; Thu, 22 Sep 2005 15:53:46 +0200 (MEST) Received: from localhost (vpn-129-159-115-205.Norway.Sun.COM [129.159.115.205]) by epost-mail1.sweden.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0IN8000I219MQO@epost-mail1.sweden.sun.com> for derby-dev@db.apache.org; Thu, 22 Sep 2005 15:53:46 +0200 (MEST) Date: Thu, 22 Sep 2005 15:55:49 +0200 From: "Bernt M. Johnsen" Subject: Re: [jira] Commented: (DERBY-525) getAsciiStreamshould replace non-ASCII characters with 0x3f, '?' to match embedded In-reply-to: <369518939.1127394629117.JavaMail.jira@ajax.apache.org> To: "Daniel John Debrunner (JIRA)" Message-id: <20050922135549.GA5235@barbar.sun.com> Organization: Sun Microsystems MIME-version: 1.0 Content-type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary=17pEHd4RhPHOinZp Content-disposition: inline User-Agent: Mutt/1.5.9i References: <1916536585.1124491794441.JavaMail.jira@ajax.apache.org> <369518939.1127394629117.JavaMail.jira@ajax.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >>>>>>>>>>>> Daniel John Debrunner (JIRA) wrote (2005-09-22 15:10:29): > [ http://issues.apache.org/jira/browse/DERBY-525?page=3Dcomments#acti= on_12330193 ]=20 >=20 > Daniel John Debrunner commented on DERBY-525: > --------------------------------------------- >=20 > See this link for the justifications on why getAsciiStream() uses 8 bits = and not 7. >=20 > http://db.apache.org/derby/papers/JDBCImplementation.html#GetAsciiStream%= 28%29 >=20 > Basically, it's based upon definitions from the JDBC spec. Ok. But if you map Unicode characters in the range 0x0000-0x00ff to 1-byte values without some translation, you get ISO-8859-1 characters, not ASCII characters (which only covers the values 0x00-0x7f). I guess it's user-friendly, but then the userdoc should explicitely explain what is done in a way that is understandable to people who happen know what exactly what the different standards define (Europeans and Asians tend to be somewhat better educated in this than people from the US.... for obvious reasons). --=20 Bernt Marius Johnsen, Database Technology Group,=20 Sun Microsystems, Trondheim, Norway --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFDMrfllFBD9TXBAPARAhAZAJ4ual5S/ksv41wLSP8CCTvQZf7RQgCgk8fZ CCkKzJHg+j4YoJGRe56bTfk= =hgWF -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--