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

centos, dompdf, laravel-4, php, utf-8

Solution

please install PHP mbstring and xml extensions on CentOS

Problem

I am using the thujohn/PDF-l4 plugin for my Laravel 4 framework. It works fine in local Windows environment. But when moved to my Centos production environment, the following error throws up for PDF conversion. ``` "iconv(): Wrong charset, conversion from `auto' to `utf-8//IGNORE' is not allowed" ``` Checked my php-mbstring, but couldn't find anything wrong.

Original source