|
- Warning: imagettftext() [function.imagettftext]: any2eucjp(): invalid code in input string in /home/ftp/1520/592120-20130423-mfN/www.####.com/a_include/func/Funcs.inc.php on line 30
复制代码
上面是错误提示信息 ,并且 汉字生成图片乱码。
网上有人说
- 1.编译php级:
- 就是在编译的时候多了这个选项。
- --enable-gd-jis-conv
- 去掉以后就可以了,好像是个bug,不过还好暂时解决了。也能用了。
- 贴上官方的解释:
- There is no fallback ot UTF-8. It accepts UTF-8 by default. The problem
- about JIS is when you pass a non UTF-8 string, it can be seen as JIS
- enconded string.
- About the mbstring issues, I have no idea how it works and how it
- affects the input parameters. It is something happening before we got
- the hand in the gd function.
- Please try using:
- - Without mbstring, with jis enabled
- - Without mbstring, without jis
复制代码 我用自己的路搭建的环境,请问现在要怎么办呢? |
|