Home > Backend Development > PHP Tutorial > php GD图像处理 中文乱码的问题

php GD图像处理 中文乱码的问题

WBOY
Release: 2016-06-23 13:43:41
Original
934 people have browsed it

网上好多用iconv("gb2312","utf-8","中文字符");处理的贴子,试了下,都不能用,只有这个能用:

$a=mb_convert_encoding("思想感情有","html-entities","utf-8");

保存下。


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