Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 450
winnyboy5 Avatar asked Jul 04 '14 12:07

winnyboy5


1 Answers

please install PHP mbstring and xml extensions on CentOS

like image 64
Supriya Gopalakrishnan Avatar answered Nov 14 '22 08:11

Supriya Gopalakrishnan