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

请教关于json_encode函数不输出

WBOY
WBOYOriginal
2016-06-23 13:25:34934browse


界面什么都没有


回复讨论(解决方案)

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

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

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

版主,改了编码就行了

我擦 分没给到你那

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