[
https://issues.apache.org/jira/browse/DERBY-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12917673#action_12917673
]
Tiago R. Espinha commented on DERBY-4757:
-----------------------------------------
Great! I've done some additional mixed client/server testing and here are the
results. From what I can see, no regressions are introduced with older clients
or servers as the support for Latin characters was actually broken. We can now
use older clients on the 10.7 server and while this connection will use EBCDIC
(older clients won't have UTF-8 support), it will now support the extra-ASCII
characters featured in EBCDIC.
I will leave it until 22:00 BST and unless someone objects until then, I will
commit this patch.
Results of testing:
10.3.3 client - 10.7 server
<= 255 chars (incl. Latin) - pass
- would fail before with >3 Latin chars
>= 256 chars (incl. Latin) - fail
###
10.5.3 client - 10.7 server
<= 255 chars (incl. Latin) - pass
- would fail before with >3 Latin chars
>= 256 chars (incl. Latin) - fail
###
10.7 client - 10.7 server
>= 122 chars (Latin only) - fail
<= 121 chars (Latin only) - pass
Reason: -> each char = 2 bytes, 122 * 2 = 244 + 12 single-byted chars
(;create=true)
== 256 bytes == 1 byte too many
-> older clients don't experience this as everything is EBCDIC (1
byte/char)
###
10.7 client - 10.3.3 server
> 3 Latin only chars (mixed or not with ASCII) - fail
- Used to fail before
> 255 ASCII only chars (incl. ;create=true) - fail
<= 255 ASCII only chars (incl. ;create=true) - pass
10.7 client - 10.5.3 server
- Same behaviour as 10.3.3 server
> (Client) Implement UTF8 support on DRDA
> ---------------------------------------
>
> Key: DERBY-4757
> URL: https://issues.apache.org/jira/browse/DERBY-4757
> Project: Derby
> Issue Type: Sub-task
> Components: Network Client
> Affects Versions: 10.7.0.0
> Reporter: Tiago R. Espinha
> Assignee: Tiago R. Espinha
> Attachments: DERBY-4757_donotcommit.diff, DERBY-4757_p1.diff,
> DERBY-4757_p2.diff, DERBY-4757_p3.diff, DERBY-4757_p3.diff,
> DERBY-4757_p3.diff, DERBY-4757_p3.diff
>
>
> This issue is DERBY-4746's counterpart for the client changes required to
> implement UTF8 support in DRDA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.