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

问一个redis方面的问题

WBOY
Release: 2016-06-06 20:16:08
Original
830 people have browsed it

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

回复内容:

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

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

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template