-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binary data output #21
Comments
Thanks for reporting this issue. I will investigate later this week and post an update. |
Thanks for looking into it. Let me know if you need more information from me. Thanks for this useful tool. |
Any updates? |
I have been a bit busy lately and haven't looked at this issue. I will post an update as soon as I get a chance to look into it. thanks for the patience! |
Do you have any updates on this? Thanks. |
@venkates, long time but worthwhile to mention, even for future searches. @oranagra this can be closed now having an optional solution. |
Hi, I store binary data as values for my keys. I see multiple bytes are combined into a single unicode character when I use rdb-tools to dump my data in json.
This is what I get when dumping from redis using redis-cli:
redis 127.0.0.1:6381> get "43542948993:Brown Home Improvement"
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01Y\xcc\x9c\x01"
This is what I get from the rdb-tools dump:
[{
"43542948993:Brown Home Improvement":"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001Y\u031c\u0001"}]
The \xcc\x9c is being combined into \u031c. I am guessing the tools is reading the data as utf-8 and converting it to unicode. Is there a way to preserve the bytes?
The text was updated successfully, but these errors were encountered: