Home  >  Article  >  Backend Development  >  问一个redis方面的问题

问一个redis方面的问题

WBOY
WBOYOriginal
2016-06-06 20:16:08789browse

将数据库中的数据放入redis中,然后再读取的时候发现中文无法显示

回复内容:

将数据库中的数据放入redis中,然后再读取的时候发现中文无法显示

去看一下字符编码,redis存储应该是unicode。如果在终端里显示,需要处理一下。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn