Hi,

I kind of able to reproduce it with a small python script

import pylibmc

client = pylibmc.Client (["127.0.0.1:11211"], binary=True)


##abc
val = "abcd".decode("hex")
client.set("pyBin1", val)

print "val decode w/ iso-8859-1: %s" % val.encode("hex")

get_val = client.get("pyBin1")

print "Value for 'pyBin1': %s" % get_val.encode("hex")


where the the program intends to insert a byte[] into ignite using memcache
binary protocol.
The output is

val decode w/ iso-8859-1: abcd
Value for 'pyBin1': *efbfbdefbfbd*

where, 'ef bf bd' are the replacement character for UTF-8 String.
Therefore, the value field seems to be treated as String in Ignite.

Regards,

Michael



On Thu, Oct 4, 2018 at 9:38 PM Maxim.Pudov <[email protected]> wrote:

> Hi, it looks strange to me. Do you have a reproducer?
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to