I know that TCPDF supports special characters and multiple languages. I have tried all the provided fonts. I want to generate the PDF in UTF-8. I know that the included font 'freeserif' for sure includes the character in question. "•"
Here is my current constructor call:
$pdf=new MYPDF('P', 'mm', 'Letter', true, 'UTF-8', false);
Here is an example of the character being generated:
$this->Cell(80,6.35,"• $POST[reportTitle]",0,0,'L',true);
I have also tried replacing the character with its html code:
•
$POST[reportTitle]actually$_POST[reportTitle]? I don't know whether it is possible to inject stuff into a PDF (JavaScript?) but if you're taking user input, might be worth ensuring it is untainted before you put it in. - halfer$POST['reportTitle']to avoid warnings, however. - halfer"• {$POST['reportTitle']}"- the issue may be confusion between the outer speech marks and the inner apostrophes - make sure the inner set are apostrophes and not speech marks. - halfer