You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2015/11/05 14:48:27 UTC

[jira] [Created] (IGNITE-1862) CPP: Fix string handling

Vladimir Ozerov created IGNITE-1862:
---------------------------------------

             Summary: CPP: Fix string handling
                 Key: IGNITE-1862
                 URL: https://issues.apache.org/jira/browse/IGNITE-1862
             Project: Ignite
          Issue Type: Task
          Components: interop
    Affects Versions: ignite-1.4
            Reporter: Vladimir Ozerov
            Priority: Critical
             Fix For: 1.5


Currently we write strings using 2 bytes for each simbol. This way we are trying to mimic UTF16, which is natural for Java. 

Instead of doing this weird things, we should:
1) Tell user that we expect UTF8 string.
2) Write strings as plain char*.

Once it is done, we will be able to remove "convertStrings" property from PortableMarshaller.



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