Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sreejithvivk's avatar

Issues in DOMPDF Generation

I am trying to render a page in malayalam and need to generate the PDF in malayalam. But the generated pdf contains only '?' characters...

Added below code in the HTML template file.

and the function to generate pdf contains below section.

$data = array( 'total_disbursed_amount' => $sanctioned_amount, 'beneficiary_count' => $total_recs, 'disbursed_by' => Auth::user()->name, );

    view()->share('data', $data);
    $action =  PDF::loadView('htmltopdfview')->save(public_path(). "/uploads/disbursements/".$filename);

Request to provide a solution that will fix the issue.

Thanks, Sreejith

0 likes
0 replies

Please or to participate in this conversation.