I have content entered by an user which will be inserted into a pdf created by PDFlib.
Some user now have entered some text which seems to have combining diaeresis.
These are displayed in the pdf as a
(with space after) instead of ä
. When I convert this UTF-8 text in an editor to ANSI i got a¨
. In the database and on the website this characters are displayed correctly as ä
.
Do I miss some Configuration for the textflow option list? Or do I have to convert this string? How can I convert this string correctly?
My Code to display these is as followed:
$itemOptlist = "charref encoding=unicode fontname=Helvetica fontsize=12 leading=120% alignment=justify leftindent=20";
$tf = $p->add_textflow($tf, '...Arbeitsabläufe...' /* This Text comes from the database */, $itemOptlist);