Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

key value multi-language issue #748

Closed
AlanZheng opened this Issue · 1 comment

3 participants

AlanZheng Jan-Erik Rediger Matt Stancliff
AlanZheng

I run below commands in redis-cli:

A) set mykey "my binary safe value"
B) get mykey, it returns "my binary safe value", that's ok.

A) set mykey "my text safe value"
B)get mykey, it returns "my binary safe valuemy text safe value", that's ok.

A) set mykey "淘宝" (that's the chinese)
B) get mykey, it returns "\xe6\xb7\x98\xe5\xae\x9d".

That should not OK, looks some strings lost, or I used something wrong??

Jan-Erik Rediger

Your second GET command should only return "my text safe value". Each SET replaces the old content. The last GET return looks good to me.

Matt Stancliff mattsta closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.