PHP搜索乱码

WBOY
Release: 2016-06-06 20:49:57
Original
889 people have browsed it

PHP搜索乱码

PHP搜索程序,最近看到不少乱码关键词,可能是拉丁文,怎么解决?

回复内容:

PHP搜索乱码

PHP搜索程序,最近看到不少乱码关键词,可能是拉丁文,怎么解决?

程序,数据库,页面的编码一致吗?

试试看使用 UTF-8 编码 ..?

如果我没有拆错的话 你估计是用PHP进行页面爬取吧 如果你的工程设置的“UTF-8”编码 可使用 mb_convert_encoding 转码 

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!