db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: How to use Unicode with derby ? does it supports unicode text ?
Date Tue, 08 Nov 2005 09:18:12 GMT
Lars Clausen wrote:

> On Mon, 2005-11-07 at 14:21, Knut Anders Hatlen wrote:

> We had an issue recently where we stored into a CLOB using
> setCharacterStream but read from it using getAsciiStream, and that did
> break the non-ASCII characters (no big surprise). 

Well, yes for getAsciiStream, though I would not say it breaks anything,
but by design it does convert unicode characters outside the range
0x00-0x00 to 0x3f, the question mark character (?). :-)

See
http://db.apache.org/derby/papers/JDBCImplementation.html#GetAsciiStream%28%29

Dan.


Mime
View raw message