db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen" <Bernt.John...@Sun.COM>
Subject Re: [jira] Commented: (DERBY-525) getAsciiStreamshould replace non-ASCII characters with 0x3f, '?' to match embedded
Date Thu, 22 Sep 2005 13:55:49 GMT
>>>>>>>>>>>> Daniel John Debrunner (JIRA) wrote (2005-09-22
>     [ http://issues.apache.org/jira/browse/DERBY-525?page=comments#action_12330193 ]

> Daniel John Debrunner commented on DERBY-525:
> ---------------------------------------------
> See this link for the justifications on why getAsciiStream() uses 8 bits and not 7.
> http://db.apache.org/derby/papers/JDBCImplementation.html#GetAsciiStream%28%29
> 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).

Bernt Marius Johnsen, Database Technology Group, 
Sun Microsystems, Trondheim, Norway

View raw message