PDF funny characters

Hi guys, I need help with a system I'm working on. It is supposed to create a pdf document when I click on a button.

It creates and opens the pdf document without any problems when I open in Internet Explorer and all the information shows perfectly on the pdf document.

But when I run the same system and open it Chrome or Edge it creates the pdf document, but all the information that is supposed to show on the pdf document is replaced by funny characters.