You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2016/05/16 08:37:14 UTC

[jira] [Created] (IGNITE-3139) .Net: UTF-16 surrogate symbols are not serialized properly

Denis Magda created IGNITE-3139:
-----------------------------------

             Summary: .Net: UTF-16 surrogate symbols are not serialized properly
                 Key: IGNITE-3139
                 URL: https://issues.apache.org/jira/browse/IGNITE-3139
             Project: Ignite
          Issue Type: Bug
            Reporter: Denis Magda
            Assignee: Pavel Tupitsyn


There is an issue with serialization of a surrogate symbol with {{BinaryMarshaller}}. On Java side String's serialization logic was improved to support all the cases. Refer to IGNITE-3098.

.Net serialization logic has to be updated as well. Please refer to the algorithm located in ignite-3098 branch in the following places:
- {{BinaryUtils.utf8BytesToStr}} - serialization
- {{BinaryUtils.strToUtf8Bytes}} - deserialization
- {{IgniteSystemProperties.IGNITE_BINARY_MARSHALLER_USE_STRING_SERIALIZATION_VER_2}} controls which version of serialization logic to use (old or new).





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)