iconv():错误的字符集,从'auto'转换到`utf-8 // IGNORE'不被允许

时间:2014-07-04 12:41:50

标签: php utf-8 laravel-4 centos dompdf

我正在为我的Laravel 4框架使用 thujohn / PDF-l4 插件。它在本地Windows环境中工作正常。但是当移动到我的Centos生产环境时,PDF转换会引发以下错误。

"iconv(): Wrong charset, conversion from `auto' to `utf-8//IGNORE' is not allowed"

检查了我的php-mbstring,但是找不到任何错误。

1 个答案:

答案 0 :(得分:6)

请在CentOS上安装PHP mbstring和xml扩展