上传文件的中文乱码有关问题

WBOY
Release: 2016-06-13 11:31:32
Original
1090 people have browsed it

上传文件的中文乱码问题
所有字符集都设置的是utf8,但上传文件后在文件目录下发现中文文件名乱码,然后就在上传前把文件名转为了GB2312码,这时候文件名可以显示中文了,但是数据库存放路径的时候不能插入了,我就把那张表改成了GB2312的字符集,按理说这样就可以了吧,还是插入不了?怎么办

文件上传 乱码
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