pdf-l4
pdf-l4 copied to clipboard
error: iconv(): Wrong charset, conversion from `auto' to `utf-8//IGNORE' is not allowed
I got this error
iconv(): Wrong charset, conversion from auto' to
utf-8//IGNORE' is not allowed
Route::get('generate', function()
{
$pdf = App::make('dompdf');
$pdf->loadHTML('<h1>Test</h1>');
return $pdf->stream();
});
@montes2012 I had the same issue and installing the php mbstring extension fixed it.
Hope that help!