Home  >  Article  >  Backend Development  >  乱码!解决思路

乱码!解决思路

WBOY
WBOYOriginal
2016-06-13 11:43:47857browse

乱码!!!
先说一下我的环境。

我的mysql用的是GBK编码。
我的php.ini里面也是默认使用GBK  我的httpd.conf文件里也是默认使用GBK

我的页面声明也是GBK,我的源码保存也是GBK。我不知道为什么我这么统一了编码,还会出现一个地方的乱码。








页面声明和保存格式都是GBK  我就不发图了。

然后呢我这个功能是做一个快速搜索客户。因为查询不到。我特意打印了一下这条语句。结果发现最后是乱码。请问是什么问题?



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