解决PHP函数imagettftext生成二维码中文乱码问题 $str1 = \'我是\'; imagettftext($target, 20, 0, 150, 70, $bc, $font, $this->to_entities($str1)); imagettftext($target, 20, 0, 210, 70, $cc, $font, $this->to_entities($userinfo)); pu PHP mikel 2016-02-23 66 热度 0评论