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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)