Home  >  Article  >  Backend Development  >  php绘制中文的乱码有关问题

php绘制中文的乱码有关问题

WBOY
WBOYOriginal
2016-06-13 10:38:16714browse

php绘制中文的乱码问题

PHP code



  "一二三"无法显示,只有几个方框,怎样解决乱码问题?先谢谢!!!

------解决方案--------------------
imagettftext($img,20,-60,60,150,$darknavy,"simhei.ttf", iconv('gbk', 'utf-8', "一二三") );
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
Previous article:关于php.exe的有关问题Next article:VC 建立php扩张