key value multi-language issue #748

Closed
AlanZheng opened this Issue Nov 3, 2012 · 1 comment

Comments

Projects
None yet
3 participants

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??

Collaborator

badboy commented Nov 3, 2012

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.

mattsta closed this Aug 1, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment