I'm using a pdf generator class(TCPDF) to generate a pdf file from some html. The problem is that that html text has some utf8 and unicode characters. This class has support for those characters.
I've made the settings and all works just fine on localhost. But when I upload the files to my web host, I get a white page. I use exacty the same code.
If I delete the unicode and utf-8 characters it works. I've copied the script but on the server it is not working. It is there a php setting for handling those characters? Something in php.ini maybe? Thank you
ini_set('display_errors', 1); error_reporting(~0);to the top of your script and look for error messages getting displayed if you you can't find the error log.require_once('lib/tcpdf/tcpdf.php')instead.