Home > Backend Development > PHP Tutorial > 为何会出现少量乱码

为何会出现少量乱码

WBOY
Release: 2016-06-13 12:39:50
Original
935 people have browsed it

为什么会出现少量乱码?

本帖最后由 u011263669 于 2013-08-20 19:33:32 编辑 我们公司的网站是个zencart电商网站
网站所有文件格式都是utf-8 无bom编码格式
网站录入数据时都先运行 sql:"set names utf8"
数据库中所有数据表都是 utf8 格式

但某些外国用户在我们网站上注册或者编辑信息,录入数据库时会出现乱码,这种情况出现率5%左右。为什么会出现乱码?怎么解决?
Related labels:
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