php5项目迁移到php7.3后imagefttext字不正确或者报错
imagefttext(): any2eucjp(): invalid code in input string
转下字符串
$str=mb_convert_encoding($str, "html-entities", "utf-8");;
最后输出效果
完美
php5项目迁移到php7.3后imagefttext字不正确或者报错
转下字符串
$str=mb_convert_encoding($str, "html-entities", "utf-8");;
最后输出效果
完美