You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Tomohito Nakayama (JIRA)" <de...@db.apache.org> on 2005/09/29 16:09:50 UTC
[jira] Resolved: (DERBY-525) getAsciiStreamshould replace non-ASCII characters with 0x3f, '?' to match embedded
[ http://issues.apache.org/jira/browse/DERBY-525?page=all ]
Tomohito Nakayama resolved DERBY-525:
-------------------------------------
Fix Version: 10.2.0.0
Resolution: Fixed
> getAsciiStreamshould replace non-ASCII characters with 0x3f, '?' to match embedded
> -----------------------------------------------------------------------------------
>
> Key: DERBY-525
> URL: http://issues.apache.org/jira/browse/DERBY-525
> Project: Derby
> Type: Bug
> Components: Network Client
> Versions: 10.1.2.0, 10.1.1.0, 10.2.0.0
> Reporter: Kathey Marsden
> Assignee: Tomohito Nakayama
> Fix For: 10.2.0.0
> Attachments: DERBY-525.patch, DERBY-525.site.patch, derbyall_report.txt
>
> When calling Clob.getAsciiStream or ResultSet.getAsciiStream if
> the column type is a character type or a CLOB, then any out of
> range character (to the ASCII set) needs to be replaced by 0x3f
> ('?', question mark). ASCII is defined as 8 bit characters,
> thus Unicode Characters in the range 0x0000 to 0x00ff are
> mapped to ASCII characters 0x00 to 0xff, and Unicode characters
> in the range 0x0100 to 0xffff are mapped to 0x3f
> By code inspection:
> client code in
> org.apache.derby.client.am.ResultSet
> embedded in
> org.apache.derby.impl.jdbc.ReaderToAscii
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira