I have problem with generating pdf to browser. Strange symbols is being shown instead of pdf, I think it's because of encoding. Similar problem was asked here https://stackoverflow.com/questions/34577469/yii2-pdf-generation-not-working, but in my case neiter MODE_BLANK nor MODE_UTF8 is working. But if I change 'destination' => Pdf::DEST_BROWSER to'destination' => Pdf::DEST_FILE, the file is being created correctly.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have problem with generating pdf to browser. Strange symbols is being shown instead of pdf, I think it's because of encoding. Similar problem was asked here https://stackoverflow.com/questions/34577469/yii2-pdf-generation-not-working, but in my case neiter MODE_BLANK nor MODE_UTF8 is working. But if I change
'destination' => Pdf::DEST_BROWSER
to'destination' => Pdf::DEST_FILE
, the file is being created correctly.