Home > Backend Development > PHP Tutorial > 请教关于json_encode函数不输出

请教关于json_encode函数不输出

WBOY
Release: 2016-06-23 13:25:34
Original
954 people have browsed it


界面什么都没有


回复讨论(解决方案)

json_encode 函数只用于 utf-8 字符集
你做到了吗?

header("Content-Type:text/html;charset=utf-8");
是这个么,加了还是没输出

是你的程序文件要按 utf-8 保存

版主,改了编码就行了

我擦 分没给到你那

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