存储在 Redis 中的口音不可读 [英] Accents stored in Redis not being readable

查看:30
本文介绍了存储在 Redis 中的口音不可读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Linux 上使用 redis-cli 使用 Redis 2.10,我遇到了有关重音的问题...

Working with Redis 2.10 using redis-cli on Linux, I am faced with a problem regarding accents...

如果我执行命令

设置字符串"à"

=> 我得到\xc3\xa0"

=> I get "\xc3\xa0"

似乎每个转换后的重音都以\xc3"开头

It seems each converted accent begin with "\xc3"

如何找回原来的字符串?

How do I get my original string back?

推荐答案

尝试使用

redis-cli --raw

它为我解决了问题.

这篇关于存储在 Redis 中的口音不可读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆